---
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:    378
      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:    28
      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:    118
      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:    245
      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: 467
      functionLinenumberEnd: 472
      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:         52
      ICount:          542
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - 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:    126
      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:         52
      ICount:          541
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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:    7
      BranchProfiles:  []
      Callsites:       []
    - 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:    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:    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:    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:    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:    138
      BranchProfiles:  []
      Callsites:       []
    - 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:    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:    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_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:    21
      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_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_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:    54
      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:    46
      BranchProfiles:  []
      Callsites:       []
    - 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_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:    1
      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_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:    1
      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:    0
      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: 467
      functionLinenumberEnd: 472
      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:    125
      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:    174
      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:         52
      ICount:          542
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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: 2742
      functionLinenumberEnd: 2748
      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:2745,9'
          Dst:             ed_swap_8p
        - Src:             'hts.c:2746,9'
          Dst:             ed_swap_8p
    - functionName:    ed_swap_8p
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1598
      functionLinenumberEnd: 1600
      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:1599,21'
          Dst:             ed_swap_8
    - functionName:    ed_swap_8
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1592
      functionLinenumberEnd: 1595
      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: 2928
      functionLinenumberEnd: 2990
      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:2930,13'
          Dst:             ed_is_big
        - Src:             'hts.c:2938,28'
          Dst:             kh_init_bin
        - Src:             'hts.c:2939,13'
          Dst:             bgzf_read
        - Src:             'hts.c:2940,20'
          Dst:             ed_swap_4p
        - Src:             'hts.c:2944,17'
          Dst:             bgzf_read
        - Src:             'hts.c:2945,24'
          Dst:             ed_swap_4p
        - Src:             'hts.c:2946,17'
          Dst:             kh_put_bin
        - Src:             'hts.c:2951,21'
          Dst:             bgzf_read
        - Src:             'hts.c:2952,28'
          Dst:             ed_swap_8p
        - Src:             'hts.c:2954,17'
          Dst:             bgzf_read
        - Src:             'hts.c:2955,24'
          Dst:             ed_swap_4p
        - Src:             'hts.c:2959,23'
          Dst:             hts_malloc_p
        - Src:             'hts.c:2961,17'
          Dst:             bgzf_read
        - Src:             'hts.c:2962,24'
          Dst:             swap_bins
        - Src:             'hts.c:2967,17'
          Dst:             bgzf_read
        - Src:             'hts.c:2968,24'
          Dst:             ed_swap_4p
        - Src:             'hts.c:2973,25'
          Dst:             hts_malloc_p
        - Src:             'hts.c:2975,17'
          Dst:             bgzf_read
        - Src:             'hts.c:2976,51'
          Dst:             ed_swap_8p
        - Src:             'hts.c:2980,13'
          Dst:             update_loff
        - Src:             'hts.c:2983,9'
          Dst:             bgzf_read
        - Src:             'hts.c:2984,16'
          Dst:             ed_swap_8p
    - functionName:    ed_is_big
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1568
      functionLinenumberEnd: 1570
      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: 2243
      functionLinenumberEnd: 2243
      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:2243,1'
          Dst:             calloc
    - functionName:    ed_swap_4p
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1587
      functionLinenumberEnd: 1589
      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:1588,21'
          Dst:             ed_swap_4
    - functionName:    kh_put_bin
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2243
      functionLinenumberEnd: 2243
      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:2243,1'
          Dst:             kh_resize_bin
        - Src:             'hts.c:2243,1'
          Dst:             kh_resize_bin
    - functionName:    update_loff
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2434
      functionLinenumberEnd: 2462
      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:2450,31'
          Dst:             hts_bin_bot
    - functionName:    hts_bin_bot
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1551
      functionLinenumberEnd: 1553
      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:1552,13'
          Dst:             hts_bin_level
    - functionName:    hts_bin_level
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1525
      functionLinenumberEnd: 1528
      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: 2243
      functionLinenumberEnd: 2243
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         52
      ICount:          536
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2243,1'
          Dst:             realloc
        - Src:             'hts.c:2243,1'
          Dst:             realloc
        - Src:             'hts.c:2243,1'
          Dst:             realloc
        - Src:             'hts.c:2243,1'
          Dst:             realloc
    - functionName:    ed_swap_4
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1582
      functionLinenumberEnd: 1584
      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: 3226
      functionLinenumberEnd: 3252
      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:3232,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: 3283
      functionLinenumberEnd: 3304
      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:3291,21'
          Dst:             hts_bin_level
        - Src:             'hts.c:3298,23'
          Dst:             add_to_interval
    - functionName:    reg2intervals_narrow
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3259
      functionLinenumberEnd: 3276
      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:3266,25'
          Dst:             kh_get_bin
        - Src:             'hts.c:3269,27'
          Dst:             add_to_interval
    - functionName:    kh_get_bin
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2243
      functionLinenumberEnd: 2243
      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: 2235
      functionLinenumberEnd: 2235
      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: 2235
      functionLinenumberEnd: 2235
      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:2235,1'
          Dst:             __ks_insertsort__off_max
    - functionName:    reg2bins_wide
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3167
      functionLinenumberEnd: 3185
      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:3175,21'
          Dst:             hts_bin_level
        - Src:             'hts.c:3181,13'
          Dst:             __assert_fail
    - functionName:    reg2bins_narrow
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3150
      functionLinenumberEnd: 3163
      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:3157,17'
          Dst:             kh_get_bin
        - Src:             'hts.c:3158,17'
          Dst:             __assert_fail
    - functionName:    need_idx_ugly_delay_hack
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2751
      functionLinenumberEnd: 2758
      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: 2736
      functionLinenumberEnd: 2738
      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:2737,9'
          Dst:             ed_is_big
        - Src:             'hts.c:2737,26'
          Dst:             ed_swap_8
        - Src:             'hts.c:2738,12'
          Dst:             bgzf_write
    - functionName:    idx_save_core
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2762
      functionLinenumberEnd: 2825
      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:2772,42'
          Dst:             le_to_u32
        - Src:             'hts.c:2778,5'
          Dst:             idx_write_int32
        - Src:             'hts.c:2780,9'
          Dst:             bgzf_write
        - Src:             'hts.c:2789,13'
          Dst:             idx_write_int32
        - Src:             'hts.c:2794,21'
          Dst:             idx_write_uint32
        - Src:             'hts.c:2795,45'
          Dst:             idx_write_uint64
        - Src:             'hts.c:2797,21'
          Dst:             idx_write_int32
        - Src:             'hts.c:2800,25'
          Dst:             idx_write_uint64
        - Src:             'hts.c:2801,25'
          Dst:             idx_write_uint64
        - Src:             'hts.c:2807,13'
          Dst:             idx_write_int32
        - Src:             'hts.c:2809,17'
          Dst:             idx_write_uint64
        - Src:             'hts.c:2813,10'
          Dst:             need_idx_ugly_delay_hack
        - Src:             'hts.c:2816,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: 2724
      functionLinenumberEnd: 2726
      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:2725,9'
          Dst:             ed_is_big
        - Src:             'hts.c:2725,26'
          Dst:             ed_swap_4
        - Src:             'hts.c:2726,12'
          Dst:             bgzf_write
    - functionName:    idx_write_uint32
      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:    2
      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:    __ks_insertsort__off
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2234
      functionLinenumberEnd: 2234
      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: 2234
      functionLinenumberEnd: 2234
      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:2234,1'
          Dst:             __ks_insertsort__off
    - functionName:    ks_introsort__off
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2234
      functionLinenumberEnd: 2234
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         67
      ICount:          454
      EdgeCount:       87
      CyclomaticComplexity: 22
      functionsReached:
        - __ks_insertsort__off
        - hts_malloc_ps
        - hts_prod_sat2
        - ks_combsort__off
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2234,1'
          Dst:             hts_prod_sat2
        - Src:             'hts.c:2234,1'
          Dst:             hts_malloc_ps
        - Src:             'hts.c:2234,1'
          Dst:             ks_combsort__off
        - Src:             'hts.c:2234,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: 2243
      functionLinenumberEnd: 2243
      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: 5173
      functionLinenumberEnd: 5190
      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:5174,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    hts_get_log_level
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5168
      functionLinenumberEnd: 5169
      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: 5163
      functionLinenumberEnd: 5165
      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: 5158
      functionLinenumberEnd: 5160
      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: 5154
      functionLinenumberEnd: 5156
      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:5155,5'
          Dst:             hfile_shutdown
    - functionName:    hts_realloc_or_die
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5039
      functionLinenumberEnd: 5076
      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:5057,9'
          Dst:             __errno_location
        - Src:             'hts.c:5061,15'
          Dst:             realloc
        - Src:             'hts.c:5075,5'
          Dst:             __errno_location
        - Src:             'hts.c:5075,5'
          Dst:             strerror
        - Src:             'hts.c:5075,5'
          Dst:             hts_log
        - Src:             'hts.c:5076,5'
          Dst:             exit
    - functionName:    hts_log
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5193
      functionLinenumberEnd: 5207
      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:    619
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:5194,22'
          Dst:             __errno_location
        - Src:             'hts.c:5198,38'
          Dst:             get_severity_tag
        - Src:             'hts.c:5198,9'
          Dst:             fprintf
        - Src:             'hts.c:5201,9'
          Dst:             vfprintf
        - Src:             'hts.c:5204,9'
          Dst:             fprintf
        - Src:             'hts.c:5206,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:    55
      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: 2993
      functionLinenumberEnd: 3062
      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:2998,16'
          Dst:             bgzf_open
        - Src:             'hts.c:3000,13'
          Dst:             ed_is_big
        - Src:             'hts.c:3001,9'
          Dst:             bgzf_read
        - Src:             'hts.c:3003,9'
          Dst:             memcmp
        - Src:             'hts.c:3005,13'
          Dst:             bgzf_read
        - Src:             'hts.c:3006,44'
          Dst:             ed_swap_4p
        - Src:             'hts.c:3009,25'
          Dst:             hts_malloc_ps
        - Src:             'hts.c:3010,17'
          Dst:             bgzf_read
        - Src:             'hts.c:3014,13'
          Dst:             bgzf_read
        - Src:             'hts.c:3015,20'
          Dst:             ed_swap_4p
        - Src:             'hts.c:3017,20'
          Dst:             hts_idx_init
        - Src:             'hts.c:3021,13'
          Dst:             idx_read_core
        - Src:             'hts.c:3023,14'
          Dst:             memcmp
        - Src:             'hts.c:3027,13'
          Dst:             bgzf_read
        - Src:             'hts.c:3028,13'
          Dst:             le_to_u32
        - Src:             'hts.c:3030,20'
          Dst:             hts_idx_init
        - Src:             'hts.c:3031,13'
          Dst:             le_to_u32
        - Src:             'hts.c:3034,26'
          Dst:             hts_malloc_ps
        - Src:             'hts.c:3039,13'
          Dst:             bgzf_read
        - Src:             'hts.c:3042,13'
          Dst:             idx_read_core
        - Src:             'hts.c:3044,14'
          Dst:             memcmp
        - Src:             'hts.c:3046,13'
          Dst:             bgzf_read
        - Src:             'hts.c:3047,20'
          Dst:             ed_swap_4p
        - Src:             'hts.c:3049,20'
          Dst:             hts_idx_init
        - Src:             'hts.c:3050,13'
          Dst:             idx_read_core
        - Src:             'hts.c:3052,12'
          Dst:             __errno_location
        - Src:             'hts.c:3054,5'
          Dst:             bgzf_close
        - Src:             'hts.c:3058,5'
          Dst:             bgzf_close
        - Src:             'hts.c:3059,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: 2408
      functionLinenumberEnd: 2431
      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:2410,23'
          Dst:             calloc
        - Src:             'hts.c:2422,31'
          Dst:             calloc
        - Src:             'hts.c:2424,31'
          Dst:             calloc
    - functionName:    hts_idx_destroy
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2690
      functionLinenumberEnd: 2714
      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:2698,9'
          Dst:             cram_index_free
        - Src:             'hts.c:2710,9'
          Dst:             kh_destroy_bin
    - functionName:    kh_destroy_bin
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2243
      functionLinenumberEnd: 2243
      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: 4626
      functionLinenumberEnd: 4739
      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:4634,9'
          Dst:             hisremote
        - Src:             'hts.c:4639,20'
          Dst:             strncmp
        - Src:             'hts.c:4639,47'
          Dst:             strncmp
        - Src:             'hts.c:4639,80'
          Dst:             strncmp
        - Src:             'hts.c:4639,114'
          Dst:             strcspn
        - Src:             'hts.c:4639,134'
          Dst:             strcspn
        - Src:             'hts.c:4646,9'
          Dst:             kputsn
        - Src:             'hts.c:4647,13'
          Dst:             access
        - Src:             'hts.c:4656,27'
          Dst:             hopen
        - Src:             'hts.c:4657,13'
          Dst:             hts_log
        - Src:             'hts.c:4661,13'
          Dst:             hts_detect_format2
        - Src:             'hts.c:4662,13'
          Dst:             hts_log
        - Src:             'hts.c:4667,13'
          Dst:             hts_log
        - Src:             'hts.c:4672,29'
          Dst:             hts_open_tmpfile
        - Src:             'hts.c:4673,17'
          Dst:             hts_log
        - Src:             'hts.c:4676,13'
          Dst:             hts_log
        - Src:             'hts.c:4677,38'
          Dst:             calloc
        - Src:             'hts.c:4679,17'
          Dst:             __errno_location
        - Src:             'hts.c:4679,17'
          Dst:             strerror
        - Src:             'hts.c:4679,17'
          Dst:             hts_log
        - Src:             'hts.c:4682,25'
          Dst:             hread
        - Src:             'hts.c:4683,21'
          Dst:             hwrite
        - Src:             'hts.c:4684,21'
          Dst:             __errno_location
        - Src:             'hts.c:4684,21'
          Dst:             strerror
        - Src:             'hts.c:4684,21'
          Dst:             hts_log
        - Src:             'hts.c:4692,17'
          Dst:             hts_log
        - Src:             'hts.c:4695,17'
          Dst:             hclose
        - Src:             'hts.c:4696,17'
          Dst:             __errno_location
        - Src:             'hts.c:4696,17'
          Dst:             strerror
        - Src:             'hts.c:4696,17'
          Dst:             hts_log
        - Src:             'hts.c:4701,17'
          Dst:             rename
        - 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:4705,13'
          Dst:             ks_clear
        - Src:             'hts.c:4714,13'
          Dst:             hclose
        - Src:             'hts.c:4715,13'
          Dst:             hts_log
        - Src:             'hts.c:4723,26'
          Dst:             hopen
        - Src:             'hts.c:4724,9'
          Dst:             hclose_abruptly
        - Src:             'hts.c:4726,22'
          Dst:             strlen
        - Src:             'hts.c:4731,18'
          Dst:             __errno_location
        - Src:             'hts.c:4732,21'
          Dst:             hclose_abruptly
        - Src:             'hts.c:4733,19'
          Dst:             hclose_abruptly
        - Src:             'hts.c:4734,21'
          Dst:             unlink
        - Src:             'hts.c:4737,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: 1981
      functionLinenumberEnd: 1998
      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:1982,21'
          Dst:             getpid
        - Src:             'hts.c:1989,34'
          Dst:             time
        - Src:             'hts.c:1989,60'
          Dst:             clock
        - Src:             'hts.c:1992,9'
          Dst:             ks_clear
        - Src:             'hts.c:1993,13'
          Dst:             ksprintf
        - Src:             'hts.c:1995,14'
          Dst:             hopen
        - Src:             'hts.c:1996,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: 4990
      functionLinenumberEnd: 5028
      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:4995,16'
          Dst:             idx_find_and_load
        - Src:             'hts.c:4999,21'
          Dst:             hisremote
        - Src:             'hts.c:4999,51'
          Dst:             hisremote
        - Src:             'hts.c:5001,14'
          Dst:             stat
        - Src:             'hts.c:5001,39'
          Dst:             stat
        - Src:             'hts.c:5004,13'
          Dst:             hts_log
        - Src:             'hts.c:5009,19'
          Dst:             idx_test_and_fetch
        - Src:             'hts.c:5011,27'
          Dst:             strdup
        - Src:             'hts.c:5019,22'
          Dst:             idx_read
        - Src:             'hts.c:5021,9'
          Dst:             __errno_location
        - Src:             'hts.c:5021,9'
          Dst:             __errno_location
        - Src:             'hts.c:5021,9'
          Dst:             __errno_location
        - Src:             'hts.c:5021,9'
          Dst:             strerror
        - Src:             'hts.c:5021,9'
          Dst:             hts_log
    - functionName:    idx_find_and_load
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4928
      functionLinenumberEnd: 4978
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          208
      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:4949,17'
          Branch Sides:    []
        - Branch String:   'hts.c:4958,17'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:4929,19'
          Dst:             strstr
        - Src:             'hts.c:4933,21'
          Dst:             strdup
        - Src:             'hts.c:4935,13'
          Dst:             __errno_location
        - Src:             'hts.c:4935,13'
          Dst:             strerror
        - Src:             'hts.c:4935,13'
          Dst:             hts_log
        - Src:             'hts.c:4940,15'
          Dst:             hts_idx_load3
        - Src:             'hts.c:4945,9'
          Dst:             hts_idx_check_local
        - Src:             'hts.c:4945,54'
          Dst:             hisremote
        - Src:             'hts.c:4947,21'
          Dst:             idx_filename
        - Src:             'hts.c:4950,43'
          Dst:             idx_filename
        - Src:             'hts.c:4951,43'
          Dst:             idx_filename
        - Src:             'hts.c:4956,21'
          Dst:             idx_filename
        - Src:             'hts.c:4959,43'
          Dst:             idx_filename
        - Src:             'hts.c:4960,43'
          Dst:             idx_filename
        - Src:             'hts.c:4968,13'
          Dst:             hts_log
        - Src:             'hts.c:4973,15'
          Dst:             hts_idx_load3
        - Src:             'hts.c:4975,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: 4758
      functionLinenumberEnd: 4885
      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:4772,9'
          Dst:             hisremote
        - Src:             'hts.c:4773,18'
          Dst:             strlen
        - Src:             'hts.c:4780,13'
          Dst:             strncmp
        - Src:             'hts.c:4781,18'
          Dst:             strncmp
        - Src:             'hts.c:4791,5'
          Dst:             hts_log
        - Src:             'hts.c:4792,12'
          Dst:             strlen
        - Src:             'hts.c:4793,24'
          Dst:             calloc
        - Src:             'hts.c:4799,5'
          Dst:             strcpy
        - Src:             'hts.c:4799,32'
          Dst:             strcpy
        - Src:             'hts.c:4800,8'
          Dst:             stat
        - Src:             'hts.c:4806,17'
          Dst:             strcpy
        - Src:             'hts.c:4807,20'
          Dst:             stat
        - Src:             'hts.c:4816,9'
          Dst:             strcpy
        - Src:             'hts.c:4816,36'
          Dst:             strcpy
        - Src:             'hts.c:4817,12'
          Dst:             stat
        - Src:             'hts.c:4823,21'
          Dst:             strcpy
        - Src:             'hts.c:4824,24'
          Dst:             stat
        - Src:             'hts.c:4832,9'
          Dst:             strcpy
        - Src:             'hts.c:4832,36'
          Dst:             strcpy
        - Src:             'hts.c:4833,12'
          Dst:             stat
        - Src:             'hts.c:4839,21'
          Dst:             strcpy
        - Src:             'hts.c:4840,24'
          Dst:             stat
        - Src:             'hts.c:4848,9'
          Dst:             strcpy
        - Src:             'hts.c:4848,36'
          Dst:             strcpy
        - Src:             'hts.c:4849,12'
          Dst:             stat
        - Src:             'hts.c:4855,21'
          Dst:             strcpy
        - Src:             'hts.c:4856,24'
          Dst:             stat
        - Src:             'hts.c:4865,9'
          Dst:             strcpy
        - Src:             'hts.c:4867,26'
          Dst:             strcmp
        - Src:             'hts.c:4868,26'
          Dst:             strcmp
        - Src:             'hts.c:4869,13'
          Dst:             strcpy
        - Src:             'hts.c:4870,22'
          Dst:             stat
        - Src:             'hts.c:4875,9'
          Dst:             strcpy
        - Src:             'hts.c:4877,13'
          Dst:             stat
    - functionName:    idx_filename
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4887
      functionLinenumberEnd: 4915
      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:4894,19'
          Dst:             haddextension
        - Src:             'hts.c:4898,16'
          Dst:             idx_test_and_fetch
        - Src:             'hts.c:4900,23'
          Dst:             haddextension
        - Src:             'hts.c:4904,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: 4985
      functionLinenumberEnd: 4986
      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:4986,12'
          Dst:             hts_idx_load3
    - functionName:    hts_idx_load
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4980
      functionLinenumberEnd: 4981
      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:4981,12'
          Dst:             idx_find_and_load
    - functionName:    hts_idx_locatefn
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4923
      functionLinenumberEnd: 4924
      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:4924,12'
          Dst:             idx_filename
    - functionName:    hts_idx_getfn
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4918
      functionLinenumberEnd: 4919
      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:4919,12'
          Dst:             idx_filename
    - functionName:    hts_itr_multi_next
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4328
      functionLinenumberEnd: 4614
      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:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4345,17'
          Dst:             hts_log
        - Src:             'hts.c:4362,5'
          Dst:             __assert_fail
        - Src:             'hts.c:4423,25'
          Dst:             hts_log
        - Src:             'hts.c:4428,25'
          Dst:             cram_set_option
        - Src:             'hts.c:4474,33'
          Dst:             hts_log
        - Src:             'hts.c:4527,29'
          Dst:             cram_set_option
        - Src:             'hts.c:4532,29'
          Dst:             hts_log
        - Src:             'hts.c:4543,34'
          Dst:             cram_eof
        - Src:             'hts.c:4576,42'
          Dst:             bsearch
        - Src:             'hts.c:4576,42'
          Dst:             compare_regions
    - functionName:    compare_regions
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3363
      functionLinenumberEnd: 3373
      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: 4274
      functionLinenumberEnd: 4325
      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:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4280,17'
          Dst:             bgzf_seek
        - Src:             'hts.c:4281,17'
          Dst:             __errno_location
        - Src:             'hts.c:4281,17'
          Dst:             __errno_location
        - Src:             'hts.c:4281,17'
          Dst:             strerror
        - Src:             'hts.c:4281,17'
          Dst:             hts_log
        - Src:             'hts.c:4296,5'
          Dst:             __assert_fail
        - Src:             'hts.c:4301,21'
          Dst:             bgzf_seek
        - Src:             'hts.c:4302,21'
          Dst:             __errno_location
        - Src:             'hts.c:4302,21'
          Dst:             __errno_location
        - Src:             'hts.c:4302,21'
          Dst:             strerror
        - Src:             'hts.c:4302,21'
          Dst:             hts_log
    - functionName:    hts_itr_regions
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4219
      functionLinenumberEnd: 4271
      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:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:4226,34'
          Dst:             calloc
        - Src:             'hts.c:4239,22'
          Dst:             strcmp
        - Src:             'hts.c:4244,22'
          Dst:             strcmp
        - Src:             'hts.c:4252,25'
          Dst:             hts_log
        - Src:             'hts.c:4253,25'
          Dst:             hts_itr_destroy
        - Src:             'hts.c:4256,25'
          Dst:             hts_log
        - Src:             'hts.c:4262,9'
          Dst:             qsort
        - Src:             'hts.c:4262,9'
          Dst:             compare_regions
        - Src:             'hts.c:4264,13'
          Dst:             hts_log
        - Src:             'hts.c:4265,13'
          Dst:             hts_itr_destroy
    - functionName:    hts_itr_destroy
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3870
      functionLinenumberEnd: 3882
      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:3873,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: 4204
      functionLinenumberEnd: 4217
      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:4208,9'
          Dst:             strcmp
        - Src:             'hts.c:4210,14'
          Dst:             strcmp
        - Src:             'hts.c:4213,10'
          Dst:             hts_parse_region
    - functionName:    hts_parse_region
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4005
      functionLinenumberEnd: 4158
      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:4009,20'
          Dst:             strlen
        - Src:             'hts.c:4024,29'
          Dst:             memchr
        - Src:             'hts.c:4026,13'
          Dst:             hts_log
        - Src:             'hts.c:4038,21'
          Dst:             strchr
        - Src:             'hts.c:4047,21'
          Dst:             strchr
        - Src:             'hts.c:4054,17'
          Dst:             hts_memrchr
        - Src:             'hts.c:4060,9'
          Dst:             kputsn
        - Src:             'hts.c:4075,9'
          Dst:             kputsn
        - Src:             'hts.c:4085,13'
          Dst:             kputsn
        - Src:             'hts.c:4093,17'
          Dst:             hts_log
        - Src:             'hts.c:4109,5'
          Dst:             kputsn
        - Src:             'hts.c:4121,12'
          Dst:             hts_parse_decimal
        - Src:             'hts.c:4125,13'
          Dst:             hts_log
        - Src:             'hts.c:4128,13'
          Dst:             isdigit_c
        - Src:             'hts.c:4134,13'
          Dst:             hts_log
        - Src:             'hts.c:4142,16'
          Dst:             hts_parse_decimal
        - Src:             'hts.c:4144,13'
          Dst:             hts_log
        - Src:             'hts.c:4148,9'
          Dst:             hts_log
    - functionName:    hts_memrchr
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3946
      functionLinenumberEnd: 3955
      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: 3892
      functionLinenumberEnd: 3943
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         89
      ICount:          472
      EdgeCount:       112
      CyclomaticComplexity: 25
      functionsReached:
        - hts_log
        - isdigit_c
        - isspace_c
        - push_digit
      functionUses:    4
      BranchProfiles:
        - Branch String:   'hts.c:3912,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:3898,12'
          Dst:             isspace_c
        - Src:             'hts.c:3903,13'
          Dst:             isdigit_c
        - Src:             'hts.c:3903,42'
          Dst:             push_digit
        - Src:             'hts.c:3909,16'
          Dst:             isdigit_c
        - Src:             'hts.c:3909,57'
          Dst:             push_digit
        - Src:             'hts.c:3916,16'
          Dst:             isdigit_c
        - Src:             'hts.c:3916,35'
          Dst:             push_digit
        - Src:             'hts.c:3930,9'
          Dst:             hts_log
        - Src:             'hts.c:3937,9'
          Dst:             hts_log
        - Src:             'hts.c:3940,13'
          Dst:             hts_log
    - functionName:    push_digit
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3885
      functionLinenumberEnd: 3888
      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: 4183
      functionLinenumberEnd: 4201
      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:4185,25'
          Dst:             hts_parse_reg64
        - Src:             'hts.c:4187,9'
          Dst:             hts_log
        - Src:             'hts.c:4194,13'
          Dst:             hts_log
    - functionName:    hts_parse_reg64
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4163
      functionLinenumberEnd: 4180
      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:4165,25'
          Dst:             strrchr
        - Src:             'hts.c:4168,20'
          Dst:             strlen
        - Src:             'hts.c:4171,12'
          Dst:             hts_parse_decimal
        - Src:             'hts.c:4175,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: 3749
      functionLinenumberEnd: 3867
      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:3818,13'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:3775,19'
          Dst:             hts_realloc_ps
        - Src:             'hts.c:3793,21'
          Dst:             cram_index_query
        - Src:             'hts.c:3803,28'
          Dst:             cram_index_last
        - Src:             'hts.c:3805,28'
          Dst:             cram_index_query_last
        - Src:             'hts.c:3813,25'
          Dst:             hts_log
        - Src:             'hts.c:3820,25'
          Dst:             cram_index_query
        - Src:             'hts.c:3825,25'
          Dst:             hts_log
        - Src:             'hts.c:3829,25'
          Dst:             cram_index_query
        - Src:             'hts.c:3832,31'
          Dst:             realloc
        - Src:             'hts.c:3840,25'
          Dst:             hts_log
        - Src:             'hts.c:3849,21'
          Dst:             hts_log
        - Src:             'hts.c:3855,9'
          Dst:             ks_introsort__off_max
    - functionName:    ks_introsort__off_max
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2235
      functionLinenumberEnd: 2235
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         101
      ICount:          634
      EdgeCount:       133
      CyclomaticComplexity: 34
      functionsReached:
        - __ks_insertsort__off_max
        - hts_malloc_ps
        - hts_prod_sat2
        - ks_combsort__off_max
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hts.c:2235,1'
          Dst:             hts_prod_sat2
        - Src:             'hts.c:2235,1'
          Dst:             hts_malloc_ps
        - Src:             'hts.c:2235,1'
          Dst:             ks_combsort__off_max
        - Src:             'hts.c:2235,1'
          Dst:             __ks_insertsort__off_max
    - functionName:    reg2intervals
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3307
      functionLinenumberEnd: 3361
      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:3336,15'
          Dst:             reg2intervals_narrow
        - Src:             'hts.c:3339,15'
          Dst:             reg2intervals_wide
        - Src:             'hts.c:3346,9'
          Dst:             ks_introsort__off_max
    - functionName:    hts_itr_multi_bam
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3605
      functionLinenumberEnd: 3746
      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:    2
      BranchProfiles:
        - Branch String:   'hts.c:3627,17'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:3625,21'
          Dst:             hts_itr_off
        - Src:             'hts.c:3647,17'
          Dst:             kh_get_bin
        - Src:             'hts.c:3653,26'
          Dst:             hts_idx_maxpos
        - Src:             'hts.c:3673,25'
          Dst:             kh_get_bin
        - Src:             'hts.c:3680,25'
          Dst:             kh_get_bin
        - Src:             'hts.c:3717,29'
          Dst:             kh_get_bin
        - Src:             'hts.c:3730,21'
          Dst:             reg2intervals
        - Src:             'hts.c:3740,9'
          Dst:             ks_introsort__off_max
    - functionName:    hts_itr_off
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3375
      functionLinenumberEnd: 3425
      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:3381,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:3386,17'
          Dst:             kh_get_bin
        - Src:             'hts.c:3406,17'
          Dst:             kh_get_bin
    - functionName:    hts_idx_maxpos
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2536
      functionLinenumberEnd: 2537
      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:2537,12'
          Dst:             hts_bin_maxpos
    - functionName:    hts_bin_maxpos
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1558
      functionLinenumberEnd: 1560
      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: 3189
      functionLinenumberEnd: 3221
      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:3208,13'
          Dst:             __errno_location
        - Src:             'hts.c:3211,22'
          Dst:             hts_realloc_p
        - Src:             'hts.c:3217,16'
          Dst:             reg2bins_narrow
        - Src:             'hts.c:3219,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: 3429
      functionLinenumberEnd: 3602
      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:3442,9'
          Dst:             __errno_location
        - Src:             'hts.c:3446,24'
          Dst:             calloc
        - Src:             'hts.c:3449,28'
          Dst:             hts_itr_off
        - Src:             'hts.c:3469,17'
          Dst:             kh_get_bin
        - Src:             'hts.c:3480,26'
          Dst:             hts_idx_maxpos
        - Src:             'hts.c:3488,21'
          Dst:             kh_get_bin
        - Src:             'hts.c:3494,31'
          Dst:             kh_get_bin
        - Src:             'hts.c:3534,25'
          Dst:             kh_get_bin
        - Src:             'hts.c:3544,17'
          Dst:             reg2bins
        - Src:             'hts.c:3545,17'
          Dst:             hts_itr_destroy
        - Src:             'hts.c:3550,26'
          Dst:             kh_get_bin
        - Src:             'hts.c:3557,19'
          Dst:             calloc
        - Src:             'hts.c:3559,26'
          Dst:             kh_get_bin
        - Src:             'hts.c:3583,13'
          Dst:             ks_introsort__off_max
    - functionName:    hts_idx_get_n_no_coor
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3139
      functionLinenumberEnd: 3142
      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: 3118
      functionLinenumberEnd: 3136
      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:3127,17'
          Dst:             kh_get_bin
    - functionName:    hts_idx_nseq
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3112
      functionLinenumberEnd: 3115
      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: 3093
      functionLinenumberEnd: 3110
      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:3101,41'
          Dst:             calloc
    - functionName:    hts_idx_get_meta
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3087
      functionLinenumberEnd: 3089
      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: 3066
      functionLinenumberEnd: 3084
      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:3071,13'
          Dst:             __errno_location
        - Src:             'hts.c:3074,20'
          Dst:             hts_malloc_ps
    - functionName:    hts_idx_save_but_not_close
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2897
      functionLinenumberEnd: 2910
      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:2898,19'
          Dst:             bgzf_open
        - Src:             'hts.c:2901,9'
          Dst:             hts_idx_write_out
        - Src:             'hts.c:2902,26'
          Dst:             __errno_location
        - Src:             'hts.c:2903,9'
          Dst:             bgzf_close
        - Src:             'hts.c:2905,9'
          Dst:             __errno_location
        - Src:             'hts.c:2909,12'
          Dst:             bgzf_flush
    - functionName:    hts_idx_write_out
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2850
      functionLinenumberEnd: 2869
      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:2854,9'
          Dst:             bgzf_write
        - Src:             'hts.c:2855,9'
          Dst:             idx_write_int32
        - Src:             'hts.c:2856,9'
          Dst:             idx_write_int32
        - Src:             'hts.c:2857,9'
          Dst:             idx_write_uint32
        - Src:             'hts.c:2858,26'
          Dst:             bgzf_write
        - Src:             'hts.c:2860,9'
          Dst:             bgzf_write
        - Src:             'hts.c:2862,9'
          Dst:             bgzf_write
        - Src:             'hts.c:2863,12'
          Dst:             abort
        - Src:             'hts.c:2865,5'
          Dst:             idx_save_core
    - functionName:    hts_idx_save_as
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2872
      functionLinenumberEnd: 2889
      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:2876,16'
          Dst:             hts_idx_save
        - Src:             'hts.c:2878,10'
          Dst:             bgzf_open
        - Src:             'hts.c:2881,9'
          Dst:             hts_idx_write_out
        - Src:             'hts.c:2882,26'
          Dst:             __errno_location
        - Src:             'hts.c:2883,9'
          Dst:             bgzf_close
        - Src:             'hts.c:2884,9'
          Dst:             __errno_location
        - Src:             'hts.c:2888,12'
          Dst:             bgzf_close
    - functionName:    hts_idx_save
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2828
      functionLinenumberEnd: 2847
      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:2835,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:2830,38'
          Dst:             __errno_location
        - Src:             'hts.c:2831,36'
          Dst:             strlen
        - Src:             'hts.c:2831,26'
          Dst:             calloc
        - Src:             'hts.c:2834,5'
          Dst:             strcpy
        - Src:             'hts.c:2836,23'
          Dst:             strcat
        - Src:             'hts.c:2837,23'
          Dst:             strcat
        - Src:             'hts.c:2838,23'
          Dst:             strcat
        - Src:             'hts.c:2839,14'
          Dst:             abort
        - Src:             'hts.c:2842,11'
          Dst:             hts_idx_save_as
        - Src:             'hts.c:2843,12'
          Dst:             __errno_location
        - Src:             'hts.c:2845,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: 2716
      functionLinenumberEnd: 2717
      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: 2685
      functionLinenumberEnd: 2687
      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: 2650
      functionLinenumberEnd: 2672
      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:2657,20'
          Dst:             strlen
        - Src:             'hts.c:2658,20'
          Dst:             hts_realloc_ps
        - Src:             'hts.c:2664,5'
          Dst:             strcpy
        - Src:             'hts.c:2668,15'
          Dst:             le_to_u32
        - Src:             'hts.c:2668,5'
          Dst:             u32_to_le
    - functionName:    hts_reg2bin
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1517
      functionLinenumberEnd: 1522
      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: 2350
      functionLinenumberEnd: 2372
      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:2359,22'
          Dst:             hts_realloc_p
    - functionName:    hts_idx_push
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2561
      functionLinenumberEnd: 2642
      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:2564,9'
          Dst:             hts_idx_check_range
        - Src:             'hts.c:2571,20'
          Dst:             hts_realloc_p
        - Src:             'hts.c:2575,20'
          Dst:             hts_realloc_p
        - Src:             'hts.c:2588,13'
          Dst:             hts_log
        - Src:             'hts.c:2593,13'
          Dst:             hts_log
        - Src:             'hts.c:2599,9'
          Dst:             hts_log
        - Src:             'hts.c:2604,9'
          Dst:             hts_log
        - Src:             'hts.c:2609,51'
          Dst:             kh_init_bin
        - Src:             'hts.c:2614,13'
          Dst:             insert_to_l
        - Src:             'hts.c:2618,11'
          Dst:             hts_reg2bin
        - Src:             'hts.c:2621,17'
          Dst:             insert_to_b
        - Src:             'hts.c:2626,17'
          Dst:             insert_to_b
        - Src:             'hts.c:2628,17'
          Dst:             insert_to_b
    - functionName:    hts_idx_check_range
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2541
      functionLinenumberEnd: 2558
      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:2542,24'
          Dst:             hts_idx_maxpos
        - Src:             'hts.c:2547,9'
          Dst:             hts_log
        - Src:             'hts.c:2552,9'
          Dst:             idx_format_name
        - Src:             'hts.c:2552,9'
          Dst:             hts_log
        - Src:             'hts.c:2556,5'
          Dst:             __errno_location
    - functionName:    insert_to_b
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2322
      functionLinenumberEnd: 2347
      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:2326,9'
          Dst:             kh_put_bin
        - Src:             'hts.c:2331,34'
          Dst:             calloc
        - Src:             'hts.c:2333,13'
          Dst:             kh_del_bin
        - Src:             'hts.c:2338,34'
          Dst:             hts_realloc_p
    - functionName:    idx_format_name
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2271
      functionLinenumberEnd: 2279
      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:2272,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    compress_binning
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2465
      functionLinenumberEnd: 2515
      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:2477,46'
          Dst:             ks_introsort__off
        - Src:             'hts.c:2480,22'
          Dst:             kh_get_bin
        - Src:             'hts.c:2488,32'
          Dst:             hts_realloc_p
        - Src:             'hts.c:2496,17'
          Dst:             kh_del_bin
        - Src:             'hts.c:2500,9'
          Dst:             kh_get_bin
        - Src:             'hts.c:2501,28'
          Dst:             ks_introsort__off
    - functionName:    hts_idx_finish
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2518
      functionLinenumberEnd: 2533
      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:2522,16'
          Dst:             insert_to_b
        - Src:             'hts.c:2523,16'
          Dst:             insert_to_b
        - Src:             'hts.c:2524,16'
          Dst:             insert_to_b
        - Src:             'hts.c:2527,9'
          Dst:             update_loff
        - Src:             'hts.c:2528,16'
          Dst:             compress_binning
    - functionName:    hts_adjust_csi_settings
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2375
      functionLinenumberEnd: 2405
      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:2382,20'
          Dst:             hts_bin_maxpos
        - Src:             'hts.c:2384,18'
          Dst:             hts_bin_maxpos
        - Src:             'hts.c:2394,18'
          Dst:             hts_bin_maxpos
        - Src:             'hts.c:2399,9'
          Dst:             hts_log
    - functionName:    hts_check_EOF
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2210
      functionLinenumberEnd: 2217
      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:2212,31'
          Dst:             hts_get_bgzfp
        - Src:             'hts.c:2212,16'
          Dst:             bgzf_check_EOF
        - Src:             'hts.c:2214,16'
          Dst:             cram_check_EOF
    - functionName:    hts_get_bgzfp
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2010
      functionLinenumberEnd: 2015
      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: 2188
      functionLinenumberEnd: 2207
      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:2202,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:2189,15'
          Dst:             strlen
        - Src:             'hts.c:2190,11'
          Dst:             strcasecmp
        - Src:             'hts.c:2191,11'
          Dst:             strcasecmp
        - Src:             'hts.c:2192,11'
          Dst:             strcasecmp
        - Src:             'hts.c:2193,11'
          Dst:             strcmp
        - Src:             'hts.c:2195,16'
          Dst:             hopen
        - Src:             'hts.c:2199,9'
          Dst:             hts_detect_format2
        - Src:             'hts.c:2199,51'
          Dst:             hclose_abruptly
        - Src:             'hts.c:2200,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: 2132
      functionLinenumberEnd: 2184
      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:2135,16'
          Dst:             bgzf_open
        - Src:             'hts.c:2140,23'
          Dst:             bgzf_getline
        - Src:             'hts.c:2142,27'
          Dst:             hts_is_utf16_text
        - Src:             'hts.c:2143,17'
          Dst:             hts_log
        - Src:             'hts.c:2144,17'
          Dst:             hts_resize_array_
        - Src:             'hts.c:2146,20'
          Dst:             strdup
        - Src:             'hts.c:2153,9'
          Dst:             bgzf_close
        - Src:             'hts.c:2159,21'
          Dst:             hts_resize_array_
        - Src:             'hts.c:2161,31'
          Dst:             calloc
        - Src:             'hts.c:2164,17'
          Dst:             strncpy
        - Src:             'hts.c:2170,13'
          Dst:             hts_realloc_p
        - Src:             'hts.c:2175,5'
          Dst:             __assert_fail
    - functionName:    hts_is_utf16_text
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2002
      functionLinenumberEnd: 2004
      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:2004,36'
          Dst:             is_utf16_text
    - functionName:    hts_resize_array_
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5099
      functionLinenumberEnd: 5151
      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:5132,9'
          Branch Sides:    []
        - Branch String:   'hts.c:5143,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:5117,9'
          Dst:             hts_log
        - Src:             'hts.c:5118,9'
          Dst:             __errno_location
        - Src:             'hts.c:5122,15'
          Dst:             realloc
        - Src:             'hts.c:5124,26'
          Dst:             __errno_location
        - Src:             'hts.c:5125,53'
          Dst:             __errno_location
        - Src:             'hts.c:5125,44'
          Dst:             strerror
        - Src:             'hts.c:5125,9'
          Dst:             hts_log
        - Src:             'hts.c:5126,9'
          Dst:             __errno_location
        - Src:             'hts.c:5135,18'
          Dst:             abort
        - Src:             'hts.c:5146,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: 2067
      functionLinenumberEnd: 2129
      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:2072,20'
          Dst:             bgzf_open
        - Src:             'hts.c:2078,23'
          Dst:             bgzf_getline
        - Src:             'hts.c:2081,27'
          Dst:             hts_is_utf16_text
        - Src:             'hts.c:2082,17'
          Dst:             hts_log
        - Src:             'hts.c:2083,17'
          Dst:             hts_resize_array_
        - Src:             'hts.c:2085,20'
          Dst:             strdup
        - Src:             'hts.c:2092,9'
          Dst:             bgzf_close
        - Src:             'hts.c:2102,21'
          Dst:             hts_resize_array_
        - Src:             'hts.c:2104,31'
          Dst:             calloc
        - Src:             'hts.c:2107,17'
          Dst:             strncpy
        - Src:             'hts.c:2115,13'
          Dst:             hts_realloc_p
        - Src:             'hts.c:2120,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: 2032
      functionLinenumberEnd: 2033
      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:2033,12'
          Dst:             hgetln
    - functionName:    hts_getline
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2037
      functionLinenumberEnd: 2063
      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:2044,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:2040,9'
          Dst:             hts_log
        - Src:             'hts.c:2041,9'
          Dst:             abort
        - Src:             'hts.c:2047,15'
          Dst:             kgetline2
        - Src:             'hts.c:2047,15'
          Dst:             hgetln_wrapper
        - Src:             'hts.c:2049,18'
          Dst:             herrno
        - Src:             'hts.c:2049,58'
          Dst:             herrno
        - Src:             'hts.c:2049,50'
          Dst:             __errno_location
        - Src:             'hts.c:2055,15'
          Dst:             bgzf_getline
        - Src:             'hts.c:2059,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: 2024
      functionLinenumberEnd: 2029
      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:2026,16'
          Dst:             bgzf_utell
        - Src:             'hts.c:2028,16'
          Dst:             htell
    - functionName:    hts_useek
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2017
      functionLinenumberEnd: 2022
      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:2019,16'
          Dst:             bgzf_useek
        - Src:             'hts.c:2021,17'
          Dst:             hseek
    - functionName:    hts_set_fai_filename
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1953
      functionLinenumberEnd: 1966
      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:1956,22'
          Dst:             strdup
        - Src:             'hts.c:1962,13'
          Dst:             cram_set_option
    - functionName:    hts_set_filter_expression
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1969
      functionLinenumberEnd: 1978
      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:1971,9'
          Dst:             hts_filter_free
        - Src:             'hts.c:1976,26'
          Dst:             hts_filter_init
    - functionName:    hts_set_cache_size
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1947
      functionLinenumberEnd: 1950
      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:1949,29'
          Dst:             hts_get_bgzfp
        - Src:             'hts.c:1949,9'
          Dst:             bgzf_set_cache_size
    - functionName:    hts_set_thread_pool
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1935
      functionLinenumberEnd: 1944
      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:1937,16'
          Dst:             sam_set_thread_pool
        - Src:             'hts.c:1939,33'
          Dst:             hts_get_bgzfp
        - Src:             'hts.c:1939,16'
          Dst:             bgzf_thread_pool
        - Src:             'hts.c:1941,16'
          Dst:             hts_set_opt
    - functionName:    hts_set_opt
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1792
      functionLinenumberEnd: 1919
      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:1796,5'
          Branch Sides:    []
        - Branch String:   'hts.c:1890,13'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1801,16'
          Dst:             hts_set_threads
        - Src:             'hts.c:1805,21'
          Dst:             hts_hfile
        - Src:             'hts.c:1809,17'
          Dst:             hfile_set_blksize
        - Src:             'hts.c:1810,17'
          Dst:             hts_log
        - Src:             'hts.c:1815,13'
          Dst:             hts_log
        - Src:             'hts.c:1825,16'
          Dst:             hts_set_thread_pool
        - Src:             'hts.c:1832,9'
          Dst:             hts_set_cache_size
        - Src:             'hts.c:1841,20'
          Dst:             fastq_state_set
        - Src:             'hts.c:1850,20'
          Dst:             fastq_state_set
        - Src:             'hts.c:1862,20'
          Dst:             fastq_state_set
        - Src:             'hts.c:1874,20'
          Dst:             cram_set_option
        - Src:             'hts.c:1882,16'
          Dst:             hts_set_filter_expression
        - Src:             'hts.c:1915,9'
          Dst:             cram_set_voption
    - functionName:    hts_set_threads
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1924
      functionLinenumberEnd: 1933
      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:1926,16'
          Dst:             sam_set_threads
        - Src:             'hts.c:1928,24'
          Dst:             hts_get_bgzfp
        - Src:             'hts.c:1928,16'
          Dst:             bgzf_mt
        - Src:             'hts.c:1930,16'
          Dst:             hts_set_opt
    - functionName:    hts_hfile
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1775
      functionLinenumberEnd: 1790
      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:1776,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1779,31'
          Dst:             bgzf_hfile
        - Src:             'hts.c:1780,31'
          Dst:             cram_hfile
        - Src:             'hts.c:1786,33'
          Dst:             bgzf_hfile
    - functionName:    hts_format_file_extension
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1750
      functionLinenumberEnd: 1773
      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:1754,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    hts_get_format
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1746
      functionLinenumberEnd: 1747
      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: 1714
      functionLinenumberEnd: 1743
      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:1717,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1721,16'
          Dst:             bgzf_flush
        - Src:             'hts.c:1724,16'
          Dst:             cram_flush
        - Src:             'hts.c:1734,20'
          Dst:             bgzf_flush
        - Src:             'hts.c:1736,20'
          Dst:             hflush
    - functionName:    hts_idx_close_otf_fp
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2913
      functionLinenumberEnd: 2925
      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:2916,13'
          Dst:             need_idx_ugly_delay_hack
        - Src:             'hts.c:2918,19'
          Dst:             idx_write_uint64
        - Src:             'hts.c:2920,16'
          Dst:             bgzf_close
    - functionName:    hts_close
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1641
      functionLinenumberEnd: 1711
      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:1648,5'
          Branch Sides:    []
        - Branch String:   'hts.c:1657,13'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1644,9'
          Dst:             __errno_location
        - Src:             'hts.c:1652,15'
          Dst:             bgzf_close
        - Src:             'hts.c:1657,21'
          Dst:             cram_eof
        - Src:             'hts.c:1659,17'
          Dst:             hts_log
        - Src:             'hts.c:1666,15'
          Dst:             cram_close
        - Src:             'hts.c:1677,19'
          Dst:             sam_state_destroy
        - Src:             'hts.c:1680,13'
          Dst:             fastq_state_destroy
        - Src:             'hts.c:1683,20'
          Dst:             bgzf_close
        - Src:             'hts.c:1685,20'
          Dst:             hclose
        - Src:             'hts.c:1698,16'
          Dst:             hts_idx_close_otf_fp
        - Src:             'hts.c:1701,12'
          Dst:             __errno_location
        - Src:             'hts.c:1702,5'
          Dst:             sam_hdr_destroy
        - Src:             'hts.c:1703,5'
          Dst:             hts_idx_destroy
        - Src:             'hts.c:1704,5'
          Dst:             hts_filter_free
        - Src:             'hts.c:1709,5'
          Dst:             __errno_location
    - functionName:    hts_process_opts
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1414
      functionLinenumberEnd: 1429
      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:1418,9'
          Dst:             hts_parse_opt_list
        - Src:             'hts.c:1421,9'
          Dst:             hts_opt_apply
        - Src:             'hts.c:1422,9'
          Dst:             hts_opt_free
        - Src:             'hts.c:1426,5'
          Dst:             hts_opt_free
    - functionName:    hts_parse_opt_list
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1301
      functionLinenumberEnd: 1325
      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:1314,9'
          Dst:             strncpy
        - Src:             'hts.c:1317,13'
          Dst:             hts_opt_add
    - functionName:    hts_opt_apply
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1248
      functionLinenumberEnd: 1275
      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:1252,9'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1254,36'
          Dst:             strdup
        - Src:             'hts.c:1264,21'
          Dst:             hts_set_opt
        - Src:             'hts.c:1268,21'
          Dst:             hts_set_opt
    - functionName:    hts_opt_free
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1280
      functionLinenumberEnd: 1287
      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: 1022
      functionLinenumberEnd: 1240
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         265
      ICount:          1428
      EdgeCount:       348
      CyclomaticComplexity: 85
      functionsReached:
        - atoi
        - hts_log
        - strchr
        - strcmp
        - strdup
        - strtol
      functionUses:    1
      BranchProfiles:
        - Branch String:   'hts.c:1147,9'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1038,20'
          Dst:             strdup
        - Src:             'hts.c:1043,17'
          Dst:             strchr
        - Src:             'hts.c:1048,9'
          Dst:             strcmp
        - Src:             'hts.c:1049,9'
          Dst:             strcmp
        - Src:             'hts.c:1050,49'
          Dst:             atoi
        - Src:             'hts.c:1052,14'
          Dst:             strcmp
        - Src:             'hts.c:1053,14'
          Dst:             strcmp
        - Src:             'hts.c:1054,49'
          Dst:             atoi
        - Src:             'hts.c:1056,14'
          Dst:             strcmp
        - Src:             'hts.c:1057,14'
          Dst:             strcmp
        - Src:             'hts.c:1058,54'
          Dst:             atoi
        - Src:             'hts.c:1060,14'
          Dst:             strcmp
        - Src:             'hts.c:1061,14'
          Dst:             strcmp
        - Src:             'hts.c:1062,55'
          Dst:             atoi
        - Src:             'hts.c:1064,14'
          Dst:             strcmp
        - Src:             'hts.c:1065,14'
          Dst:             strcmp
        - Src:             'hts.c:1066,60'
          Dst:             atoi
        - Src:             'hts.c:1068,14'
          Dst:             strcmp
        - Src:             'hts.c:1069,14'
          Dst:             strcmp
        - Src:             'hts.c:1070,49'
          Dst:             atoi
        - Src:             'hts.c:1072,14'
          Dst:             strcmp
        - Src:             'hts.c:1073,14'
          Dst:             strcmp
        - Src:             'hts.c:1074,46'
          Dst:             atoi
        - Src:             'hts.c:1076,14'
          Dst:             strcmp
        - Src:             'hts.c:1077,14'
          Dst:             strcmp
        - Src:             'hts.c:1078,49'
          Dst:             atoi
        - Src:             'hts.c:1080,14'
          Dst:             strcmp
        - Src:             'hts.c:1081,14'
          Dst:             strcmp
        - Src:             'hts.c:1082,50'
          Dst:             atoi
        - Src:             'hts.c:1084,14'
          Dst:             strcmp
        - Src:             'hts.c:1085,14'
          Dst:             strcmp
        - Src:             'hts.c:1086,49'
          Dst:             atoi
        - Src:             'hts.c:1088,14'
          Dst:             strcmp
        - Src:             'hts.c:1089,14'
          Dst:             strcmp
        - Src:             'hts.c:1090,48'
          Dst:             atoi
        - Src:             'hts.c:1092,14'
          Dst:             strcmp
        - Src:             'hts.c:1093,14'
          Dst:             strcmp
        - Src:             'hts.c:1094,48'
          Dst:             atoi
        - Src:             'hts.c:1096,14'
          Dst:             strcmp
        - Src:             'hts.c:1097,14'
          Dst:             strcmp
        - Src:             'hts.c:1098,47'
          Dst:             atoi
        - Src:             'hts.c:1100,14'
          Dst:             strcmp
        - Src:             'hts.c:1101,14'
          Dst:             strcmp
        - Src:             'hts.c:1102,47'
          Dst:             atoi
        - Src:             'hts.c:1104,14'
          Dst:             strcmp
        - Src:             'hts.c:1105,14'
          Dst:             strcmp
        - Src:             'hts.c:1106,49'
          Dst:             atoi
        - Src:             'hts.c:1108,14'
          Dst:             strcmp
        - Src:             'hts.c:1109,14'
          Dst:             strcmp
        - Src:             'hts.c:1112,14'
          Dst:             strcmp
        - Src:             'hts.c:1113,14'
          Dst:             strcmp
        - Src:             'hts.c:1116,14'
          Dst:             strcmp
        - Src:             'hts.c:1117,14'
          Dst:             strcmp
        - Src:             'hts.c:1120,14'
          Dst:             strcmp
        - Src:             'hts.c:1121,14'
          Dst:             strcmp
        - Src:             'hts.c:1124,14'
          Dst:             strcmp
        - Src:             'hts.c:1125,14'
          Dst:             strcmp
        - Src:             'hts.c:1128,14'
          Dst:             strcmp
        - Src:             'hts.c:1129,14'
          Dst:             strcmp
        - Src:             'hts.c:1132,14'
          Dst:             strcmp
        - Src:             'hts.c:1133,14'
          Dst:             strcmp
        - Src:             'hts.c:1134,59'
          Dst:             atoi
        - Src:             'hts.c:1136,14'
          Dst:             strcmp
        - Src:             'hts.c:1137,14'
          Dst:             strcmp
        - Src:             'hts.c:1138,47'
          Dst:             atoi
        - Src:             'hts.c:1140,14'
          Dst:             strcmp
        - Src:             'hts.c:1141,14'
          Dst:             strcmp
        - Src:             'hts.c:1144,20'
          Dst:             strtol
        - Src:             'hts.c:1153,13'
          Dst:             hts_log
        - Src:             'hts.c:1160,14'
          Dst:             strcmp
        - Src:             'hts.c:1161,14'
          Dst:             strcmp
        - Src:             'hts.c:1162,55'
          Dst:             strtol
        - Src:             'hts.c:1164,14'
          Dst:             strcmp
        - Src:             'hts.c:1165,14'
          Dst:             strcmp
        - Src:             'hts.c:1166,51'
          Dst:             strtol
        - Src:             'hts.c:1168,14'
          Dst:             strcmp
        - Src:             'hts.c:1169,14'
          Dst:             strcmp
        - Src:             'hts.c:1172,14'
          Dst:             strcmp
        - Src:             'hts.c:1173,14'
          Dst:             strcmp
        - Src:             'hts.c:1174,48'
          Dst:             atoi
        - Src:             'hts.c:1176,14'
          Dst:             strcmp
        - Src:             'hts.c:1177,14'
          Dst:             strcmp
        - Src:             'hts.c:1178,48'
          Dst:             atoi
        - Src:             'hts.c:1180,14'
          Dst:             strcmp
        - Src:             'hts.c:1181,14'
          Dst:             strcmp
        - Src:             'hts.c:1182,49'
          Dst:             strtol
        - Src:             'hts.c:1184,14'
          Dst:             strcmp
        - Src:             'hts.c:1185,14'
          Dst:             strcmp
        - Src:             'hts.c:1186,56'
          Dst:             strtol
        - Src:             'hts.c:1188,14'
          Dst:             strcmp
        - Src:             'hts.c:1189,14'
          Dst:             strcmp
        - Src:             'hts.c:1192,14'
          Dst:             strcmp
        - Src:             'hts.c:1193,9'
          Dst:             strcmp
        - Src:             'hts.c:1196,14'
          Dst:             strcmp
        - Src:             'hts.c:1197,9'
          Dst:             strcmp
        - Src:             'hts.c:1200,14'
          Dst:             strcmp
        - Src:             'hts.c:1201,9'
          Dst:             strcmp
        - Src:             'hts.c:1204,14'
          Dst:             strcmp
        - Src:             'hts.c:1205,9'
          Dst:             strcmp
        - Src:             'hts.c:1208,14'
          Dst:             strcmp
        - Src:             'hts.c:1209,9'
          Dst:             strcmp
        - Src:             'hts.c:1212,14'
          Dst:             strcmp
        - Src:             'hts.c:1213,9'
          Dst:             strcmp
        - Src:             'hts.c:1216,14'
          Dst:             strcmp
        - Src:             'hts.c:1217,9'
          Dst:             strcmp
        - Src:             'hts.c:1221,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:    25
      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: 1432
      functionLinenumberEnd: 1462
      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:1438,22'
          Dst:             strlen
        - Src:             'hts.c:1438,39'
          Dst:             strlen
        - Src:             'hts.c:1449,5'
          Dst:             snprintf
        - Src:             'hts.c:1450,50'
          Dst:             strchr
        - Src:             'hts.c:1450,5'
          Dst:             snprintf
        - Src:             'hts.c:1451,14'
          Dst:             hopen
    - functionName:    scan_keyword
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1005
      functionLinenumberEnd: 1013
      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:1008,38'
          Dst:             tolower_c
    - functionName:    hts_parse_format
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1338
      functionLinenumberEnd: 1400
      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:1340,22'
          Dst:             scan_keyword
        - Src:             'hts.c:1345,9'
          Dst:             strcmp
        - Src:             'hts.c:1350,16'
          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:1375,45'
          Dst:             strcmp
        - Src:             'hts.c:1380,16'
          Dst:             strcmp
        - Src:             'hts.c:1380,48'
          Dst:             strcmp
        - Src:             'hts.c:1385,16'
          Dst:             strcmp
        - Src:             'hts.c:1385,45'
          Dst:             strcmp
        - Src:             'hts.c:1390,16'
          Dst:             strcmp
        - Src:             'hts.c:1390,48'
          Dst:             strcmp
        - Src:             'hts.c:1399,12'
          Dst:             hts_parse_opt_list
    - functionName:    hts_open
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 992
      functionLinenumberEnd: 993
      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:993,12'
          Dst:             hts_open_format
    - functionName:    hts_open_format
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 893
      functionLinenumberEnd: 990
      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:942,33'
          Dst:             strstr
        - Src:             'hts.c:944,16'
          Dst:             strdup
        - Src:             'hts.c:950,13'
          Dst:             hopen
        - Src:             'hts.c:953,10'
          Dst:             hts_hopen
        - Src:             'hts.c:967,13'
          Dst:             hts_opt_apply
        - Src:             'hts.c:969,18'
          Dst:             __errno_location
        - Src:             'hts.c:969,37'
          Dst:             __errno_location
        - Src:             'hts.c:969,53'
          Dst:             __errno_location
        - Src:             'hts.c:970,19'
          Dst:             __errno_location
        - Src:             'hts.c:970,38'
          Dst:             __errno_location
        - Src:             'hts.c:973,17'
          Dst:             __errno_location
        - Src:             'hts.c:982,5'
          Dst:             __errno_location
        - Src:             'hts.c:982,5'
          Dst:             __errno_location
        - Src:             'hts.c:982,5'
          Dst:             __errno_location
        - Src:             'hts.c:982,5'
          Dst:             strerror
        - Src:             'hts.c:982,5'
          Dst:             hts_log
        - Src:             'hts.c:987,9'
          Dst:             hclose_abruptly
    - functionName:    hts_hopen
      functionSourceFile: '/src/htslib/hts.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1465
      functionLinenumberEnd: 1636
      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:1553,13'
          Branch Sides:    []
        - Branch String:   'hts.c:1572,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts.c:1468,29'
          Dst:             calloc
        - Src:             'hts.c:1474,14'
          Dst:             strdup
        - Src:             'hts.c:1475,17'
          Dst:             ed_is_big
        - Src:             'hts.c:1478,15'
          Dst:             strchr
        - Src:             'hts.c:1479,9'
          Dst:             strncpy
        - Src:             'hts.c:1483,9'
          Dst:             strncpy
        - Src:             'hts.c:1487,9'
          Dst:             strchr
        - Src:             'hts.c:1490,13'
          Dst:             hts_detect_format2
        - Src:             'hts.c:1500,17'
          Dst:             __errno_location
        - Src:             'hts.c:1505,33'
          Dst:             hopen_htsget_redirect
        - Src:             'hts.c:1510,21'
          Dst:             hclose_abruptly
        - Src:             'hts.c:1518,21'
          Dst:             hts_crypt4gh_redirect
        - Src:             'hts.c:1535,17'
          Dst:             hts_detect_format2
        - Src:             'hts.c:1538,14'
          Dst:             strchr
        - Src:             'hts.c:1538,42'
          Dst:             strchr
        - Src:             'hts.c:1542,13'
          Dst:             strchr
        - Src:             'hts.c:1543,18'
          Dst:             strchr
        - Src:             'hts.c:1544,18'
          Dst:             strchr
        - Src:             'hts.c:1545,18'
          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:1559,22'
          Dst:             abort
        - Src:             'hts.c:1564,25'
          Dst:             format_category
        - Src:             'hts.c:1570,12'
          Dst:             __errno_location
        - Src:             'hts.c:1576,23'
          Dst:             bgzf_hopen
        - Src:             'hts.c:1582,23'
          Dst:             cram_dopen
        - Src:             'hts.c:1585,13'
          Dst:             cram_set_option
        - Src:             'hts.c:1597,27'
          Dst:             bgzf_hopen
        - Src:             'hts.c:1606,9'
          Dst:             __errno_location
        - Src:             'hts.c:1611,9'
          Dst:             hts_process_opts
        - Src:             'hts.c:1619,33'
          Dst:             hclose_abruptly
        - Src:             'hts.c:1624,5'
          Dst:             hts_log
        - Src:             'hts.c:1627,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: 467
      functionLinenumberEnd: 472
      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:         52
      ICount:          542
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - 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: 115
      functionLinenumberEnd: 130
      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: 98
      functionLinenumberEnd: 113
      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: 89
      functionLinenumberEnd: 96
      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: 132
      functionLinenumberEnd: 148
      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: 156
      functionLinenumberEnd: 275
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         102
      ICount:          619
      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:158,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hts_expr.c:160,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:161,17'
          Dst:             expression
        - Src:             'hts_expr.c:162,23'
          Dst:             expr_func_avg
        - Src:             'hts_expr.c:167,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:168,17'
          Dst:             expression
        - Src:             'hts_expr.c:173,44'
          Dst:             ws
        - Src:             'hts_expr.c:173,17'
          Dst:             expression
        - Src:             'hts_expr.c:175,18'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:179,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:185,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:186,17'
          Dst:             expression
        - Src:             'hts_expr.c:188,37'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:190,20'
          Dst:             strncmp
        - Src:             'hts_expr.c:191,17'
          Dst:             expression
        - Src:             'hts_expr.c:193,22'
          Dst:             exp
        - Src:             'hts_expr.c:196,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:202,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:203,17'
          Dst:             expression
        - Src:             'hts_expr.c:204,23'
          Dst:             expr_func_length
        - Src:             'hts_expr.c:205,20'
          Dst:             strncmp
        - Src:             'hts_expr.c:206,17'
          Dst:             expression
        - Src:             'hts_expr.c:208,22'
          Dst:             log
        - Src:             'hts_expr.c:211,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:216,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:217,17'
          Dst:             expression
        - Src:             'hts_expr.c:218,23'
          Dst:             expr_func_min
        - Src:             'hts_expr.c:219,20'
          Dst:             strncmp
        - Src:             'hts_expr.c:220,17'
          Dst:             expression
        - Src:             'hts_expr.c:221,23'
          Dst:             expr_func_max
        - Src:             'hts_expr.c:226,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:227,17'
          Dst:             expression
        - Src:             'hts_expr.c:234,44'
          Dst:             ws
        - Src:             'hts_expr.c:234,17'
          Dst:             expression
        - Src:             'hts_expr.c:235,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:235,47'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:236,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:238,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:242,26'
          Dst:             pow
        - Src:             'hts_expr.c:243,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:248,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:253,13'
          Dst:             strncmp
        - Src:             'hts_expr.c:254,17'
          Dst:             expression
        - Src:             'hts_expr.c:256,22'
          Dst:             sqrt
        - Src:             'hts_expr.c:259,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:267,11'
          Dst:             ws
        - Src:             'hts_expr.c:269,9'
          Dst:             fprintf
    - functionName:    expression
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 846
      functionLinenumberEnd: 847
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - and_expr
      functionUses:    14
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:847,12'
          Dst:             and_expr
    - functionName:    ws
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 73
      functionLinenumberEnd: 76
      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_existsT
      functionSourceFile: '/src/htslib/./htslib/hts_expr.h'
      linkageType:     InternalLinkage
      functionLinenumber: 71
      functionLinenumberEnd: 72
      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:72,33'
          Dst:             hts_expr_val_exists
    - functionName:    hts_expr_val_free
      functionSourceFile: '/src/htslib/./htslib/hts_expr.h'
      linkageType:     InternalLinkage
      functionLinenumber: 84
      functionLinenumberEnd: 86
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          16
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ks_free
      functionUses:    18
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_expr.h:85,5'
          Dst:             ks_free
    - 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: 76
      functionLinenumberEnd: 81
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ks_clear
      functionUses:    26
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_expr.h:77,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: 65
      functionLinenumberEnd: 67
      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: 797
      functionLinenumberEnd: 843
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         98
      ICount:          505
      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:798,9'
          Dst:             eq_expr
        - Src:             'hts_expr.c:802,15'
          Dst:             ws
        - Src:             'hts_expr.c:804,17'
          Dst:             eq_expr
        - Src:             'hts_expr.c:805,18'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:805,48'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:806,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:815,17'
          Dst:             eq_expr
        - Src:             'hts_expr.c:816,18'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:816,48'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:818,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:820,25'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:823,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:825,25'
          Dst:             hts_expr_val_existsT
        - Src:             'hts_expr.c:828,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:839,9'
          Dst:             hts_expr_val_free
    - functionName:    eq_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 698
      functionLinenumberEnd: 788
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         110
      ICount:          665
      EdgeCount:       148
      CyclomaticComplexity: 40
      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:699,9'
          Dst:             cmp_expr
        - Src:             'hts_expr.c:701,11'
          Dst:             ws
        - Src:             'hts_expr.c:711,20'
          Dst:             eq_expr
        - Src:             'hts_expr.c:714,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:714,47'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:715,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:718,45'
          Dst:             strcmp
        - Src:             'hts_expr.c:726,20'
          Dst:             eq_expr
        - Src:             'hts_expr.c:729,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:729,47'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:730,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:733,45'
          Dst:             strcmp
        - Src:             'hts_expr.c:742,15'
          Dst:             eq_expr
        - Src:             'hts_expr.c:744,13'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:758,26'
          Dst:             regcomp
        - Src:             'hts_expr.c:761,21'
          Dst:             regerror
        - Src:             'hts_expr.c:762,21'
          Dst:             fprintf
        - Src:             'hts_expr.c:763,21'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:769,37'
          Dst:             regexec
        - Src:             'hts_expr.c:773,17'
          Dst:             regfree
        - Src:             'hts_expr.c:783,23'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:783,54'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:784,9'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:785,5'
          Dst:             hts_expr_val_free
    - functionName:    cmp_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 625
      functionLinenumberEnd: 687
      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:626,9'
          Dst:             bitor_expr
        - Src:             'hts_expr.c:628,11'
          Dst:             ws
        - Src:             'hts_expr.c:634,15'
          Dst:             cmp_expr
        - Src:             'hts_expr.c:635,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:635,43'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:636,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:640,19'
          Dst:             strcmp
        - Src:             'hts_expr.c:646,15'
          Dst:             cmp_expr
        - Src:             'hts_expr.c:647,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:647,43'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:648,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:652,19'
          Dst:             strcmp
        - Src:             'hts_expr.c:658,15'
          Dst:             cmp_expr
        - Src:             'hts_expr.c:659,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:659,43'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:660,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:664,19'
          Dst:             strcmp
        - Src:             'hts_expr.c:670,15'
          Dst:             cmp_expr
        - Src:             'hts_expr.c:671,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:671,43'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:672,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:676,19'
          Dst:             strcmp
        - Src:             'hts_expr.c:682,23'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:682,53'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:683,9'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:684,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: 587
      functionLinenumberEnd: 614
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          174
      EdgeCount:       40
      CyclomaticComplexity: 11
      functionsReached:
        - bitxor_expr
        - hts_expr_val_exists
        - hts_expr_val_free
        - hts_expr_val_undef
        - ws
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:588,9'
          Dst:             bitxor_expr
        - Src:             'hts_expr.c:593,15'
          Dst:             ws
        - Src:             'hts_expr.c:595,17'
          Dst:             bitxor_expr
        - Src:             'hts_expr.c:596,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:596,48'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:599,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:609,5'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:611,9'
          Dst:             hts_expr_val_undef
    - functionName:    bitxor_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 552
      functionLinenumberEnd: 579
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          159
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - bitand_expr
        - hts_expr_val_exists
        - hts_expr_val_free
        - hts_expr_val_undef
        - ws
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:553,9'
          Dst:             bitand_expr
        - Src:             'hts_expr.c:558,15'
          Dst:             ws
        - Src:             'hts_expr.c:560,17'
          Dst:             bitand_expr
        - Src:             'hts_expr.c:561,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:561,48'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:564,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:574,5'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:576,9'
          Dst:             hts_expr_val_undef
    - functionName:    bitand_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 517
      functionLinenumberEnd: 544
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          174
      EdgeCount:       40
      CyclomaticComplexity: 11
      functionsReached:
        - add_expr
        - hts_expr_val_exists
        - hts_expr_val_free
        - hts_expr_val_undef
        - ws
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:518,9'
          Dst:             add_expr
        - Src:             'hts_expr.c:523,15'
          Dst:             ws
        - Src:             'hts_expr.c:525,17'
          Dst:             add_expr
        - Src:             'hts_expr.c:526,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:526,48'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:529,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:539,5'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:541,9'
          Dst:             hts_expr_val_undef
    - functionName:    add_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 472
      functionLinenumberEnd: 509
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          216
      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:473,9'
          Dst:             mul_expr
        - Src:             'hts_expr.c:479,15'
          Dst:             ws
        - Src:             'hts_expr.c:482,17'
          Dst:             mul_expr
        - Src:             'hts_expr.c:483,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:483,48'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:486,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:499,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:506,5'
          Dst:             hts_expr_val_free
    - functionName:    mul_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 425
      functionLinenumberEnd: 462
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          262
      EdgeCount:       61
      CyclomaticComplexity: 17
      functionsReached:
        - hts_expr_val_exists
        - hts_expr_val_free
        - hts_expr_val_undef
        - unary_expr
        - ws
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:426,9'
          Dst:             unary_expr
        - Src:             'hts_expr.c:432,15'
          Dst:             ws
        - Src:             'hts_expr.c:434,17'
          Dst:             unary_expr
        - Src:             'hts_expr.c:435,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:435,48'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:436,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:438,17'
          Dst:             hts_expr_val_free
        - Src:             'hts_expr.c:451,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:455,24'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:459,5'
          Dst:             hts_expr_val_free
    - functionName:    unary_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 366
      functionLinenumberEnd: 412
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          303
      EdgeCount:       47
      CyclomaticComplexity: 13
      functionsReached:
        - hts_expr_val_exists
        - hts_expr_val_undef
        - simple_expr
        - unary_expr
        - ws
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:368,11'
          Dst:             ws
        - Src:             'hts_expr.c:370,15'
          Dst:             simple_expr
        - Src:             'hts_expr.c:371,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:372,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:380,15'
          Dst:             unary_expr
        - Src:             'hts_expr.c:384,21'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:397,15'
          Dst:             unary_expr
        - Src:             'hts_expr.c:398,14'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:399,13'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:402,18'
          Dst:             hts_expr_val_exists
        - Src:             'hts_expr.c:403,17'
          Dst:             hts_expr_val_undef
        - Src:             'hts_expr.c:410,15'
          Dst:             simple_expr
    - functionName:    simple_expr
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 286
      functionLinenumberEnd: 355
      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:327,25'
          Branch Sides:    []
      Callsites:
        - Src:             'hts_expr.c:288,11'
          Dst:             ws
        - Src:             'hts_expr.c:290,13'
          Dst:             expression
        - Src:             'hts_expr.c:291,15'
          Dst:             ws
        - Src:             'hts_expr.c:293,13'
          Dst:             fprintf
        - Src:             'hts_expr.c:303,16'
          Dst:             hts_str2dbl
        - Src:             'hts_expr.c:321,38'
          Dst:             ks_clear
        - Src:             'hts_expr.c:321,13'
          Dst:             kputsn
        - Src:             'hts_expr.c:348,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: 923
      functionLinenumberEnd: 927
      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:924,5'
          Dst:             ks_free
        - Src:             'hts_expr.c:927,12'
          Dst:             hts_filter_eval_
    - functionName:    hts_filter_eval_
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 878
      functionLinenumberEnd: 902
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          128
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - expression
        - fprintf
        - hts_expr_val_exists
        - ws
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hts_expr.c:882,9'
          Dst:             expression
        - Src:             'hts_expr.c:885,17'
          Dst:             ws
        - Src:             'hts_expr.c:886,9'
          Dst:             fprintf
        - Src:             'hts_expr.c:897,16'
          Dst:             hts_expr_val_exists
    - functionName:    hts_filter_eval
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 906
      functionLinenumberEnd: 919
      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:912,9'
          Dst:             hts_log
        - Src:             'hts_expr.c:918,12'
          Dst:             hts_filter_eval_
    - functionName:    hts_filter_free
      functionSourceFile: '/src/htslib/hts_expr.c'
      linkageType:     InternalLinkage
      functionLinenumber: 864
      functionLinenumberEnd: 874
      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:870,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: 850
      functionLinenumberEnd: 862
      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:851,23'
          Dst:             calloc
        - Src:             'hts_expr.c:855,18'
          Dst:             strlen
        - Src:             'hts_expr.c:856,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:         52
      ICount:          536
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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:    3
      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:    2
      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: 5775
      functionLinenumberEnd: 5797
      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:5791,9'
          Dst:             hts_log
    - functionName:    __ac_X31_hash_string
      functionSourceFile: '/src/htslib/./cram/../htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 455
      functionLinenumberEnd: 458
      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: 529
      functionLinenumberEnd: 536
      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: 5736
      functionLinenumberEnd: 5769
      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:5764,9'
          Dst:             hts_log
    - functionName:    kh_resize_olap_hash
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5644
      functionLinenumberEnd: 5644
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         52
      ICount:          542
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5644,1'
          Dst:             realloc
        - Src:             'sam.c:5644,1'
          Dst:             realloc
        - Src:             'sam.c:5644,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'sam.c:5644,1'
          Dst:             realloc
        - Src:             'sam.c:5644,1'
          Dst:             realloc
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/./cram/../htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 467
      functionLinenumberEnd: 472
      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: 5806
      functionLinenumberEnd: 5944
      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:5820,17'
          Dst:             cigar_iref2iseq_set
        - Src:             'sam.c:5826,17'
          Dst:             cigar_iref2iseq_set
        - Src:             'sam.c:5834,24'
          Dst:             __ac_X31_hash_string
        - Src:             'sam.c:5834,9'
          Dst:             __ac_Wang_hash
        - Src:             'sam.c:5848,21'
          Dst:             cigar_iref2iseq_next
        - Src:             'sam.c:5856,21'
          Dst:             cigar_iref2iseq_next
        - Src:             'sam.c:5882,29'
          Dst:             cigar_iref2iseq_next
        - Src:             'sam.c:5894,29'
          Dst:             cigar_iref2iseq_next
    - functionName:    kh_put_olap_hash
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5644
      functionLinenumberEnd: 5644
      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:5644,1'
          Dst:             kh_resize_olap_hash
        - Src:             'sam.c:5644,1'
          Dst:             kh_resize_olap_hash
        - Src:             'sam.c:5644,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'sam.c:5644,1'
          Dst:             strcmp
    - functionName:    kh_del_olap_hash
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5644
      functionLinenumberEnd: 5644
      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: 5644
      functionLinenumberEnd: 5644
      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:5644,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'sam.c:5644,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: 4320
      functionLinenumberEnd: 4324
      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: 3314
      functionLinenumberEnd: 3315
      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: 3216
      functionLinenumberEnd: 3312
      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:3225,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3230,5'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3233,14'
          Dst:             calloc
        - Src:             'sam.c:3238,24'
          Dst:             calloc
        - Src:             'sam.c:3240,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3251,9'
          Dst:             sam_state_err
        - Src:             'sam.c:3261,17'
          Dst:             hts_realloc_p
        - Src:             'sam.c:3264,17'
          Dst:             sam_state_err
        - Src:             'sam.c:3280,20'
          Dst:             strchr
        - Src:             'sam.c:3292,13'
          Dst:             sam_parse1
        - Src:             'sam.c:3293,31'
          Dst:             __errno_location
        - Src:             'sam.c:3293,39'
          Dst:             __errno_location
        - Src:             'sam.c:3293,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3294,13'
          Dst:             cleanup_sp_lines
        - Src:             'sam.c:3303,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3306,5'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3310,5'
          Dst:             sam_free_sp_bams
    - functionName:    sam_state_err
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3070
      functionLinenumberEnd: 3075
      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:3071,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3074,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: 2664
      functionLinenumberEnd: 2843
      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:2717,9'
          Dst:             strchr
        - Src:             'sam.c:2719,5'
          Dst:             hts_log
        - Src:             'sam.c:2720,5'
          Dst:             hts_log
        - Src:             'sam.c:2722,9'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2732,15'
          Dst:             parse_sam_flag
        - Src:             'sam.c:2736,9'
          Dst:             strchr
        - Src:             'sam.c:2737,9'
          Dst:             strcmp
        - Src:             'sam.c:2738,9'
          Dst:             hts_log
        - Src:             'sam.c:2739,18'
          Dst:             bam_name2id
        - Src:             'sam.c:2740,9'
          Dst:             hts_log
        - Src:             'sam.c:2741,9'
          Dst:             hts_strprint
        - Src:             'sam.c:2741,9'
          Dst:             hts_log
        - Src:             'sam.c:2745,14'
          Dst:             hts_str2uint
        - Src:             'sam.c:2748,9'
          Dst:             hts_log
        - Src:             'sam.c:2754,15'
          Dst:             hts_str2uint
        - Src:             'sam.c:2760,23'
          Dst:             bam_parse_cigar
        - Src:             'sam.c:2765,46'
          Dst:             bam_cigar2rlen
        - Src:             'sam.c:2768,9'
          Dst:             hts_log
        - Src:             'sam.c:2770,13'
          Dst:             strchr
        - Src:             'sam.c:2773,5'
          Dst:             hts_log
        - Src:             'sam.c:2775,14'
          Dst:             hts_reg2bin
        - Src:             'sam.c:2777,9'
          Dst:             strchr
        - Src:             'sam.c:2778,9'
          Dst:             strcmp
        - Src:             'sam.c:2780,16'
          Dst:             strcmp
        - Src:             'sam.c:2783,19'
          Dst:             bam_name2id
        - Src:             'sam.c:2784,9'
          Dst:             hts_log
        - Src:             'sam.c:2785,9'
          Dst:             hts_strprint
        - Src:             'sam.c:2785,9'
          Dst:             hts_log
        - Src:             'sam.c:2788,15'
          Dst:             hts_str2uint
        - Src:             'sam.c:2791,9'
          Dst:             hts_log
        - Src:             'sam.c:2795,16'
          Dst:             hts_str2int
        - Src:             'sam.c:2797,5'
          Dst:             hts_log
        - Src:             'sam.c:2799,9'
          Dst:             strchr
        - Src:             'sam.c:2800,9'
          Dst:             strcmp
        - Src:             'sam.c:2801,9'
          Dst:             hts_log
        - Src:             'sam.c:2803,24'
          Dst:             bam_cigar2qlen
        - Src:             'sam.c:2804,9'
          Dst:             hts_log
        - Src:             'sam.c:2806,9'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2815,5'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2821,9'
          Dst:             hts_log
        - Src:             'sam.c:2825,9'
          Dst:             hts_log
        - Src:             'sam.c:2830,9'
          Dst:             aux_parse
        - Src:             'sam.c:2833,9'
          Dst:             bam_tag2cigar
    - functionName:    cleanup_sp_lines
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3201
      functionLinenumberEnd: 3211
      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:3206,5'
          Dst:             __assert_fail
        - Src:             'sam.c:3209,5'
          Dst:             sam_free_sp_bams
    - functionName:    sam_free_sp_bams
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3077
      functionLinenumberEnd: 3090
      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: 2499
      functionLinenumberEnd: 2517
      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:2501,16'
          Dst:             hts_str2uint
        - Src:             'sam.c:2507,33'
          Dst:             strtoul
    - functionName:    bam_name2id
      functionSourceFile: '/src/htslib/./htslib/sam.h'
      linkageType:     InternalLinkage
      functionLinenumber: 780
      functionLinenumberEnd: 780
      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:780,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: 2929
      functionLinenumberEnd: 2971
      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:2934,9'
          Dst:             hts_log
        - Src:             'sam.c:2939,34'
          Dst:             read_ncigar
        - Src:             'sam.c:2947,9'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2948,9'
          Dst:             hts_log
        - Src:             'sam.c:2960,22'
          Dst:             parse_cigar
    - functionName:    bam_cigar2rlen
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 665
      functionLinenumberEnd: 671
      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: 1517
      functionLinenumberEnd: 1522
      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: 655
      functionLinenumberEnd: 661
      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: 2526
      functionLinenumberEnd: 2661
      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:2556,17'
          Dst:             hts_log
        - Src:             'sam.c:2560,9'
          Dst:             isspace_c
        - Src:             'sam.c:2560,9'
          Dst:             isspace_c
        - Src:             'sam.c:2560,9'
          Dst:             hts_log
        - Src:             'sam.c:2563,30'
          Dst:             isspace_c
        - Src:             'sam.c:2565,29'
          Dst:             isspace_c
        - Src:             'sam.c:2572,17'
          Dst:             kh_get_tag
        - Src:             'sam.c:2580,13'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2584,13'
          Dst:             isspace_c
        - Src:             'sam.c:2584,13'
          Dst:             isspace_c
        - Src:             'sam.c:2584,13'
          Dst:             hts_log
        - Src:             'sam.c:2587,13'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2594,29'
          Dst:             hts_str2int
        - Src:             'sam.c:2600,21'
          Dst:             i16_to_le
        - Src:             'sam.c:2604,21'
          Dst:             i32_to_le
        - Src:             'sam.c:2608,30'
          Dst:             hts_str2uint
        - Src:             'sam.c:2614,21'
          Dst:             u16_to_le
        - Src:             'sam.c:2618,21'
          Dst:             u32_to_le
        - Src:             'sam.c:2624,25'
          Dst:             strtod
        - Src:             'sam.c:2624,13'
          Dst:             float_to_le
        - Src:             'sam.c:2628,26'
          Dst:             strtod
        - Src:             'sam.c:2628,13'
          Dst:             double_to_le
        - Src:             'sam.c:2631,25'
          Dst:             strchr
        - Src:             'sam.c:2632,33'
          Dst:             strlen
        - Src:             'sam.c:2633,13'
          Dst:             isspace_c
        - Src:             'sam.c:2633,13'
          Dst:             isspace_c
        - Src:             'sam.c:2633,13'
          Dst:             hts_log
        - Src:             'sam.c:2636,17'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2643,13'
          Dst:             isspace_c
        - Src:             'sam.c:2643,13'
          Dst:             isspace_c
        - Src:             'sam.c:2643,13'
          Dst:             hts_log
        - Src:             'sam.c:2646,17'
          Dst:             sam_parse_B_vals
        - Src:             'sam.c:2648,16'
          Dst:             isspace_c
        - Src:             'sam.c:2648,16'
          Dst:             isspace_c
        - Src:             'sam.c:2648,16'
          Dst:             hts_strprint
        - Src:             'sam.c:2648,16'
          Dst:             hts_log
        - Src:             'sam.c:2654,5'
          Dst:             isspace_c
        - Src:             'sam.c:2654,5'
          Dst:             isspace_c
        - Src:             'sam.c:2654,5'
          Dst:             hts_log
    - functionName:    bam_tag2cigar
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 682
      functionLinenumberEnd: 736
      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:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:696,19'
          Dst:             bam_aux_get
        - Src:             'sam.c:697,23'
          Dst:             __errno_location
        - Src:             'sam.c:699,13'
          Dst:             __errno_location
        - Src:             'sam.c:700,9'
          Dst:             __errno_location
        - Src:             'sam.c:711,14'
          Dst:             le_to_u32
        - Src:             'sam.c:721,9'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:732,48'
          Dst:             bam_endpos
        - Src:             'sam.c:732,23'
          Dst:             hts_reg2bin
        - Src:             'sam.c:734,9'
          Dst:             hts_log
    - functionName:    bam_aux_get
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4845
      functionLinenumberEnd: 4865
      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:4847,14'
          Dst:             bam_aux_first
        - Src:             'sam.c:4850,26'
          Dst:             skip_aux
        - Src:             'sam.c:4847,39'
          Dst:             bam_aux_next
        - Src:             'sam.c:4861,5'
          Dst:             hts_log
        - Src:             'sam.c:4863,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: 675
      functionLinenumberEnd: 678
      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:676,55'
          Dst:             bam_cigar2rlen
    - functionName:    bam_aux_first
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4822
      functionLinenumberEnd: 4827
      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:4825,25'
          Dst:             __errno_location
    - functionName:    skip_aux
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4796
      functionLinenumberEnd: 4819
      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:4801,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:4800,12'
          Dst:             aux_type2size
        - Src:             'sam.c:4804,13'
          Dst:             memchr
        - Src:             'sam.c:4808,16'
          Dst:             aux_type2size
        - Src:             'sam.c:4809,13'
          Dst:             le_to_u32
    - functionName:    bam_aux_next
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4830
      functionLinenumberEnd: 4842
      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:4832,24'
          Dst:             skip_aux
        - Src:             'sam.c:4834,28'
          Dst:             __errno_location
        - Src:             'sam.c:4838,5'
          Dst:             hts_log
        - Src:             'sam.c:4840,5'
          Dst:             __errno_location
    - functionName:    aux_type2size
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 739
      functionLinenumberEnd: 754
      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:740,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: 63
      functionLinenumberEnd: 63
      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: 2493
      functionLinenumberEnd: 2496
      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:2496,12'
          Dst:             sam_parse_B_vals_r
    - functionName:    sam_parse_B_vals_r
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2368
      functionLinenumberEnd: 2489
      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:2376,9'
          Dst:             hts_log
        - Src:             'sam.c:2386,12'
          Dst:             aux_type2size
        - Src:             'sam.c:2388,9'
          Dst:             hts_log
        - Src:             'sam.c:2405,12'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2406,9'
          Dst:             hts_log
        - Src:             'sam.c:2419,19'
          Dst:             sam_parse_Bc_vals
        - Src:             'sam.c:2422,19'
          Dst:             sam_parse_BC_vals
        - Src:             'sam.c:2425,19'
          Dst:             sam_parse_Bs_vals
        - Src:             'sam.c:2428,19'
          Dst:             sam_parse_BS_vals
        - Src:             'sam.c:2431,19'
          Dst:             sam_parse_Bi_vals
        - Src:             'sam.c:2434,19'
          Dst:             sam_parse_BI_vals
        - Src:             'sam.c:2437,19'
          Dst:             sam_parse_Bf_vals
        - Src:             'sam.c:2442,9'
          Dst:             hts_log
        - Src:             'sam.c:2445,5'
          Dst:             i32_to_le
        - Src:             'sam.c:2459,19'
          Dst:             hts_str2int
        - 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:2476,28'
          Dst:             sam_parse_B_vals_r
        - Src:             'sam.c:2478,28'
          Dst:             sam_parse_B_vals_r
        - Src:             'sam.c:2480,28'
          Dst:             sam_parse_B_vals_r
        - Src:             'sam.c:2485,9'
          Dst:             hts_log
    - functionName:    sam_parse_Bc_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2247
      functionLinenumberEnd: 2257
      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:2250,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2253,34'
          Dst:             hts_str2int
    - functionName:    sam_parse_BC_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2261
      functionLinenumberEnd: 2277
      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:2264,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2268,38'
          Dst:             hts_str2uint
    - functionName:    sam_parse_Bs_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2281
      functionLinenumberEnd: 2292
      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:2284,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2287,19'
          Dst:             hts_str2int
        - Src:             'sam.c:2287,9'
          Dst:             i16_to_le
    - functionName:    sam_parse_BS_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2296
      functionLinenumberEnd: 2313
      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:2299,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2303,23'
          Dst:             hts_str2uint
        - Src:             'sam.c:2303,13'
          Dst:             u16_to_le
    - functionName:    sam_parse_Bi_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2317
      functionLinenumberEnd: 2328
      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:2320,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2323,19'
          Dst:             hts_str2int
        - Src:             'sam.c:2323,9'
          Dst:             i32_to_le
    - functionName:    sam_parse_BI_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2332
      functionLinenumberEnd: 2349
      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:2335,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2339,23'
          Dst:             hts_str2uint
        - Src:             'sam.c:2339,13'
          Dst:             u32_to_le
    - functionName:    sam_parse_Bf_vals
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2353
      functionLinenumberEnd: 2363
      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:2356,17'
          Dst:             grow_B_array
        - Src:             'sam.c:2359,21'
          Dst:             strtod
        - Src:             'sam.c:2359,9'
          Dst:             float_to_le
    - functionName:    grow_B_array
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2222
      functionLinenumberEnd: 2237
      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:2225,9'
          Dst:             __errno_location
        - Src:             'sam.c:2230,9'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:2231,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: 2845
      functionLinenumberEnd: 2859
      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:2848,14'
          Dst:             isdigit_c
        - Src:             'sam.c:2850,9'
          Dst:             hts_log
        - Src:             'sam.c:2854,9'
          Dst:             hts_log
    - functionName:    parse_cigar
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2867
      functionLinenumberEnd: 2894
      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:2874,15'
          Dst:             hts_str2uint
        - Src:             'sam.c:2876,13'
          Dst:             hts_log
        - Src:             'sam.c:2880,13'
          Dst:             hts_log
        - Src:             'sam.c:2886,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: 438
      functionLinenumberEnd: 468
      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:445,9'
          Dst:             __errno_location
        - Src:             'sam.c:450,9'
          Dst:             __errno_location
        - Src:             'sam.c:454,10'
          Dst:             bam_get_mempolicy
        - Src:             'sam.c:455,20'
          Dst:             realloc
        - Src:             'sam.c:461,34'
          Dst:             bam_get_mempolicy
        - Src:             'sam.c:461,13'
          Dst:             bam_set_mempolicy
    - functionName:    bam_get_mempolicy
      functionSourceFile: '/src/htslib/./htslib/sam.h'
      linkageType:     InternalLinkage
      functionLinenumber: 966
      functionLinenumberEnd: 967
      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: 957
      functionLinenumberEnd: 959
      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: 3326
      functionLinenumberEnd: 3493
      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:3341,9'
          Branch Sides:    []
        - Branch String:   'sam.c:3461,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:3335,9'
          Dst:             ks_resize
        - Src:             'sam.c:3340,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3344,13'
          Dst:             pthread_cond_signal
        - Src:             'sam.c:3345,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3346,13'
          Dst:             hts_tpool_process_shutdown
        - Src:             'sam.c:3352,9'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3354,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3360,9'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3364,17'
          Dst:             calloc
        - Src:             'sam.c:3368,23'
          Dst:             hts_malloc_ps
        - Src:             'sam.c:3379,24'
          Dst:             hts_realloc_ps
        - Src:             'sam.c:3392,22'
          Dst:             bgzf_read
        - Src:             'sam.c:3394,22'
          Dst:             hread
        - Src:             'sam.c:3396,31'
          Dst:             __errno_location
        - Src:             'sam.c:3396,39'
          Dst:             __errno_location
        - Src:             'sam.c:3396,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3413,28'
          Dst:             hts_realloc_pse
        - Src:             'sam.c:3418,17'
          Dst:             __assert_fail
        - Src:             'sam.c:3419,17'
          Dst:             __assert_fail
        - Src:             'sam.c:3420,17'
          Dst:             __assert_fail
        - Src:             'sam.c:3426,17'
          Dst:             ks_resize
        - Src:             'sam.c:3438,13'
          Dst:             hts_tpool_dispatch3
        - Src:             'sam.c:3438,13'
          Dst:             sam_parse_worker
        - Src:             'sam.c:3438,13'
          Dst:             cleanup_sp_lines
        - Src:             'sam.c:3438,13'
          Dst:             cleanup_sp_bams
        - Src:             'sam.c:3441,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3443,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3448,9'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3452,9'
          Dst:             hts_tpool_dispatch
        - Src:             'sam.c:3452,9'
          Dst:             sam_parse_eof
        - Src:             'sam.c:3458,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3460,13'
          Dst:             pthread_cond_wait
        - Src:             'sam.c:3463,13'
          Dst:             pthread_cond_signal
        - Src:             'sam.c:3464,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3465,13'
          Dst:             hts_tpool_process_shutdown
        - Src:             'sam.c:3469,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3475,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3477,5'
          Dst:             pthread_cond_signal
        - Src:             'sam.c:3478,5'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3481,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3484,9'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3491,23'
          Dst:             __errno_location
        - Src:             'sam.c:3491,31'
          Dst:             __errno_location
        - Src:             'sam.c:3491,5'
          Dst:             sam_state_err
        - Src:             'sam.c:3492,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: 3319
      functionLinenumberEnd: 3321
      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:3320,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: 63
      functionLinenumberEnd: 63
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         50
      ICount:          473
      EdgeCount:       65
      CyclomaticComplexity: 17
      functionsReached:
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:63,1'
          Dst:             realloc
        - Src:             'sam.c:63,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: 1175
      functionLinenumberEnd: 1197
      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:1178,18'
          Dst:             bam_aux_get
        - Src:             'sam.c:1185,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: 6337
      functionLinenumberEnd: 6341
      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:6340,9'
          Dst:             bam_plp_destructor
    - functionName:    bam_plp_destructor
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5711
      functionLinenumberEnd: 5713
      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: 6330
      functionLinenumberEnd: 6334
      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:6333,9'
          Dst:             bam_plp_constructor
    - functionName:    bam_plp_constructor
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5706
      functionLinenumberEnd: 5708
      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: 6316
      functionLinenumberEnd: 6327
      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:6321,9'
          Dst:             bam_plp_reset
    - functionName:    bam_plp_reset
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6183
      functionLinenumberEnd: 6193
      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:6184,5'
          Dst:             overlap_remove
        - Src:             'sam.c:6191,9'
          Dst:             mp_free
    - functionName:    overlap_remove
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5987
      functionLinenumberEnd: 6006
      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:5996,16'
          Dst:             kh_get_olap_hash
        - Src:             'sam.c:5998,13'
          Dst:             kh_del_olap_hash
        - Src:             'sam.c:6004,51'
          Dst:             kh_del_olap_hash
    - functionName:    mp_free
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5394
      functionLinenumberEnd: 5401
      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:5398,19'
          Dst:             hts_realloc_p
    - functionName:    bam_mplp_auto
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6300
      functionLinenumberEnd: 6313
      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:6302,15'
          Dst:             bam_mplp64_auto
        - Src:             'sam.c:6307,13'
          Dst:             hts_log
    - functionName:    bam_mplp64_auto
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6259
      functionLinenumberEnd: 6297
      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:6267,28'
          Dst:             bam_plp64_auto
    - functionName:    bam_plp64_auto
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6140
      functionLinenumberEnd: 6164
      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:6143,16'
          Dst:             bam_plp64_next
        - Src:             'sam.c:6149,17'
          Dst:             bam_plp_push
        - Src:             'sam.c:6153,24'
          Dst:             bam_plp64_next
        - Src:             'sam.c:6157,13'
          Dst:             bam_plp_push
        - Src:             'sam.c:6161,20'
          Dst:             bam_plp64_next
    - functionName:    bam_plp64_next
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6014
      functionLinenumberEnd: 6065
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         73
      ICount:          533
      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:6024,17'
          Dst:             hts_prefetch
        - Src:             'sam.c:6027,17'
          Dst:             overlap_remove
        - Src:             'sam.c:6030,34'
          Dst:             mp_free
        - Src:             'sam.c:6036,37'
          Dst:             hts_realloc_p
        - Src:             'sam.c:6040,25'
          Dst:             resolve_cigar2
        - Src:             'sam.c:6049,17'
          Dst:             hts_log
    - functionName:    bam_plp_push
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6084
      functionLinenumberEnd: 6137
      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:6087,32'
          Dst:             overlap_remove
        - Src:             'sam.c:6089,42'
          Dst:             overlap_remove
        - Src:             'sam.c:6092,13'
          Dst:             overlap_remove
        - Src:             'sam.c:6095,13'
          Dst:             bam_copy1
        - Src:             'sam.c:6100,41'
          Dst:             bam_cigar2rlen
        - Src:             'sam.c:6103,13'
          Dst:             hts_log
        - Src:             'sam.c:6108,13'
          Dst:             hts_log
        - Src:             'sam.c:6114,30'
          Dst:             mp_alloc
        - Src:             'sam.c:6122,21'
          Dst:             mp_free
        - Src:             'sam.c:6127,17'
          Dst:             overlap_push
        - Src:             'sam.c:6128,17'
          Dst:             mp_free
    - functionName:    bam_copy1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 488
      functionLinenumberEnd: 495
      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:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:489,9'
          Dst:             realloc_bam_data
    - functionName:    mp_alloc
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5388
      functionLinenumberEnd: 5392
      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:5390,39'
          Dst:             calloc
    - functionName:    overlap_push
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5951
      functionLinenumberEnd: 5984
      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:5963,21'
          Dst:             kh_get_olap_hash
        - Src:             'sam.c:5970,20'
          Dst:             kh_put_olap_hash
        - Src:             'sam.c:5978,19'
          Dst:             tweak_overlap_quality
        - Src:             'sam.c:5979,9'
          Dst:             kh_del_olap_hash
        - Src:             'sam.c:5980,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: 5412
      functionLinenumberEnd: 5502
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         176
      ICount:          1094
      EdgeCount:       234
      CyclomaticComplexity: 60
      functionsReached:
        - __assert_fail
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:5434,13'
          Dst:             __assert_fail
        - Src:             'sam.c:5440,13'
          Dst:             __assert_fail
        - Src:             'sam.c:5456,13'
          Dst:             __assert_fail
    - functionName:    bam_mplp_destroy
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6250
      functionLinenumberEnd: 6256
      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:6252,35'
          Dst:             bam_plp_destroy
    - functionName:    bam_plp_destroy
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5690
      functionLinenumberEnd: 5703
      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:5692,27'
          Dst:             kh_destroy_olap_hash
        - Src:             'sam.c:5697,9'
          Dst:             mp_free
        - Src:             'sam.c:5699,5'
          Dst:             mp_destroy
        - Src:             'sam.c:5700,18'
          Dst:             bam_destroy1
    - functionName:    kh_destroy_olap_hash
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5644
      functionLinenumberEnd: 5644
      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: 5378
      functionLinenumberEnd: 5386
      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: 471
      functionLinenumberEnd: 485
      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:473,10'
          Dst:             bam_get_mempolicy
        - Src:             'sam.c:475,14'
          Dst:             bam_get_mempolicy
        - Src:             'sam.c:483,10'
          Dst:             bam_get_mempolicy
    - functionName:    bam_mplp_set_maxcnt
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6243
      functionLinenumberEnd: 6247
      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: 6235
      functionLinenumberEnd: 6239
      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:6238,14'
          Dst:             bam_plp_init_overlaps
    - functionName:    bam_plp_init_overlaps
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5684
      functionLinenumberEnd: 5686
      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:5685,22'
          Dst:             kh_init_olap_hash
    - functionName:    kh_init_olap_hash
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5644
      functionLinenumberEnd: 5644
      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:5644,1'
          Dst:             calloc
    - functionName:    bam_mplp_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6214
      functionLinenumberEnd: 6231
      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:6217,24'
          Dst:             calloc
        - Src:             'sam.c:6218,29'
          Dst:             calloc
        - Src:             'sam.c:6219,27'
          Dst:             calloc
        - Src:             'sam.c:6220,25'
          Dst:             calloc
        - Src:             'sam.c:6221,40'
          Dst:             calloc
        - Src:             'sam.c:6222,30'
          Dst:             calloc
        - Src:             'sam.c:6227,25'
          Dst:             bam_plp_init
    - functionName:    bam_plp_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5668
      functionLinenumberEnd: 5680
      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:5670,23'
          Dst:             calloc
        - Src:             'sam.c:5671,16'
          Dst:             mp_init
        - Src:             'sam.c:5672,31'
          Dst:             mp_alloc
        - Src:             'sam.c:5678,19'
          Dst:             bam_init1
    - functionName:    mp_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5372
      functionLinenumberEnd: 5375
      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:5374,22'
          Dst:             calloc
    - functionName:    bam_init1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 433
      functionLinenumberEnd: 434
      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:434,21'
          Dst:             calloc
    - functionName:    bam_plp_set_maxcnt
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6196
      functionLinenumberEnd: 6198
      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: 6167
      functionLinenumberEnd: 6180
      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:6169,30'
          Dst:             bam_plp64_auto
        - Src:             'sam.c:6173,9'
          Dst:             hts_log
    - functionName:    bam_plp_next
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6068
      functionLinenumberEnd: 6081
      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:6070,30'
          Dst:             bam_plp64_next
        - Src:             'sam.c:6074,9'
          Dst:             hts_log
    - functionName:    bam_plp_insertion
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5635
      functionLinenumberEnd: 5636
      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:5636,12'
          Dst:             bam_plp_insertion_mod
    - functionName:    bam_plp_insertion_mod
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5521
      functionLinenumberEnd: 5623
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         61
      ICount:          609
      EdgeCount:       75
      CyclomaticComplexity: 16
      functionsReached:
        - bam_mods_at_qpos
        - ks_resize
        - snprintf
      functionUses:    1
      BranchProfiles:
        - Branch String:   'sam.c:5541,9'
          Branch Sides:    []
        - Branch String:   'sam.c:5562,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:5526,13'
          Dst:             ks_resize
        - Src:             'sam.c:5555,9'
          Dst:             ks_resize
        - Src:             'sam.c:5576,32'
          Dst:             bam_mods_at_qpos
        - Src:             'sam.c:5579,25'
          Dst:             ks_resize
        - Src:             'sam.c:5586,29'
          Dst:             snprintf
        - Src:             'sam.c:5591,38'
          Dst:             snprintf
        - Src:             'sam.c:5597,38'
          Dst:             snprintf
    - functionName:    bam_flag2str
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5320
      functionLinenumberEnd: 5335
      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:5322,29'
          Dst:             ksprintf
        - Src:             'sam.c:5323,34'
          Dst:             ksprintf
        - Src:             'sam.c:5324,28'
          Dst:             ksprintf
        - Src:             'sam.c:5325,29'
          Dst:             ksprintf
        - Src:             'sam.c:5326,30'
          Dst:             ksprintf
        - Src:             'sam.c:5327,31'
          Dst:             ksprintf
        - Src:             'sam.c:5328,28'
          Dst:             ksprintf
        - Src:             'sam.c:5329,28'
          Dst:             ksprintf
        - Src:             'sam.c:5330,32'
          Dst:             ksprintf
        - Src:             'sam.c:5331,29'
          Dst:             ksprintf
        - Src:             'sam.c:5332,26'
          Dst:             ksprintf
        - Src:             'sam.c:5333,36'
          Dst:             ksprintf
        - Src:             'sam.c:5334,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: 5291
      functionLinenumberEnd: 5317
      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:5293,21'
          Dst:             strtol
        - Src:             'sam.c:5300,15'
          Dst:             strncasecmp
        - Src:             'sam.c:5301,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5302,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5303,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5304,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5305,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5306,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5307,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5308,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5309,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5310,20'
          Dst:             strncasecmp
        - Src:             'sam.c:5311,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: 5215
      functionLinenumberEnd: 5287
      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:5216,40'
          Dst:             strlen
        - Src:             'sam.c:5217,40'
          Dst:             strlen
        - Src:             'sam.c:5224,5'
          Dst:             strcpy
        - Src:             'sam.c:5225,22'
          Dst:             strlen
        - Src:             'sam.c:5230,13'
          Dst:             find_file_extension
        - Src:             'sam.c:5234,13'
          Dst:             sam_open_mode
        - Src:             'sam.c:5242,17'
          Dst:             strchr
        - Src:             'sam.c:5246,22'
          Dst:             strlen
        - Src:             'sam.c:5249,9'
          Dst:             strncmp
        - Src:             'sam.c:5251,16'
          Dst:             strncmp
        - Src:             'sam.c:5253,16'
          Dst:             strncmp
        - Src:             'sam.c:5255,9'
          Dst:             strcpy
        - Src:             'sam.c:5257,16'
          Dst:             strncmp
        - Src:             'sam.c:5259,9'
          Dst:             strcpy
        - Src:             'sam.c:5261,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:5268,16'
          Dst:             strncmp
        - Src:             'sam.c:5269,16'
          Dst:             strncmp
        - Src:             'sam.c:5272,16'
          Dst:             strncmp
        - Src:             'sam.c:5273,16'
          Dst:             strncmp
        - Src:             'sam.c:5275,16'
          Dst:             strncmp
        - Src:             'sam.c:5276,16'
          Dst:             strncmp
        - Src:             'sam.c:5284,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: 5184
      functionLinenumberEnd: 5207
      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:5189,13'
          Dst:             find_file_extension
        - Src:             'sam.c:5190,16'
          Dst:             sam_open_mode
        - Src:             'sam.c:5192,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5192,46'
          Dst:             strcpy
        - Src:             'sam.c:5193,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5193,47'
          Dst:             strcpy
        - Src:             'sam.c:5194,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5194,46'
          Dst:             strcpy
        - Src:             'sam.c:5195,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5195,49'
          Dst:             strcpy
        - Src:             'sam.c:5196,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5197,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5197,45'
          Dst:             strcpy
        - Src:             'sam.c:5198,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5199,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5199,48'
          Dst:             strcpy
        - Src:             'sam.c:5200,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5201,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5201,45'
          Dst:             strcpy
        - Src:             'sam.c:5202,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5203,14'
          Dst:             strcasecmp
        - Src:             'sam.c:5203,48'
          Dst:             strcpy
    - functionName:    bam_auxB2f
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5173
      functionLinenumberEnd: 5181
      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:5174,20'
          Dst:             bam_auxB_len
        - Src:             'sam.c:5176,9'
          Dst:             __errno_location
        - Src:             'sam.c:5179,29'
          Dst:             le_to_float
        - Src:             'sam.c:5180,17'
          Dst:             get_int_aux_val
    - functionName:    bam_auxB_len
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5154
      functionLinenumberEnd: 5160
      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:5156,9'
          Dst:             __errno_location
        - Src:             'sam.c:5159,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: 5105
      functionLinenumberEnd: 5117
      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:5106,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:5107,26'
          Dst:             le_to_i8
        - Src:             'sam.c:5109,26'
          Dst:             le_to_i16
        - Src:             'sam.c:5110,26'
          Dst:             le_to_u16
        - Src:             'sam.c:5111,26'
          Dst:             le_to_i32
        - Src:             'sam.c:5112,26'
          Dst:             le_to_u32
        - Src:             'sam.c:5114,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: 5163
      functionLinenumberEnd: 5170
      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:5164,20'
          Dst:             bam_auxB_len
        - Src:             'sam.c:5166,9'
          Dst:             __errno_location
        - Src:             'sam.c:5169,12'
          Dst:             get_int_aux_val
    - functionName:    bam_aux2Z
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5145
      functionLinenumberEnd: 5151
      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:5149,5'
          Dst:             __errno_location
    - functionName:    bam_aux2A
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5136
      functionLinenumberEnd: 5142
      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:5140,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: 5127
      functionLinenumberEnd: 5133
      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:5130,29'
          Dst:             le_to_double
        - Src:             'sam.c:5131,34'
          Dst:             le_to_float
        - Src:             'sam.c:5132,17'
          Dst:             get_int_aux_val
    - functionName:    bam_aux2i
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5120
      functionLinenumberEnd: 5123
      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:5123,12'
          Dst:             get_int_aux_val
    - functionName:    bam_aux_update_array
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5048
      functionLinenumberEnd: 5101
      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:5049,18'
          Dst:             bam_aux_get
        - Src:             'sam.c:5054,26'
          Dst:             __errno_location
        - Src:             'sam.c:5055,18'
          Dst:             aux_type2size
        - Src:             'sam.c:5056,41'
          Dst:             __errno_location
        - Src:             'sam.c:5057,19'
          Dst:             le_to_u32
        - Src:             'sam.c:5059,13'
          Dst:             __errno_location
        - Src:             'sam.c:5067,14'
          Dst:             aux_type2size
        - Src:             'sam.c:5068,37'
          Dst:             __errno_location
        - Src:             'sam.c:5069,39'
          Dst:             __errno_location
        - Src:             'sam.c:5075,13'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:5092,5'
          Dst:             u32_to_le
    - functionName:    bam_aux_update_float
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5011
      functionLinenumberEnd: 5044
      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:5016,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:5012,18'
          Dst:             bam_aux_get
        - Src:             'sam.c:5019,22'
          Dst:             __errno_location
        - Src:             'sam.c:5022,13'
          Dst:             __errno_location
        - Src:             'sam.c:5030,13'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:5040,5'
          Dst:             float_to_le
    - functionName:    bam_aux_update_int
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4945
      functionLinenumberEnd: 5008
      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:4962,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:4950,9'
          Dst:             __errno_location
        - Src:             'sam.c:4960,9'
          Dst:             bam_aux_get
        - Src:             'sam.c:4966,22'
          Dst:             __errno_location
        - Src:             'sam.c:4969,13'
          Dst:             __errno_location
        - Src:             'sam.c:4980,13'
          Dst:             possibly_expand_bam_data
        - Src:             'sam.c:4994,9'
          Dst:             __assert_fail
    - functionName:    bam_aux_update_str
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4893
      functionLinenumberEnd: 4942
      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:4895,34'
          Dst:             strlen
        - Src:             'sam.c:4898,22'
          Dst:             __errno_location
        - Src:             'sam.c:4900,18'
          Dst:             bam_aux_get
        - Src:             'sam.c:4905,13'
          Dst:             hts_log
        - Src:             'sam.c:4906,13'
          Dst:             __errno_location
        - Src:             'sam.c:4910,13'
          Dst:             memchr
        - Src:             'sam.c:4914,13'
          Dst:             __errno_location
        - Src:             'sam.c:4917,13'
          Dst:             __errno_location
        - Src:             'sam.c:4925,13'
          Dst:             possibly_expand_bam_data
    - functionName:    bam_aux_remove
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4874
      functionLinenumberEnd: 4890
      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:4876,21'
          Dst:             skip_aux
        - Src:             'sam.c:4880,24'
          Dst:             __errno_location
        - Src:             'sam.c:4886,5'
          Dst:             hts_log
        - Src:             'sam.c:4888,5'
          Dst:             __errno_location
    - functionName:    bam_aux_del
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4868
      functionLinenumberEnd: 4870
      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:4869,9'
          Dst:             bam_aux_remove
        - Src:             'sam.c:4870,18'
          Dst:             __errno_location
    - functionName:    bam_aux_append
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4764
      functionLinenumberEnd: 4793
      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:4767,5'
          Dst:             __assert_fail
        - Src:             'sam.c:4771,9'
          Dst:             realloc_bam_data
        - Src:             'sam.c:4791,5'
          Dst:             __errno_location
    - functionName:    sam_dispatcher_write
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3499
      functionLinenumberEnd: 3649
      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:3505,17'
          Dst:             hts_tpool_next_result_wait
        - Src:             'sam.c:3506,36'
          Dst:             hts_tpool_result_data
        - Src:             'sam.c:3508,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3523,25'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:3525,25'
          Dst:             bgzf_write
        - Src:             'sam.c:3528,25'
          Dst:             hwrite
        - Src:             'sam.c:3535,65'
          Dst:             bam_endpos
        - Src:             'sam.c:3534,25'
          Dst:             bgzf_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:3544,73'
          Dst:             bam_endpos
        - Src:             'sam.c:3544,25'
          Dst:             hts_idx_push
        - Src:             'sam.c:3546,43'
          Dst:             __errno_location
        - Src:             'sam.c:3546,51'
          Dst:             __errno_location
        - Src:             'sam.c:3546,25'
          Dst:             sam_state_err
        - Src:             'sam.c:3547,25'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:3547,25'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:3547,25'
          Dst:             hts_log
        - Src:             'sam.c:3554,13'
          Dst:             __assert_fail
        - Src:             'sam.c:3557,13'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3561,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3608,29'
          Dst:             bgzf_write
        - Src:             'sam.c:3616,29'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:3621,29'
          Dst:             bgzf_write
        - Src:             'sam.c:3628,21'
          Dst:             hwrite
        - Src:             'sam.c:3633,9'
          Dst:             hts_tpool_delete_result
        - Src:             'sam.c:3636,9'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3639,9'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3642,5'
          Dst:             sam_state_err
        - Src:             'sam.c:3643,5'
          Dst:             hts_tpool_process_shutdown
        - Src:             'sam.c:3647,23'
          Dst:             __errno_location
        - Src:             'sam.c:3647,31'
          Dst:             __errno_location
        - Src:             'sam.c:3647,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: 934
      functionLinenumberEnd: 957
      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:938,16'
          Dst:             bam_write1
        - Src:             'sam.c:941,9'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:944,9'
          Dst:             hts_idx_amend_last
        - Src:             'sam.c:946,15'
          Dst:             bam_write1
        - Src:             'sam.c:950,63'
          Dst:             bam_endpos
        - Src:             'sam.c:950,9'
          Dst:             bgzf_idx_push
        - Src:             'sam.c:951,9'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:951,9'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:951,9'
          Dst:             hts_log
    - functionName:    bam_write1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 864
      functionLinenumberEnd: 929
      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:869,9'
          Dst:             hts_log
        - Src:             'sam.c:870,9'
          Dst:             __errno_location
        - Src:             'sam.c:877,9'
          Dst:             hts_log
        - Src:             'sam.c:889,11'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:891,33'
          Dst:             ed_swap_4p
        - Src:             'sam.c:893,44'
          Dst:             ed_swap_4p
        - Src:             'sam.c:893,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:894,9'
          Dst:             swap_data
        - Src:             'sam.c:896,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:898,19'
          Dst:             bgzf_write_small
        - Src:             'sam.c:899,19'
          Dst:             bgzf_write_small
        - Src:             'sam.c:901,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:905,31'
          Dst:             bam_cigar2rlen
        - Src:             'sam.c:909,13'
          Dst:             hts_log
        - Src:             'sam.c:918,9'
          Dst:             u32_to_le
        - Src:             'sam.c:919,9'
          Dst:             u32_to_le
        - Src:             'sam.c:920,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:921,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:922,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:923,9'
          Dst:             u32_to_le
        - Src:             'sam.c:924,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:925,23'
          Dst:             bgzf_write_small
        - Src:             'sam.c:927,20'
          Dst:             swap_data
    - functionName:    ed_swap_4p
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1587
      functionLinenumberEnd: 1589
      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:1588,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: 757
      functionLinenumberEnd: 761
      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:760,38'
          Dst:             ed_swap_4p
    - functionName:    ed_swap_4
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1582
      functionLinenumberEnd: 1584
      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: 4556
      functionLinenumberEnd: 4713
      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:4557,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:4563,16'
          Dst:             bam_write_idx1
        - Src:             'sam.c:4566,16'
          Dst:             cram_put_bam_seq
        - Src:             'sam.c:4589,21'
          Dst:             pthread_create
        - Src:             'sam.c:4589,21'
          Dst:             sam_dispatcher_write
        - Src:             'sam.c:4596,17'
          Dst:             hts_log
        - Src:             'sam.c:4603,17'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:4610,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4612,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4613,32'
          Dst:             calloc
        - Src:             'sam.c:4614,38'
          Dst:             calloc
        - Src:             'sam.c:4627,18'
          Dst:             bam_copy1
        - Src:             'sam.c:4634,17'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:4636,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4639,21'
          Dst:             hts_tpool_dispatch3
        - Src:             'sam.c:4639,21'
          Dst:             sam_format_worker
        - Src:             'sam.c:4639,21'
          Dst:             cleanup_sp_bams
        - Src:             'sam.c:4639,21'
          Dst:             cleanup_sp_lines
        - Src:             'sam.c:4642,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4645,17'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4654,17'
          Dst:             sam_format1
        - Src:             'sam.c:4655,13'
          Dst:             kputc
        - Src:             'sam.c:4657,21'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:4659,22'
          Dst:             bgzf_write
        - Src:             'sam.c:4661,22'
          Dst:             hwrite
        - Src:             'sam.c:4666,87'
          Dst:             bam_endpos
        - Src:             'sam.c:4666,25'
          Dst:             bgzf_idx_push
        - Src:             'sam.c:4668,25'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:4668,25'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:4668,25'
          Dst:             hts_log
        - Src:             'sam.c:4673,73'
          Dst:             bam_endpos
        - Src:             'sam.c:4673,25'
          Dst:             hts_idx_push
        - Src:             'sam.c:4675,25'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:4675,25'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:4675,25'
          Dst:             hts_log
        - Src:             'sam.c:4690,31'
          Dst:             fastq_state_init
        - Src:             'sam.c:4695,13'
          Dst:             fastq_format1
        - Src:             'sam.c:4698,17'
          Dst:             bgzf_flush_try
        - Src:             'sam.c:4700,17'
          Dst:             bgzf_write
        - Src:             'sam.c:4703,17'
          Dst:             hwrite
        - Src:             'sam.c:4710,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: 3654
      functionLinenumberEnd: 3719
      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:3662,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3667,5'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3670,14'
          Dst:             calloc
        - Src:             'sam.c:3672,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3684,13'
          Dst:             sam_format1_append
        - Src:             'sam.c:3685,31'
          Dst:             __errno_location
        - Src:             'sam.c:3685,39'
          Dst:             __errno_location
        - Src:             'sam.c:3685,13'
          Dst:             sam_state_err
        - Src:             'sam.c:3688,9'
          Dst:             kputc
        - Src:             'sam.c:3691,5'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3705,5'
          Dst:             pthread_mutex_unlock
    - functionName:    sam_format1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4409
      functionLinenumberEnd: 4411
      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:4411,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:    8
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:261,6'
          Dst:             ks_resize
    - functionName:    fastq_state_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3788
      functionLinenumberEnd: 3802
      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:3789,37'
          Dst:             calloc
        - Src:             'sam.c:3792,5'
          Dst:             strcpy
        - Src:             'sam.c:3796,9'
          Dst:             regcomp
    - functionName:    fastq_format1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4416
      functionLinenumberEnd: 4551
      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:4424,9'
          Dst:             kputc
        - Src:             'sam.c:4424,42'
          Dst:             kputs
        - Src:             'sam.c:4446,18'
          Dst:             bam_aux_get
        - Src:             'sam.c:4448,23'
          Dst:             kputc
        - Src:             'sam.c:4451,30'
          Dst:             isalpha_c
        - Src:             'sam.c:4451,47'
          Dst:             toupper_c
        - Src:             'sam.c:4451,24'
          Dst:             kputc
        - Src:             'sam.c:4456,22'
          Dst:             kputs
        - Src:             'sam.c:4464,17'
          Dst:             kputs
        - Src:             'sam.c:4467,17'
          Dst:             kputs
        - Src:             'sam.c:4477,23'
          Dst:             bam_aux_get
        - Src:             'sam.c:4478,13'
          Dst:             ksprintf
        - Src:             'sam.c:4482,36'
          Dst:             isupper_c
        - Src:             'sam.c:4482,57'
          Dst:             islower_c
        - Src:             'sam.c:4483,13'
          Dst:             hts_log
        - Src:             'sam.c:4484,23'
          Dst:             strlen
        - Src:             'sam.c:4492,21'
          Dst:             strlen
        - Src:             'sam.c:4495,22'
          Dst:             isalpha_c
        - Src:             'sam.c:4497,26'
          Dst:             islower_c
        - Src:             'sam.c:4498,28'
          Dst:             toupper_c
        - Src:             'sam.c:4509,17'
          Dst:             kh_get_tag
        - Src:             'sam.c:4510,22'
          Dst:             kputc_
        - Src:             'sam.c:4511,38'
          Dst:             sam_format_aux1
        - Src:             'sam.c:4514,21'
          Dst:             skip_aux
        - Src:             'sam.c:4517,14'
          Dst:             kputsn
        - Src:             'sam.c:4520,9'
          Dst:             ks_resize
        - Src:             'sam.c:4521,10'
          Dst:             kputc_
        - Src:             'sam.c:4527,18'
          Dst:             kputc_
        - Src:             'sam.c:4530,18'
          Dst:             kputc_
        - Src:             'sam.c:4535,9'
          Dst:             kputsn
        - Src:             'sam.c:4539,22'
          Dst:             kputc_
        - Src:             'sam.c:4542,22'
          Dst:             kputc_
        - Src:             'sam.c:4545,22'
          Dst:             kputc_
        - Src:             'sam.c:4548,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:    3
      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:    25
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/kstring.h:270,6'
          Dst:             ks_resize
    - functionName:    sam_format_aux1
      functionSourceFile: '/src/htslib/./htslib/sam.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1467
      functionLinenumberEnd: 1635
      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:1537,9'
          Branch Sides:    []
        - Branch String:   './htslib/sam.h:1561,9'
          Branch Sides:    []
      Callsites:
        - Src:             './htslib/sam.h:1470,10'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1471,10'
          Dst:             kputc_
        - Src:             './htslib/sam.h:1473,14'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1474,14'
          Dst:             kputw
        - Src:             './htslib/sam.h:1477,14'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1478,14'
          Dst:             kputw
        - Src:             './htslib/sam.h:1482,18'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1483,25'
          Dst:             le_to_u16
        - Src:             './htslib/sam.h:1483,18'
          Dst:             kputuw
        - Src:             './htslib/sam.h:1488,18'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1489,24'
          Dst:             le_to_i16
        - Src:             './htslib/sam.h:1489,18'
          Dst:             kputw
        - Src:             './htslib/sam.h:1494,18'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1495,25'
          Dst:             le_to_u32
        - 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_i32
        - Src:             './htslib/sam.h:1501,18'
          Dst:             kputw
        - Src:             './htslib/sam.h:1505,14'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1506,14'
          Dst:             kputc_
        - Src:             './htslib/sam.h:1511,42'
          Dst:             le_to_float
        - Src:             './htslib/sam.h:1511,13'
          Dst:             ksprintf
        - Src:             './htslib/sam.h:1521,34'
          Dst:             le_to_double
        - Src:             './htslib/sam.h:1521,13'
          Dst:             ksprintf
        - Src:             './htslib/sam.h:1525,14'
          Dst:             kputc_
        - Src:             './htslib/sam.h:1526,14'
          Dst:             kputc_
        - Src:             './htslib/sam.h:1527,36'
          Dst:             kputc_
        - Src:             './htslib/sam.h:1528,14'
          Dst:             kputsn
        - Src:             './htslib/sam.h:1555,13'
          Dst:             le_to_u32
        - Src:             './htslib/sam.h:1559,14'
          Dst:             kputsn_
        - Src:             './htslib/sam.h:1560,14'
          Dst:             kputc
        - Src:             './htslib/sam.h:1563,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1566,22'
          Dst:             kputw
        - Src:             './htslib/sam.h:1571,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1574,22'
          Dst:             kputuw
        - Src:             './htslib/sam.h:1579,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1582,28'
          Dst:             le_to_i16
        - Src:             './htslib/sam.h:1582,22'
          Dst:             kputw
        - Src:             './htslib/sam.h:1587,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1590,29'
          Dst:             le_to_u16
        - Src:             './htslib/sam.h:1590,22'
          Dst:             kputuw
        - Src:             './htslib/sam.h:1595,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1598,28'
          Dst:             le_to_i32
        - Src:             './htslib/sam.h:1598,22'
          Dst:             kputw
        - Src:             './htslib/sam.h:1603,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1606,29'
          Dst:             le_to_u32
        - Src:             './htslib/sam.h:1606,22'
          Dst:             kputuw
        - Src:             './htslib/sam.h:1611,17'
          Dst:             ks_expand
        - Src:             './htslib/sam.h:1615,36'
          Dst:             le_to_float
        - Src:             './htslib/sam.h:1615,22'
          Dst:             kputd
        - Src:             './htslib/sam.h:1628,5'
          Dst:             __errno_location
        - Src:             './htslib/sam.h:1632,5'
          Dst:             hts_log
        - Src:             './htslib/sam.h:1633,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: 4327
      functionLinenumberEnd: 4406
      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:4334,10'
          Dst:             kputsn_
        - Src:             'sam.c:4335,10'
          Dst:             kputc_
        - Src:             'sam.c:4336,10'
          Dst:             kputw
        - Src:             'sam.c:4336,36'
          Dst:             kputc_
        - Src:             'sam.c:4338,14'
          Dst:             kputs
        - Src:             'sam.c:4339,14'
          Dst:             kputc_
        - Src:             'sam.c:4340,17'
          Dst:             kputsn_
        - Src:             'sam.c:4341,10'
          Dst:             kputll
        - Src:             'sam.c:4341,40'
          Dst:             kputc_
        - Src:             'sam.c:4342,10'
          Dst:             kputw
        - Src:             'sam.c:4342,36'
          Dst:             kputc_
        - Src:             'sam.c:4346,18'
          Dst:             kputw
        - Src:             'sam.c:4347,18'
          Dst:             kputc_
        - Src:             'sam.c:4349,17'
          Dst:             kputc_
        - Src:             'sam.c:4350,10'
          Dst:             kputc_
        - Src:             'sam.c:4351,27'
          Dst:             kputsn_
        - Src:             'sam.c:4352,38'
          Dst:             kputsn_
        - Src:             'sam.c:4354,14'
          Dst:             kputs
        - Src:             'sam.c:4355,14'
          Dst:             kputc_
        - Src:             'sam.c:4357,10'
          Dst:             kputll
        - Src:             'sam.c:4357,41'
          Dst:             kputc_
        - Src:             'sam.c:4358,10'
          Dst:             kputll
        - Src:             'sam.c:4358,38'
          Dst:             kputc_
        - Src:             'sam.c:4361,13'
          Dst:             ks_resize
        - Src:             'sam.c:4365,9'
          Dst:             nibble2base
        - Src:             'sam.c:4375,13'
          Dst:             add33
        - Src:             'sam.c:4381,17'
          Dst:             kputsn_
        - Src:             'sam.c:4387,14'
          Dst:             kputc_
        - Src:             'sam.c:4388,29'
          Dst:             sam_format_aux1
        - Src:             'sam.c:4391,10'
          Dst:             kputsn
        - Src:             'sam.c:4397,5'
          Dst:             hts_log
        - Src:             'sam.c:4399,5'
          Dst:             __errno_location
        - Src:             'sam.c:4403,5'
          Dst:             hts_log
        - Src:             'sam.c:4404,5'
          Dst:             __errno_location
    - functionName:    fastq_parse1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3929
      functionLinenumberEnd: 4131
      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:4023,9'
          Branch Sides:    []
        - Branch String:   'sam.c:4098,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:3946,15'
          Dst:             hts_getline
        - Src:             'sam.c:3962,20'
          Dst:             strpbrk
        - Src:             'sam.c:3974,22'
          Dst:             isspace_c
        - Src:             'sam.c:3982,21'
          Dst:             isspace_c
        - Src:             'sam.c:3990,20'
          Dst:             hts_getline
        - Src:             'sam.c:3996,13'
          Dst:             kputsn
        - Src:             'sam.c:4005,17'
          Dst:             hts_getline
        - Src:             'sam.c:4009,17'
          Dst:             kputsn
        - Src:             'sam.c:4022,9'
          Dst:             isdigit_c
        - Src:             'sam.c:4036,13'
          Dst:             regexec
        - Src:             'sam.c:4041,17'
          Dst:             hts_log
        - Src:             'sam.c:4049,30'
          Dst:             isalpha_c
        - Src:             'sam.c:4069,11'
          Dst:             bam_set1
        - Src:             'sam.c:4081,13'
          Dst:             bam_aux_append
        - Src:             'sam.c:4093,54'
          Dst:             isdigit_c
        - Src:             'sam.c:4094,9'
          Dst:             strtol
        - Src:             'sam.c:4108,14'
          Dst:             isdigit_c
        - Src:             'sam.c:4111,21'
          Dst:             isspace_c
        - Src:             'sam.c:4120,13'
          Dst:             bam_aux_append
        - Src:             'sam.c:4127,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: 539
      functionLinenumberEnd: 652
      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:         61
      ICount:          569
      EdgeCount:       81
      CyclomaticComplexity: 22
      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:554,9'
          Dst:             bam_cigar2rqlens
        - Src:             'sam.c:562,9'
          Dst:             hts_log
        - Src:             'sam.c:563,9'
          Dst:             __errno_location
        - Src:             'sam.c:567,9'
          Dst:             hts_log
        - Src:             'sam.c:568,9'
          Dst:             __errno_location
        - Src:             'sam.c:572,9'
          Dst:             hts_log
        - Src:             'sam.c:573,9'
          Dst:             __errno_location
        - Src:             'sam.c:577,9'
          Dst:             hts_log
        - Src:             'sam.c:578,9'
          Dst:             __errno_location
        - Src:             'sam.c:583,13'
          Dst:             subtract_check_underflow
        - Src:             'sam.c:584,13'
          Dst:             subtract_check_underflow
        - Src:             'sam.c:585,13'
          Dst:             subtract_check_underflow
        - Src:             'sam.c:586,13'
          Dst:             subtract_check_underflow
        - Src:             'sam.c:587,13'
          Dst:             subtract_check_underflow
        - Src:             'sam.c:589,9'
          Dst:             hts_log
        - Src:             'sam.c:590,9'
          Dst:             __errno_location
        - Src:             'sam.c:596,31'
          Dst:             hts_add_sat2
        - Src:             'sam.c:596,9'
          Dst:             realloc_bam_data
        - Src:             'sam.c:603,21'
          Dst:             hts_reg2bin
        - Src:             'sam.c:615,5'
          Dst:             strncpy
    - functionName:    bam_cigar2rqlens
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 511
      functionLinenumberEnd: 520
      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: 523
      functionLinenumberEnd: 530
      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: 4159
      functionLinenumberEnd: 4264
      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:4164,15'
          Dst:             sam_parse1
        - Src:             'sam.c:4175,24'
          Dst:             sam_state_destroy
        - Src:             'sam.c:4176,17'
          Dst:             __errno_location
        - Src:             'sam.c:4179,17'
          Dst:             bgzf_seek
        - Src:             'sam.c:4190,34'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'sam.c:4194,17'
          Dst:             pthread_create
        - Src:             'sam.c:4194,17'
          Dst:             sam_dispatcher_read
        - Src:             'sam.c:4201,13'
          Dst:             hts_log
        - Src:             'sam.c:4209,17'
          Dst:             __errno_location
        - Src:             'sam.c:4213,13'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:4215,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4219,35'
          Dst:             hts_tpool_next_result_wait
        - Src:             'sam.c:4222,44'
          Dst:             hts_tpool_result_data
        - Src:             'sam.c:4223,13'
          Dst:             hts_tpool_delete_result
        - Src:             'sam.c:4226,13'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:4228,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4233,18'
          Dst:             bam_copy1
        - Src:             'sam.c:4236,13'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:4239,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:4252,15'
          Dst:             hts_getline
        - Src:             'sam.c:4255,15'
          Dst:             sam_parse1
        - Src:             'sam.c:4258,13'
          Dst:             hts_log
    - functionName:    sam_state_destroy
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3093
      functionLinenumberEnd: 3198
      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:3103,13'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3106,13'
          Dst:             pthread_cond_signal
        - Src:             'sam.c:3109,17'
          Dst:             hts_tpool_wake_dispatch
        - Src:             'sam.c:3116,21'
          Dst:             hts_tpool_wake_dispatch
        - Src:             'sam.c:3117,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3118,21'
          Dst:             hts_usleep
        - Src:             'sam.c:3119,21'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3122,13'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3128,27'
          Dst:             hts_tpool_dispatch
        - Src:             'sam.c:3128,27'
          Dst:             sam_format_worker
        - Src:             'sam.c:3132,21'
          Dst:             hts_tpool_process_flush
        - Src:             'sam.c:3133,17'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3135,17'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3137,42'
          Dst:             hts_tpool_process_empty
        - Src:             'sam.c:3138,21'
          Dst:             hts_usleep
        - Src:             'sam.c:3139,21'
          Dst:             pthread_mutex_lock
        - Src:             'sam.c:3142,25'
          Dst:             hts_tpool_process_is_shutdown
        - Src:             'sam.c:3144,21'
          Dst:             pthread_mutex_unlock
        - Src:             'sam.c:3147,21'
          Dst:             hts_tpool_process_shutdown
        - Src:             'sam.c:3152,17'
          Dst:             pthread_join
        - Src:             'sam.c:3158,13'
          Dst:             hts_tpool_process_destroy
        - Src:             'sam.c:3161,13'
          Dst:             hts_tpool_destroy
        - Src:             'sam.c:3164,9'
          Dst:             pthread_mutex_destroy
        - Src:             'sam.c:3165,9'
          Dst:             pthread_mutex_destroy
        - Src:             'sam.c:3166,9'
          Dst:             pthread_cond_destroy
        - Src:             'sam.c:3181,13'
          Dst:             sam_free_sp_bams
        - Src:             'sam.c:3186,13'
          Dst:             sam_free_sp_bams
        - Src:             'sam.c:3192,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: 401
      functionLinenumberEnd: 401
      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:401,52'
          Dst:             sam_hdr_destroy
    - functionName:    sam_hdr_destroy
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 119
      functionLinenumberEnd: 141
      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:    18
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:137,9'
          Dst:             sam_hrecs_free
        - Src:             'sam.c:139,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: 4147
      functionLinenumberEnd: 4156
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          60
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - bam_tag2cigar
        - cram_eof
        - cram_get_bam_seq
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:4148,15'
          Dst:             cram_get_bam_seq
        - Src:             'sam.c:4150,16'
          Dst:             cram_eof
        - Src:             'sam.c:4152,9'
          Dst:             bam_tag2cigar
    - functionName:    sam_read1_bam
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4134
      functionLinenumberEnd: 4144
      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:4135,15'
          Dst:             bam_read1
        - Src:             'sam.c:4139,13'
          Dst:             __errno_location
    - functionName:    bam_read1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 786
      functionLinenumberEnd: 861
      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:794,16'
          Dst:             bgzf_read_small
        - Src:             'sam.c:799,9'
          Dst:             ed_swap_4p
        - Src:             'sam.c:807,13'
          Dst:             bgzf_read
        - Src:             'sam.c:810,21'
          Dst:             le_to_u32
        - Src:             'sam.c:811,21'
          Dst:             le_to_i32
        - Src:             'sam.c:812,21'
          Dst:             le_to_u32
        - Src:             'sam.c:817,21'
          Dst:             le_to_u32
        - Src:             'sam.c:820,21'
          Dst:             le_to_u32
        - Src:             'sam.c:821,21'
          Dst:             le_to_u32
        - Src:             'sam.c:822,21'
          Dst:             le_to_i32
        - Src:             'sam.c:823,21'
          Dst:             le_to_i32
        - Src:             'sam.c:830,9'
          Dst:             realloc_bam_data
        - Src:             'sam.c:833,9'
          Dst:             bgzf_read_small
        - Src:             'sam.c:835,13'
          Dst:             fixup_missing_qname_nul
        - Src:             'sam.c:840,9'
          Dst:             bgzf_read_small
        - Src:             'sam.c:842,20'
          Dst:             swap_data
        - Src:             'sam.c:843,9'
          Dst:             bam_tag2cigar
        - Src:             'sam.c:849,9'
          Dst:             bam_cigar2rqlens
        - Src:             'sam.c:851,23'
          Dst:             hts_reg2bin
        - Src:             'sam.c:854,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: 764
      functionLinenumberEnd: 779
      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:773,13'
          Dst:             realloc_bam_data
    - functionName:    sam_read1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4270
      functionLinenumberEnd: 4314
      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:4274,9'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:4276,19'
          Dst:             sam_read1_bam
        - Src:             'sam.c:4280,19'
          Dst:             sam_read1_cram
        - Src:             'sam.c:4284,19'
          Dst:             sam_read1_sam
        - Src:             'sam.c:4291,35'
          Dst:             fastq_state_init
        - Src:             'sam.c:4296,20'
          Dst:             fastq_parse1
        - Src:             'sam.c:4300,13'
          Dst:             __errno_location
        - Src:             'sam.c:4304,13'
          Dst:             __errno_location
        - Src:             'sam.c:4309,15'
          Dst:             sam_passes_filter
    - functionName:    sam_passes_filter
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1537
      functionLinenumberEnd: 1550
      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:1540,9'
          Dst:             hts_filter_eval2
        - Src:             'sam.c:1540,9'
          Dst:             bam_sym_lookup
        - Src:             'sam.c:1541,9'
          Dst:             hts_log
        - Src:             'sam.c:1542,9'
          Dst:             hts_expr_val_free
        - Src:             'sam.c:1547,5'
          Dst:             hts_expr_val_free
    - functionName:    bam_sym_lookup
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1212
      functionLinenumberEnd: 1533
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         185
      ICount:          1644
      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:1217,5'
          Branch Sides:    []
        - Branch String:   'sam.c:1486,17'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1219,13'
          Dst:             memcmp
        - Src:             'sam.c:1222,13'
          Dst:             ks_clear
        - Src:             'sam.c:1227,26'
          Dst:             kputw
        - Src:             'sam.c:1228,26'
          Dst:             kputc_
        - Src:             'sam.c:1230,22'
          Dst:             kputs
        - Src:             'sam.c:1232,22'
          Dst:             kputs
        - Src:             'sam.c:1239,13'
          Dst:             memcmp
        - Src:             'sam.c:1241,22'
          Dst:             bam_endpos
        - Src:             'sam.c:1247,13'
          Dst:             memcmp
        - Src:             'sam.c:1254,22'
          Dst:             memcmp
        - Src:             'sam.c:1258,29'
          Dst:             memcmp
        - Src:             'sam.c:1262,29'
          Dst:             memcmp
        - Src:             'sam.c:1266,29'
          Dst:             memcmp
        - Src:             'sam.c:1270,29'
          Dst:             memcmp
        - Src:             'sam.c:1274,29'
          Dst:             memcmp
        - Src:             'sam.c:1278,29'
          Dst:             memcmp
        - Src:             'sam.c:1282,29'
          Dst:             memcmp
        - Src:             'sam.c:1286,29'
          Dst:             memcmp
        - Src:             'sam.c:1290,29'
          Dst:             memcmp
        - Src:             'sam.c:1294,29'
          Dst:             memcmp
        - Src:             'sam.c:1298,29'
          Dst:             memcmp
        - Src:             'sam.c:1303,21'
          Dst:             hts_log
        - Src:             'sam.c:1311,13'
          Dst:             memcmp
        - Src:             'sam.c:1331,13'
          Dst:             memcmp
        - Src:             'sam.c:1334,31'
          Dst:             bam_get_library
        - Src:             'sam.c:1335,35'
          Dst:             ks_clear
        - Src:             'sam.c:1335,13'
          Dst:             kputs
        - Src:             'sam.c:1341,13'
          Dst:             memcmp
        - Src:             'sam.c:1345,20'
          Dst:             memcmp
        - Src:             'sam.c:1349,20'
          Dst:             memcmp
        - Src:             'sam.c:1352,30'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:1353,34'
          Dst:             ks_clear
        - Src:             'sam.c:1353,13'
          Dst:             kputs
        - Src:             'sam.c:1355,20'
          Dst:             memcmp
        - Src:             'sam.c:1363,13'
          Dst:             memcmp
        - Src:             'sam.c:1371,13'
          Dst:             memcmp
        - Src:             'sam.c:1375,20'
          Dst:             memcmp
        - Src:             'sam.c:1383,13'
          Dst:             memcmp
        - Src:             'sam.c:1385,22'
          Dst:             bam_cigar2qlen
        - Src:             'sam.c:1387,20'
          Dst:             memcmp
        - Src:             'sam.c:1390,37'
          Dst:             ks_clear
        - Src:             'sam.c:1390,13'
          Dst:             kputs
        - Src:             'sam.c:1392,20'
          Dst:             memcmp
        - Src:             'sam.c:1394,13'
          Dst:             ks_clear
        - Src:             'sam.c:1395,17'
          Dst:             ks_resize
        - Src:             'sam.c:1405,13'
          Dst:             memcmp
        - Src:             'sam.c:1407,22'
          Dst:             bam_cigar2rlen
        - Src:             'sam.c:1409,20'
          Dst:             memcmp
        - Src:             'sam.c:1412,30'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:1413,34'
          Dst:             ks_clear
        - Src:             'sam.c:1413,13'
          Dst:             kputs
        - Src:             'sam.c:1415,20'
          Dst:             memcmp
        - Src:             'sam.c:1418,30'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:1419,34'
          Dst:             ks_clear
        - Src:             'sam.c:1419,13'
          Dst:             kputs
        - Src:             'sam.c:1421,20'
          Dst:             memcmp
        - Src:             'sam.c:1429,13'
          Dst:             memcmp
        - Src:             'sam.c:1431,13'
          Dst:             ks_clear
        - Src:             'sam.c:1432,17'
          Dst:             ks_resize
        - Src:             'sam.c:1434,13'
          Dst:             nibble2base
        - Src:             'sam.c:1439,20'
          Dst:             memcmp
        - Src:             'sam.c:1470,13'
          Dst:             memcmp
        - Src:             'sam.c:1482,28'
          Dst:             bam_aux_get
        - Src:             'sam.c:1490,42'
          Dst:             ks_clear
        - Src:             'sam.c:1490,21'
          Dst:             kputs
        - Src:             'sam.c:1495,46'
          Dst:             ks_clear
        - Src:             'sam.c:1495,21'
          Dst:             kputsn
        - Src:             'sam.c:1502,30'
          Dst:             bam_aux2i
        - Src:             'sam.c:1508,30'
          Dst:             bam_aux2f
        - Src:             'sam.c:1512,21'
          Dst:             hts_log
    - functionName:    hts_expr_val_free
      functionSourceFile: '/src/htslib/./htslib/hts_expr.h'
      linkageType:     InternalLinkage
      functionLinenumber: 84
      functionLinenumberEnd: 86
      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:85,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: 63
      functionLinenumberEnd: 63
      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:63,1'
          Dst:             kh_resize_tag
        - Src:             'sam.c:63,1'
          Dst:             kh_resize_tag
    - functionName:    kh_init_tag
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 63
      functionLinenumberEnd: 63
      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:63,1'
          Dst:             calloc
    - functionName:    fastq_state_set
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3817
      functionLinenumberEnd: 3927
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         92
      ICount:          607
      EdgeCount:       119
      CyclomaticComplexity: 29
      functionsReached:
        - __ctype_b_loc
        - fastq_state_init
        - hts_log
        - isalnum_c
        - kh_init_tag
        - kh_put_tag
        - regcomp
        - regfree
        - strcmp
        - strlen
        - strncpy
      functionUses:    3
      BranchProfiles:
        - Branch String:   'sam.c:3829,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:3823,27'
          Dst:             fastq_state_init
        - Src:             'sam.c:3843,20'
          Dst:             strcmp
        - Src:             'sam.c:3845,33'
          Dst:             kh_init_tag
        - Src:             'sam.c:3848,30'
          Dst:             strlen
        - Src:             'sam.c:3852,21'
          Dst:             hts_log
        - Src:             'sam.c:3856,17'
          Dst:             kh_put_tag
        - Src:             'sam.c:3868,9'
          Dst:             strncpy
        - Src:             'sam.c:3878,20'
          Dst:             strcmp
        - Src:             'sam.c:3882,18'
          Dst:             __ctype_b_loc
        - Src:             'sam.c:3882,37'
          Dst:             isalnum_c
        - Src:             'sam.c:3887,13'
          Dst:             strncpy
        - Src:             'sam.c:3901,13'
          Dst:             hts_log
        - Src:             'sam.c:3911,9'
          Dst:             regfree
        - Src:             'sam.c:3912,13'
          Dst:             regcomp
        - Src:             'sam.c:3913,13'
          Dst:             hts_log
    - functionName:    kh_destroy_tag
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 63
      functionLinenumberEnd: 63
      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: 3804
      functionLinenumberEnd: 3815
      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:3808,13'
          Dst:             kh_destroy_tag
        - Src:             'sam.c:3809,9'
          Dst:             ks_free
        - Src:             'sam.c:3810,9'
          Dst:             ks_free
        - Src:             'sam.c:3811,9'
          Dst:             ks_free
        - Src:             'sam.c:3812,9'
          Dst:             regfree
    - functionName:    sam_set_threads
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3748
      functionLinenumberEnd: 3767
      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:3753,14'
          Dst:             hts_tpool_init
        - Src:             'sam.c:3756,15'
          Dst:             sam_set_thread_pool
        - Src:             'sam.c:3759,13'
          Dst:             hts_tpool_destroy
    - functionName:    sam_set_thread_pool
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3721
      functionLinenumberEnd: 3746
      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:3725,23'
          Dst:             sam_state_create
        - Src:             'sam.c:3729,5'
          Dst:             pthread_mutex_init
        - Src:             'sam.c:3730,5'
          Dst:             pthread_mutex_init
        - Src:             'sam.c:3731,5'
          Dst:             pthread_cond_init
        - Src:             'sam.c:3735,19'
          Dst:             hts_tpool_size
        - Src:             'sam.c:3736,13'
          Dst:             hts_tpool_process_init
        - Src:             'sam.c:3738,9'
          Dst:             sam_state_destroy
        - Src:             'sam.c:3743,16'
          Dst:             bgzf_thread_pool
    - functionName:    sam_state_create
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3049
      functionLinenumberEnd: 3065
      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:3057,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: 2896
      functionLinenumberEnd: 2927
      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:2901,9'
          Dst:             hts_log
        - Src:             'sam.c:2910,15'
          Dst:             read_ncigar
        - Src:             'sam.c:2913,27'
          Dst:             hts_realloc_p
        - Src:             'sam.c:2918,13'
          Dst:             hts_log
        - Src:             'sam.c:2923,18'
          Dst:             parse_cigar
    - functionName:    sam_hdr_get
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2201
      functionLinenumberEnd: 2205
      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: 2178
      functionLinenumberEnd: 2197
      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:2184,26'
          Dst:             sam_hdr_dup
        - Src:             'sam.c:2185,9'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:2190,13'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:2192,13'
          Dst:             sam_hdr_incr_ref
    - functionName:    sam_hdr_dup
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 171
      functionLinenumberEnd: 228
      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:174,14'
          Dst:             sam_hdr_init
        - Src:             'sam.c:183,36'
          Dst:             calloc
        - Src:             'sam.c:185,34'
          Dst:             calloc
        - Src:             'sam.c:191,33'
          Dst:             strdup
        - Src:             'sam.c:198,17'
          Dst:             sam_hdr_dup_sdict
        - Src:             'sam.c:204,13'
          Dst:             sam_hrecs_rebuild_text
        - Src:             'sam.c:205,18'
          Dst:             ks_release
        - Src:             'sam.c:210,21'
          Dst:             ks_release
        - Src:             'sam.c:212,13'
          Dst:             sam_hdr_update_target_arrays
        - Src:             'sam.c:216,19'
          Dst:             hts_malloc_ps
        - Src:             'sam.c:226,5'
          Dst:             sam_hdr_destroy
    - functionName:    sam_hdr_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 110
      functionLinenumberEnd: 116
      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:111,33'
          Dst:             calloc
    - functionName:    sam_hdr_dup_sdict
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 146
      functionLinenumberEnd: 168
      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:148,36'
          Dst:             kh_init_s2i
        - Src:             'sam.c:156,16'
          Dst:             kh_get_s2i
        - Src:             'sam.c:158,17'
          Dst:             kh_put_s2i
        - Src:             'sam.c:160,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: 2082
      functionLinenumberEnd: 2154
      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:2089,13'
          Dst:             strncmp
        - Src:             'sam.c:2090,22'
          Dst:             strchr
        - Src:             'sam.c:2095,22'
          Dst:             strstr
        - Src:             'sam.c:2103,29'
          Dst:             strncmp
        - Src:             'sam.c:2104,24'
          Dst:             strlen
        - Src:             'sam.c:2119,41'
          Dst:             strlen
        - Src:             'sam.c:2121,27'
          Dst:             strlen
        - Src:             'sam.c:2127,13'
          Dst:             snprintf
        - Src:             'sam.c:2130,13'
          Dst:             snprintf
        - Src:             'sam.c:2135,41'
          Dst:             strlen
        - Src:             'sam.c:2137,27'
          Dst:             strlen
        - Src:             'sam.c:2143,13'
          Dst:             snprintf
        - Src:             'sam.c:2146,13'
          Dst:             snprintf
    - functionName:    sam_hdr_change_HD
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2158
      functionLinenumberEnd: 2173
      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:2163,16'
          Dst:             old_sam_hdr_change_HD
        - Src:             'sam.c:2166,13'
          Dst:             sam_hdr_update_line
        - Src:             'sam.c:2169,13'
          Dst:             sam_hdr_remove_tag_id
        - Src:             'sam.c:2172,12'
          Dst:             sam_hdr_rebuild
    - functionName:    sam_hdr_write
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1969
      functionLinenumberEnd: 2079
      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:1975,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1971,9'
          Dst:             __errno_location
        - Src:             'sam.c:1981,13'
          Dst:             bam_hdr_write
        - Src:             'sam.c:1986,13'
          Dst:             cram_set_header2
        - Src:             'sam.c:1988,13'
          Dst:             cram_load_reference
        - Src:             'sam.c:1989,13'
          Dst:             cram_write_SAM_hdr
        - Src:             'sam.c:2007,17'
          Dst:             sam_hrecs_rebuild_text
        - Src:             'sam.c:2015,21'
          Dst:             strstr
        - Src:             'sam.c:2023,21'
          Dst:             bgzf_write
        - Src:             'sam.c:2025,21'
          Dst:             hwrite
        - Src:             'sam.c:2035,22'
          Dst:             kputsn
        - Src:             'sam.c:2036,22'
          Dst:             kputs
        - Src:             'sam.c:2037,22'
          Dst:             kputsn
        - Src:             'sam.c:2038,22'
          Dst:             kputw
        - Src:             'sam.c:2039,22'
          Dst:             kputc
        - Src:             'sam.c:2044,29'
          Dst:             bgzf_write
        - Src:             'sam.c:2046,29'
          Dst:             hwrite
        - Src:             'sam.c:2053,17'
          Dst:             bgzf_flush
        - Src:             'sam.c:2055,17'
          Dst:             hflush
        - Src:             'sam.c:2067,9'
          Dst:             __errno_location
        - Src:             'sam.c:2073,26'
          Dst:             sam_hdr_dup
        - Src:             'sam.c:2074,9'
          Dst:             sam_hdr_destroy
    - functionName:    bam_hdr_write
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 346
      functionLinenumberEnd: 416
      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:355,13'
          Dst:             sam_hrecs_rebuild_text
        - Src:             'sam.c:357,13'
          Dst:             hts_log
        - Src:             'sam.c:361,13'
          Dst:             hts_log
        - Src:             'sam.c:362,13'
          Dst:             hts_log
        - Src:             'sam.c:368,13'
          Dst:             hts_log
        - Src:             'sam.c:371,13'
          Dst:             hts_log
        - Src:             'sam.c:372,13'
          Dst:             hts_log
        - Src:             'sam.c:378,9'
          Dst:             bgzf_write
        - Src:             'sam.c:381,13'
          Dst:             ed_swap_4
        - Src:             'sam.c:382,13'
          Dst:             bgzf_write
        - Src:             'sam.c:384,17'
          Dst:             bgzf_write
        - Src:             'sam.c:386,13'
          Dst:             ed_swap_4
        - Src:             'sam.c:387,13'
          Dst:             bgzf_write
        - Src:             'sam.c:389,13'
          Dst:             bgzf_write
        - Src:             'sam.c:391,17'
          Dst:             bgzf_write
        - Src:             'sam.c:393,13'
          Dst:             bgzf_write
        - Src:             'sam.c:399,20'
          Dst:             strlen
        - Src:             'sam.c:401,17'
          Dst:             ed_swap_4
        - Src:             'sam.c:402,17'
          Dst:             bgzf_write
        - Src:             'sam.c:404,17'
          Dst:             bgzf_write
        - Src:             'sam.c:406,13'
          Dst:             bgzf_write
        - Src:             'sam.c:408,17'
          Dst:             ed_swap_4
        - Src:             'sam.c:409,17'
          Dst:             bgzf_write
        - Src:             'sam.c:411,17'
          Dst:             bgzf_write
        - Src:             'sam.c:414,9'
          Dst:             bgzf_flush
    - functionName:    sam_hdr_create
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1908
      functionLinenumberEnd: 1924
      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:1909,20'
          Dst:             sam_hdr_init
        - Src:             'sam.c:1913,9'
          Dst:             sam_hdr_build_from_sam_file
        - Src:             'sam.c:1914,9'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:1919,9'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:1920,22'
          Dst:             sam_hdr_sanitise
    - functionName:    sam_hdr_sanitise
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1843
      functionLinenumberEnd: 1906
      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:1863,17'
          Dst:             hts_log
        - Src:             'sam.c:1864,17'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:1876,13'
          Dst:             hts_log
        - Src:             'sam.c:1881,9'
          Dst:             hts_log
        - Src:             'sam.c:1885,17'
          Dst:             hts_log
        - Src:             'sam.c:1886,17'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:1890,18'
          Dst:             realloc
        - Src:             'sam.c:1892,17'
          Dst:             sam_hdr_destroy
    - functionName:    sam_hdr_read
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1927
      functionLinenumberEnd: 1966
      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:1934,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1930,9'
          Dst:             __errno_location
        - Src:             'sam.c:1936,30'
          Dst:             bam_hdr_read
        - Src:             'sam.c:1936,13'
          Dst:             sam_hdr_sanitise
        - Src:             'sam.c:1940,30'
          Dst:             sam_hdr_dup
        - Src:             'sam.c:1940,13'
          Dst:             sam_hdr_sanitise
        - Src:             'sam.c:1944,13'
          Dst:             sam_hdr_create
        - Src:             'sam.c:1949,16'
          Dst:             sam_hdr_init
        - Src:             'sam.c:1952,9'
          Dst:             __errno_location
        - Src:             'sam.c:1956,9'
          Dst:             __errno_location
        - Src:             'sam.c:1963,9'
          Dst:             sam_hdr_incr_ref
    - functionName:    bam_hdr_read
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 231
      functionLinenumberEnd: 343
      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:239,15'
          Dst:             bgzf_check_EOF
        - Src:             'sam.c:241,9'
          Dst:             perror
        - Src:             'sam.c:243,9'
          Dst:             hts_log
        - Src:             'sam.c:246,17'
          Dst:             bgzf_read
        - Src:             'sam.c:247,27'
          Dst:             memcmp
        - Src:             'sam.c:248,9'
          Dst:             hts_log
        - Src:             'sam.c:251,9'
          Dst:             sam_hdr_init
        - Src:             'sam.c:255,13'
          Dst:             bgzf_read
        - Src:             'sam.c:257,17'
          Dst:             le_to_u32
        - Src:             'sam.c:267,13'
          Dst:             bgzf_read
        - Src:             'sam.c:270,13'
          Dst:             bgzf_read
        - Src:             'sam.c:272,20'
          Dst:             ed_swap_4p
        - Src:             'sam.c:282,34'
          Dst:             calloc
        - Src:             'sam.c:284,36'
          Dst:             calloc
        - Src:             'sam.c:293,17'
          Dst:             bgzf_read
        - Src:             'sam.c:295,24'
          Dst:             ed_swap_4p
        - Src:             'sam.c:302,17'
          Dst:             bgzf_read
        - Src:             'sam.c:310,24'
          Dst:             realloc
        - Src:             'sam.c:316,17'
          Dst:             bgzf_read
        - Src:             'sam.c:318,24'
          Dst:             ed_swap_4p
        - Src:             'sam.c:323,5'
          Dst:             hts_log
        - Src:             'sam.c:328,9'
          Dst:             hts_log
        - Src:             'sam.c:330,9'
          Dst:             hts_log
        - Src:             'sam.c:335,5'
          Dst:             hts_log
        - Src:             'sam.c:340,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: 1822
      functionLinenumberEnd: 1832
      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:1823,21'
          Dst:             sam_hdr_init
        - Src:             'sam.c:1826,9'
          Dst:             sam_hdr_add_lines
        - Src:             'sam.c:1827,9'
          Dst:             sam_hdr_destroy
    - functionName:    sam_itr_regions
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1800
      functionLinenumberEnd: 1812
      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
        - bam_pseek
        - bam_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:1807,16'
          Dst:             hts_itr_regions
        - Src:             'sam.c:1807,16'
          Dst:             cram_name2id
        - Src:             'sam.c:1807,16'
          Dst:             hts_itr_multi_cram
        - Src:             'sam.c:1807,16'
          Dst:             cram_readrec
        - Src:             'sam.c:1807,16'
          Dst:             cram_pseek
        - Src:             'sam.c:1807,16'
          Dst:             cram_ptell
        - Src:             'sam.c:1810,16'
          Dst:             hts_itr_regions
        - Src:             'sam.c:1810,16'
          Dst:             bam_name2id_wrapper
        - Src:             'sam.c:1810,16'
          Dst:             hts_itr_multi_bam
        - Src:             'sam.c:1810,16'
          Dst:             sam_readrec
        - Src:             'sam.c:1810,16'
          Dst:             bam_pseek
        - Src:             'sam.c:1810,16'
          Dst:             bam_ptell
    - functionName:    cram_name2id
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1756
      functionLinenumberEnd: 1758
      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:1758,12'
          Dst:             sam_hdr_name2tid
    - functionName:    cram_readrec
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1553
      functionLinenumberEnd: 1580
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          128
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - bam_endpos
        - bam_tag2cigar
        - cram_eof
        - cram_get_bam_seq
        - sam_passes_filter
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1559,15'
          Dst:             cram_get_bam_seq
        - Src:             'sam.c:1561,20'
          Dst:             cram_eof
        - Src:             'sam.c:1563,13'
          Dst:             bam_tag2cigar
        - Src:             'sam.c:1568,16'
          Dst:             bam_endpos
        - Src:             'sam.c:1571,27'
          Dst:             sam_passes_filter
    - functionName:    cram_pseek
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1583
      functionLinenumberEnd: 1603
      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:1586,15'
          Dst:             cram_seek
        - Src:             'sam.c:1587,15'
          Dst:             cram_seek
        - Src:             'sam.c:1593,9'
          Dst:             cram_free_container
        - Src:             'sam.c:1595,13'
          Dst:             cram_free_container
    - functionName:    cram_ptell
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1613
      functionLinenumberEnd: 1629
      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: 419
      functionLinenumberEnd: 420
      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:420,12'
          Dst:             bam_name2id
    - functionName:    sam_readrec
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1149
      functionLinenumberEnd: 1159
      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:1153,15'
          Dst:             sam_read1
        - Src:             'sam.c:1157,16'
          Dst:             bam_endpos
    - functionName:    bam_pseek
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1633
      functionLinenumberEnd: 1636
      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:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:1636,12'
          Dst:             bgzf_seek
    - functionName:    bam_ptell
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1640
      functionLinenumberEnd: 1646
      functionDepth:   0
      returnType:      size_t
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         4
      ICount:          34
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sam_itr_regarray
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1770
      functionLinenumberEnd: 1797
      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
        - bam_pseek
        - bam_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:1780,18'
          Dst:             hts_reglist_create
        - Src:             'sam.c:1780,18'
          Dst:             cram_name2id
        - Src:             'sam.c:1783,15'
          Dst:             hts_itr_regions
        - Src:             'sam.c:1783,15'
          Dst:             cram_name2id
        - Src:             'sam.c:1783,15'
          Dst:             hts_itr_multi_cram
        - Src:             'sam.c:1783,15'
          Dst:             cram_readrec
        - Src:             'sam.c:1783,15'
          Dst:             cram_pseek
        - Src:             'sam.c:1783,15'
          Dst:             cram_ptell
        - Src:             'sam.c:1786,18'
          Dst:             hts_reglist_create
        - Src:             'sam.c:1786,18'
          Dst:             bam_name2id_wrapper
        - Src:             'sam.c:1789,15'
          Dst:             hts_itr_regions
        - Src:             'sam.c:1789,15'
          Dst:             bam_name2id_wrapper
        - Src:             'sam.c:1789,15'
          Dst:             hts_itr_multi_bam
        - Src:             'sam.c:1789,15'
          Dst:             sam_readrec
        - Src:             'sam.c:1789,15'
          Dst:             bam_pseek
        - Src:             'sam.c:1789,15'
          Dst:             bam_ptell
        - Src:             'sam.c:1794,9'
          Dst:             hts_reglist_free
    - functionName:    sam_itr_querys
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1762
      functionLinenumberEnd: 1765
      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:1764,12'
          Dst:             hts_itr_querys
        - Src:             'sam.c:1764,12'
          Dst:             bam_name2id_wrapper
        - Src:             'sam.c:1764,12'
          Dst:             sam_readrec
    - functionName:    cram_itr_query
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1688
      functionLinenumberEnd: 1742
      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:1712,9'
          Branch Sides:    []
        - Branch String:   'sam.c:1727,10'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1690,37'
          Dst:             calloc
        - Src:             'sam.c:1703,19'
          Dst:             cram_set_option
        - Src:             'sam.c:1736,9'
          Dst:             hts_log
        - Src:             'sam.c:1737,9'
          Dst:             abort
    - functionName:    sam_readrec_rest
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1164
      functionLinenumberEnd: 1169
      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:1168,15'
          Dst:             sam_read1
    - functionName:    sam_itr_queryi
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1745
      functionLinenumberEnd: 1753
      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:1748,16'
          Dst:             hts_itr_query
        - Src:             'sam.c:1748,16'
          Dst:             sam_readrec_rest
        - Src:             'sam.c:1750,16'
          Dst:             cram_itr_query
        - Src:             'sam.c:1750,16'
          Dst:             sam_readrec
        - Src:             'sam.c:1752,16'
          Dst:             hts_itr_query
        - Src:             'sam.c:1752,16'
          Dst:             sam_readrec
    - functionName:    sam_index_load
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1683
      functionLinenumberEnd: 1684
      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:1684,12'
          Dst:             index_load
    - functionName:    index_load
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1651
      functionLinenumberEnd: 1671
      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:1652,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1655,16'
          Dst:             hts_idx_load3
        - Src:             'sam.c:1658,13'
          Dst:             cram_index_load
    - functionName:    sam_index_load2
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1678
      functionLinenumberEnd: 1679
      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:1679,12'
          Dst:             index_load
    - functionName:    sam_index_load3
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1674
      functionLinenumberEnd: 1675
      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:1675,12'
          Dst:             index_load
    - functionName:    sam_idx_save
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1124
      functionLinenumberEnd: 1146
      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:1128,20'
          Dst:             sam_state_destroy
        - Src:             'sam.c:1129,13'
          Dst:             __errno_location
        - Src:             'sam.c:1132,29'
          Dst:             bgzf_flush
        - Src:             'sam.c:1134,9'
          Dst:             hts_idx_amend_last
        - Src:             'sam.c:1136,13'
          Dst:             hts_idx_finish
        - Src:             'sam.c:1139,63'
          Dst:             hts_idx_fmt
        - Src:             'sam.c:1139,16'
          Dst:             hts_idx_save_but_not_close
    - functionName:    sam_idx_init
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1096
      functionLinenumberEnd: 1120
      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:1107,13'
          Dst:             hts_adjust_csi_settings
        - Src:             'sam.c:1110,19'
          Dst:             hts_idx_init
        - Src:             'sam.c:1115,30'
          Dst:             bgzf_open
    - functionName:    bam_index_build
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1090
      functionLinenumberEnd: 1091
      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:1091,12'
          Dst:             sam_index_build2
    - functionName:    sam_index_build2
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1078
      functionLinenumberEnd: 1079
      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:1079,12'
          Dst:             sam_index_build3
    - functionName:    sam_index_build3
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1036
      functionLinenumberEnd: 1075
      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:1045,5'
          Branch Sides:    []
      Callsites:
        - Src:             'sam.c:1041,15'
          Dst:             hts_open
        - Src:             'sam.c:1043,9'
          Dst:             hts_set_threads
        - Src:             'sam.c:1048,15'
          Dst:             cram_index_build
        - Src:             'sam.c:1054,13'
          Dst:             hts_log
        - Src:             'sam.c:1059,15'
          Dst:             sam_index
        - Src:             'sam.c:1061,19'
          Dst:             hts_idx_save_as
        - Src:             'sam.c:1063,13'
          Dst:             hts_idx_destroy
        - Src:             'sam.c:1072,5'
          Dst:             hts_close
    - functionName:    sam_index
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 996
      functionLinenumberEnd: 1033
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         24
      ICount:          240
      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:1001,9'
          Dst:             sam_hdr_read
        - Src:             'sam.c:1006,29'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:1010,9'
          Dst:             hts_adjust_csi_settings
        - Src:             'sam.c:1013,11'
          Dst:             hts_idx_init
        - Src:             'sam.c:1014,9'
          Dst:             bam_init1
        - Src:             'sam.c:1015,19'
          Dst:             sam_read1
        - Src:             'sam.c:1016,59'
          Dst:             bam_endpos
        - Src:             'sam.c:1016,15'
          Dst:             hts_idx_push
        - Src:             'sam.c:1018,13'
          Dst:             sam_hdr_tid2name
        - Src:             'sam.c:1018,13'
          Dst:             sam_hdr_tid2len
        - Src:             'sam.c:1018,13'
          Dst:             hts_log
        - Src:             'sam.c:1024,5'
          Dst:             hts_idx_finish
        - Src:             'sam.c:1025,5'
          Dst:             sam_hdr_destroy
        - Src:             'sam.c:1026,5'
          Dst:             bam_destroy1
        - Src:             'sam.c:1030,5'
          Dst:             bam_destroy1
        - Src:             'sam.c:1031,5'
          Dst:             hts_idx_destroy
    - functionName:    sam_index_build
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1083
      functionLinenumberEnd: 1084
      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:1084,12'
          Dst:             sam_index_build3
    - functionName:    bam_set_qname
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 963
      functionLinenumberEnd: 989
      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:968,22'
          Dst:             strlen
        - Src:             'sam.c:974,9'
          Dst:             realloc_bam_data
    - functionName:    bam_dup1
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 498
      functionLinenumberEnd: 507
      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:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'sam.c:500,20'
          Dst:             bam_init1
        - Src:             'sam.c:502,9'
          Dst:             bam_copy1
        - Src:             'sam.c:503,9'
          Dst:             bam_destroy1
    - functionName:    sam_parse_region
      functionSourceFile: '/src/htslib/sam.c'
      linkageType:     InternalLinkage
      functionLinenumber: 424
      functionLinenumberEnd: 425
      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:425,12'
          Dst:             hts_parse_region
        - Src:             'sam.c:425,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:         9
      ICount:          52
      EdgeCount:       11
      CyclomaticComplexity: 4
      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:    8
      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:    14
      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: 5375
      functionLinenumberEnd: 5443
      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:5389,15'
          Dst:             strcmp
        - Src:             'vcf.c:5402,24'
          Dst:             toupper_c
        - Src:             'vcf.c:5402,39'
          Dst:             toupper_c
        - Src:             'vcf.c:5424,29'
          Dst:             toupper_c
        - Src:             'vcf.c:5424,45'
          Dst:             toupper_c
        - Src:             'vcf.c:5429,14'
          Dst:             toupper_c
        - Src:             'vcf.c:5429,30'
          Dst:             toupper_c
        - Src:             'vcf.c:5435,14'
          Dst:             toupper_c
        - Src:             'vcf.c:5435,30'
          Dst:             toupper_c
    - 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:    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:         52
      ICount:          542
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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: 467
      functionLinenumberEnd: 472
      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: 4623
      functionLinenumberEnd: 4627
      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:4626,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: 3126
      functionLinenumberEnd: 3132
      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:3130,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: 3665
      functionLinenumberEnd: 3684
      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:3668,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3668,9'
          Dst:             hts_log
        - Src:             'vcf.c:3675,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3675,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:    55
      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: 3621
      functionLinenumberEnd: 3662
      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:3631,13'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:3633,17'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:3634,17'
          Dst:             kputsn
        - Src:             'vcf.c:3636,17'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:3638,17'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:3639,21'
          Dst:             serialize_float_array
        - Src:             'vcf.c:3642,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3642,21'
          Dst:             hts_log
    - functionName:    bcf_enc_int1
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1583
      functionLinenumberEnd: 1613
      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:1584,9'
          Dst:             ks_resize
        - Src:             './htslib/vcf.h:1604,9'
          Dst:             i16_to_le
        - Src:             './htslib/vcf.h:1608,9'
          Dst:             i32_to_le
    - functionName:    bcf_enc_size
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1541
      functionLinenumberEnd: 1573
      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:1544,13'
          Dst:             ks_resize
        - Src:             './htslib/vcf.h:1552,9'
          Dst:             ks_resize
        - Src:             './htslib/vcf.h:1564,13'
          Dst:             i16_to_le
        - Src:             './htslib/vcf.h:1568,13'
          Dst:             i32_to_le
    - functionName:    bcf_enc_vint
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2836
      functionLinenumberEnd: 2923
      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:2840,16'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:2842,16'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:2882,17'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:2883,17'
          Dst:             ks_resize
        - Src:             'vcf.c:2894,17'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:2895,17'
          Dst:             ks_resize
        - Src:             'vcf.c:2904,17'
          Dst:             i16_to_le
        - Src:             'vcf.c:2910,17'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:2911,17'
          Dst:             ks_resize
        - Src:             'vcf.c:2915,17'
          Dst:             i32_to_le
    - functionName:    serialize_float_array
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2945
      functionLinenumberEnd: 2961
      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:2951,9'
          Dst:             ks_resize
        - Src:             'vcf.c:2955,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: 3377
      functionLinenumberEnd: 3617
      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:3386,15'
          Dst:             bcf_get_version
        - Src:             'vcf.c:3409,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3409,17'
          Dst:             hts_log
        - Src:             'vcf.c:3457,39'
          Dst:             hts_str2uint
        - Src:             'vcf.c:3482,25'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3482,25'
          Dst:             hts_log
        - Src:             'vcf.c:3486,25'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3486,25'
          Dst:             hts_log
        - Src:             'vcf.c:3512,44'
          Dst:             hts_str2int
        - Src:             'vcf.c:3517,33'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3517,33'
          Dst:             hts_log
        - Src:             'vcf.c:3538,39'
          Dst:             isdigit_c
        - Src:             'vcf.c:3539,25'
          Dst:             bcf_float_set
        - Src:             'vcf.c:3543,41'
          Dst:             hts_str2dbl
        - Src:             'vcf.c:3546,29'
          Dst:             bcf_seqname
        - Src:             'vcf.c:3546,29'
          Dst:             hts_log
        - Src:             'vcf.c:3556,21'
          Dst:             bcf_float_set
        - Src:             'vcf.c:3558,21'
          Dst:             bcf_float_set
        - Src:             'vcf.c:3560,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3560,17'
          Dst:             hts_log
        - Src:             'vcf.c:3573,17'
          Dst:             hts_strprint
        - Src:             'vcf.c:3573,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3573,17'
          Dst:             hts_log
        - Src:             'vcf.c:3608,17'
          Dst:             bcf_float_set
        - Src:             'vcf.c:3609,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: 1499
      functionLinenumberEnd: 1503
      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: 1598
      functionLinenumberEnd: 1606
      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:1599,24'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:1602,9'
          Dst:             hts_log
    - functionName:    bcf_hdr_get_hrec
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1211
      functionLinenumberEnd: 1264
      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:1221,13'
          Dst:             ksprintf
        - Src:             'vcf.c:1222,34'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1223,25'
          Dst:             kh_get_hdict
        - Src:             'vcf.c:1231,18'
          Dst:             strcmp
        - Src:             'vcf.c:1241,15'
          Dst:             strcmp
        - Src:             'vcf.c:1244,13'
          Dst:             ksprintf
        - Src:             'vcf.c:1245,34'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1246,25'
          Dst:             kh_get_hdict
        - Src:             'vcf.c:1254,18'
          Dst:             strcmp
        - Src:             'vcf.c:1255,21'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:1256,27'
          Dst:             strcmp
        - Src:             'vcf.c:1261,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: 3300
      functionLinenumberEnd: 3373
      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:3313,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3313,13'
          Dst:             hts_log
        - Src:             'vcf.c:3318,13'
          Dst:             align_mem
        - Src:             'vcf.c:3319,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3319,13'
          Dst:             hts_log
        - Src:             'vcf.c:3329,28'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3329,28'
          Dst:             hts_log
        - Src:             'vcf.c:3338,13'
          Dst:             ks_resize
        - Src:             'vcf.c:3339,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3339,13'
          Dst:             hts_log
        - Src:             'vcf.c:3364,28'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3364,28'
          Dst:             hts_log
    - functionName:    vcf_parse_format_max3
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3212
      functionLinenumberEnd: 3295
      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:3253,13'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:3277,25'
          Dst:             hts_log
    - functionName:    vcf_parse_format_dict2
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3160
      functionLinenumberEnd: 3208
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          393
      EdgeCount:       53
      CyclomaticComplexity: 15
      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:3166,21'
          Dst:             kstrtok
        - Src:             'vcf.c:3169,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3169,13'
          Dst:             hts_log
        - Src:             'vcf.c:3175,21'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3179,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3179,17'
          Dst:             hts_log
        - Src:             'vcf.c:3183,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3183,13'
          Dst:             hts_log
        - Src:             'vcf.c:3186,13'
          Dst:             ksprintf
        - Src:             'vcf.c:3187,32'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:3189,30'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:3190,26'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:3191,32'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:3193,17'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3196,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3196,17'
          Dst:             hts_log
        - Src:             'vcf.c:3166,52'
          Dst:             kstrtok
    - functionName:    bcf_hdr_parse_line
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 656
      functionLinenumberEnd: 795
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         172
      ICount:          1045
      EdgeCount:       231
      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:714,9'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:668,26'
          Dst:             calloc
        - Src:             'vcf.c:670,17'
          Dst:             hts_malloc_ps
        - Src:             'vcf.c:680,23'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:697,28'
          Dst:             isalpha_c
        - Src:             'vcf.c:700,28'
          Dst:             isalnum_c
        - Src:             'vcf.c:708,13'
          Dst:             bcf_hrec_add_key
        - Src:             'vcf.c:728,49'
          Dst:             is_escaped
        - Src:             'vcf.c:746,17'
          Dst:             hts_strprint
        - Src:             'vcf.c:746,17'
          Dst:             hts_log
        - Src:             'vcf.c:753,13'
          Dst:             bcf_hrec_set_val
        - Src:             'vcf.c:763,9'
          Dst:             hts_log
        - Src:             'vcf.c:768,45'
          Dst:             isspace_c
        - Src:             'vcf.c:771,9'
          Dst:             hts_strprint
        - Src:             'vcf.c:771,9'
          Dst:             hts_log
        - Src:             'vcf.c:781,5'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:788,9'
          Dst:             hts_strprint
        - Src:             'vcf.c:788,9'
          Dst:             hts_log
        - Src:             'vcf.c:792,9'
          Dst:             bcf_hrec_destroy
    - functionName:    bcf_hdr_add_hrec
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1126
      functionLinenumberEnd: 1208
      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:1128,26'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1133,5'
          Dst:             bcf_hrec_check
        - Src:             'vcf.c:1135,11'
          Dst:             bcf_hdr_register_hrec
        - Src:             'vcf.c:1142,13'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1146,14'
          Dst:             ksprintf
        - Src:             'vcf.c:1151,21'
          Dst:             kh_get_hdict
        - Src:             'vcf.c:1155,13'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1159,14'
          Dst:             strcmp
        - Src:             'vcf.c:1160,28'
          Dst:             bcf_get_version
        - Src:             'vcf.c:1165,39'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:1167,14'
          Dst:             ksprintf
        - Src:             'vcf.c:1172,21'
          Dst:             kh_get_hdict
        - Src:             'vcf.c:1176,13'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1184,29'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:1187,9'
          Dst:             bcf_hdr_unregister_hrec
        - Src:             'vcf.c:1194,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: 833
      functionLinenumberEnd: 1025
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         185
      ICount:          1274
      EdgeCount:       253
      CyclomaticComplexity: 70
      functionsReached:
        - __isoc99_sscanf
        - bcf_hdr_set_idx
        - bcf_hrec_find_key
        - bcf_hrec_set_type
        - hrec_add_idx
        - hts_log
        - kh_del_vdict
        - kh_get_vdict
        - kh_put_vdict
        - strcmp
        - strdup
        - strtol
        - strtoll
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:839,5'
          Dst:             bcf_hrec_set_type
        - Src:             'vcf.c:846,13'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:850,19'
          Dst:             strtoll
        - Src:             'vcf.c:854,13'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:856,15'
          Dst:             strdup
        - Src:             'vcf.c:861,21'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:868,17'
          Dst:             kh_put_vdict
        - Src:             'vcf.c:872,19'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:876,19'
          Dst:             strtol
        - Src:             'vcf.c:880,21'
          Dst:             kh_del_vdict
        - Src:             'vcf.c:883,17'
          Dst:             hts_log
        - Src:             'vcf.c:892,13'
          Dst:             bcf_hdr_set_idx
        - Src:             'vcf.c:894,17'
          Dst:             kh_del_vdict
        - Src:             'vcf.c:900,17'
          Dst:             hrec_add_idx
        - Src:             'vcf.c:917,15'
          Dst:             strcmp
        - Src:             'vcf.c:918,20'
          Dst:             strcmp
        - Src:             'vcf.c:921,19'
          Dst:             strtol
        - Src:             'vcf.c:924,17'
          Dst:             hts_log
        - Src:             'vcf.c:928,20'
          Dst:             strcmp
        - Src:             'vcf.c:930,19'
          Dst:             strcmp
        - Src:             'vcf.c:931,24'
          Dst:             strcmp
        - Src:             'vcf.c:932,24'
          Dst:             strcmp
        - Src:             'vcf.c:933,24'
          Dst:             strcmp
        - Src:             'vcf.c:934,24'
          Dst:             strcmp
        - Src:             'vcf.c:937,17'
          Dst:             hts_log
        - Src:             'vcf.c:941,20'
          Dst:             strcmp
        - Src:             'vcf.c:944,19'
          Dst:             strcmp
        - Src:             'vcf.c:945,24'
          Dst:             strcmp
        - Src:             'vcf.c:946,24'
          Dst:             strcmp
        - Src:             'vcf.c:947,24'
          Dst:             strcmp
        - Src:             'vcf.c:948,34'
          Dst:             strcmp
        - Src:             'vcf.c:949,34'
          Dst:             strcmp
        - Src:             'vcf.c:950,34'
          Dst:             strcmp
        - Src:             'vcf.c:951,34'
          Dst:             strcmp
        - Src:             'vcf.c:952,34'
          Dst:             strcmp
        - Src:             'vcf.c:955,21'
          Dst:             __isoc99_sscanf
        - Src:             'vcf.c:963,13'
          Dst:             hts_log
        - Src:             'vcf.c:968,13'
          Dst:             hts_log
        - Src:             'vcf.c:974,13'
          Dst:             hts_log
        - Src:             'vcf.c:985,11'
          Dst:             strdup
        - Src:             'vcf.c:989,9'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:998,17'
          Dst:             hrec_add_idx
        - Src:             'vcf.c:1004,9'
          Dst:             kh_put_vdict
        - Src:             'vcf.c:1013,9'
          Dst:             bcf_hdr_set_idx
        - Src:             'vcf.c:1014,9'
          Dst:             kh_del_vdict
        - Src:             'vcf.c:1019,13'
          Dst:             hrec_add_idx
    - functionName:    bcf_hdr_unregister_hrec
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1028
      functionLinenumberEnd: 1043
      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:1033,18'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:1039,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:         52
      ICount:          542
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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:    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:    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:    bcf_hdr_set_idx
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 798
      functionLinenumberEnd: 829
      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:806,9'
          Dst:             hts_log
        - Src:             'vcf.c:808,9'
          Dst:             __errno_location
        - Src:             'vcf.c:818,9'
          Dst:             hts_resize_array_
    - 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:    3
      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:    __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:    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:    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:         52
      ICount:          537
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - 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:    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: 3139
      functionLinenumberEnd: 3156
      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:3143,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3143,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: 2310
      functionLinenumberEnd: 2330
      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:2322,14'
          Dst:             kputsn_
    - functionName:    bcf1_sync_filter
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2300
      functionLinenumberEnd: 2307
      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:2303,16'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:2305,16'
          Dst:             bcf_enc_vint
    - functionName:    bcf1_sync_alleles
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2289
      functionLinenumberEnd: 2298
      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:2293,32'
          Dst:             strlen
        - Src:             'vcf.c:2293,13'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:2296,55'
          Dst:             strlen
    - functionName:    bcf_enc_vchar
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2972
      functionLinenumberEnd: 2975
      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:2973,5'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:2974,5'
          Dst:             kputsn
    - functionName:    bcf1_sync_id
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2280
      functionLinenumberEnd: 2287
      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:2282,24'
          Dst:             strcmp
        - Src:             'vcf.c:2283,35'
          Dst:             strlen
        - Src:             'vcf.c:2283,16'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:2285,16'
          Dst:             bcf_enc_size
    - functionName:    updatephasing
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1987
      functionLinenumberEnd: 2030
      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:2003,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    bcf_record_check_err
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2033
      functionLinenumberEnd: 2039
      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:2035,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2035,9'
          Dst:             hts_log
    - functionName:    bcf_dec_typed_int1_safe
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1920
      functionLinenumberEnd: 1949
      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:1931,20'
          Dst:             le_to_i16
        - Src:             'vcf.c:1934,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: 1966
      functionLinenumberEnd: 1972
      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: 1952
      functionLinenumberEnd: 1964
      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:1961,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: 1676
      functionLinenumberEnd: 1709
      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:1680,26'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1695,13'
          Dst:             kh_destroy_hdict
        - Src:             'vcf.c:1698,9'
          Dst:             kh_destroy_vdict
        - Src:             'vcf.c:1702,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:    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: 6289
      functionLinenumberEnd: 6303
      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:6295,22'
          Dst:             strlen
        - Src:             'vcf.c:6296,20'
          Dst:             snprintf
        - Src:             'vcf.c:6299,9'
          Dst:             snprintf
    - functionName:    bcf_get_format_values
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6194
      functionLinenumberEnd: 6262
      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:6252,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:6195,23'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6204,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:6217,21'
          Dst:             realloc
        - Src:             'vcf.c:6231,17'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:6253,28'
          Dst:             le_to_i8
        - Src:             'vcf.c:6254,28'
          Dst:             le_to_i16
        - Src:             'vcf.c:6255,28'
          Dst:             le_to_i32
        - Src:             'vcf.c:6256,28'
          Dst:             le_to_u32
        - Src:             'vcf.c:6256,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6256,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6256,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6256,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6257,18'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:6257,18'
          Dst:             hts_log
        - Src:             'vcf.c:6257,125'
          Dst:             exit
    - functionName:    bcf_unpack
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4236
      functionLinenumberEnd: 4303
      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:4250,15'
          Dst:             bcf_fmt_sized_array
        - Src:             'vcf.c:4252,9'
          Dst:             kputc_
        - Src:             'vcf.c:4256,9'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:4262,19'
          Dst:             bcf_fmt_sized_array
        - Src:             'vcf.c:4263,13'
          Dst:             kputc_
        - Src:             'vcf.c:4278,24'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:4279,13'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:4281,29'
          Dst:             bcf_dec_int1
        - Src:             'vcf.c:4288,9'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:4291,19'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:4296,9'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:4299,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: 3083
      functionLinenumberEnd: 3087
      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:3085,9'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:3086,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: 1671
      functionLinenumberEnd: 1677
      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:1676,19'
          Dst:             bcf_dec_typed_int1
    - functionName:    bcf_dec_int1
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1631
      functionLinenumberEnd: 1647
      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:1634,16'
          Dst:             le_to_i8
        - Src:             './htslib/vcf.h:1637,16'
          Dst:             le_to_i16
        - Src:             './htslib/vcf.h:1640,16'
          Dst:             le_to_i32
        - Src:             './htslib/vcf.h:1643,16'
          Dst:             le_to_i64
    - functionName:    bcf_unpack_info_core1
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4194
      functionLinenumberEnd: 4232
      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:4204,9'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:4197,17'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:4198,23'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:4210,26'
          Dst:             le_to_i16
        - Src:             'vcf.c:4214,26'
          Dst:             le_to_i32
        - Src:             'vcf.c:4218,26'
          Dst:             le_to_float
        - Src:             'vcf.c:4222,26'
          Dst:             le_to_i64
    - functionName:    bcf_unpack_fmt_core1
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4180
      functionLinenumberEnd: 4190
      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:4182,15'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:4183,14'
          Dst:             bcf_dec_size
    - functionName:    bcf_dec_typed_int1
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1666
      functionLinenumberEnd: 1667
      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:1667,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: 3038
      functionLinenumberEnd: 3080
      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:3070,9'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:3042,16'
          Dst:             kputc_
        - Src:             'vcf.c:3051,27'
          Dst:             memchr
        - Src:             'vcf.c:3052,18'
          Dst:             kputsn
        - Src:             'vcf.c:3055,21'
          Dst:             kputc
        - Src:             'vcf.c:3071,32'
          Dst:             le_to_i8
        - Src:             'vcf.c:3071,32'
          Dst:             kputc_
        - Src:             'vcf.c:3071,32'
          Dst:             kputc
        - Src:             'vcf.c:3071,32'
          Dst:             kputw
        - Src:             'vcf.c:3072,32'
          Dst:             le_to_i16
        - Src:             'vcf.c:3072,32'
          Dst:             kputc_
        - Src:             'vcf.c:3072,32'
          Dst:             kputc
        - Src:             'vcf.c:3072,32'
          Dst:             kputw
        - Src:             'vcf.c:3073,32'
          Dst:             le_to_i32
        - Src:             'vcf.c:3073,32'
          Dst:             kputc_
        - Src:             'vcf.c:3073,32'
          Dst:             kputc
        - Src:             'vcf.c:3073,32'
          Dst:             kputw
        - Src:             'vcf.c:3074,32'
          Dst:             le_to_u32
        - Src:             'vcf.c:3074,32'
          Dst:             kputc_
        - Src:             'vcf.c:3074,32'
          Dst:             kputc
        - Src:             'vcf.c:3074,32'
          Dst:             le_to_float
        - Src:             'vcf.c:3074,32'
          Dst:             kputd
        - Src:             'vcf.c:3075,22'
          Dst:             hts_log
        - Src:             'vcf.c:3075,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: 6155
      functionLinenumberEnd: 6191
      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:6156,20'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6160,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:6171,16'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:6178,21'
          Dst:             realloc
    - functionName:    bcf_get_info_values
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6071
      functionLinenumberEnd: 6152
      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:6099,5'
          Branch Sides:    []
        - Branch String:   'vcf.c:6126,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:6072,31'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6076,44'
          Dst:             bcf_unpack
        - Src:             'vcf.c:6090,21'
          Dst:             realloc
        - Src:             'vcf.c:6104,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:6104,13'
          Dst:             hts_log
        - Src:             'vcf.c:6110,17'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:6129,17'
          Dst:             le_to_i8
        - Src:             'vcf.c:6131,17'
          Dst:             le_to_i8
        - Src:             'vcf.c:6136,17'
          Dst:             le_to_i16
        - Src:             'vcf.c:6138,17'
          Dst:             le_to_i16
        - Src:             'vcf.c:6143,17'
          Dst:             le_to_i32
        - Src:             'vcf.c:6145,17'
          Dst:             le_to_i32
        - Src:             'vcf.c:6147,28'
          Dst:             le_to_u32
        - Src:             'vcf.c:6147,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6147,28'
          Dst:             bcf_float_set
        - Src:             'vcf.c:6148,18'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:6148,18'
          Dst:             hts_log
    - functionName:    bcf_get_info_id
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6059
      functionLinenumberEnd: 6067
      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:6061,44'
          Dst:             bcf_unpack
    - functionName:    bcf_get_info
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6041
      functionLinenumberEnd: 6045
      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:6042,14'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6044,12'
          Dst:             bcf_get_info_id
    - functionName:    bcf_get_fmt_id
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6048
      functionLinenumberEnd: 6056
      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:6050,43'
          Dst:             bcf_unpack
    - functionName:    bcf_get_fmt
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6034
      functionLinenumberEnd: 6038
      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:6035,14'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6037,12'
          Dst:             bcf_get_fmt_id
    - functionName:    bcf_add_id
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6005
      functionLinenumberEnd: 6031
      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:6007,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:6012,15'
          Dst:             strlen
        - Src:             'vcf.c:6014,26'
          Dst:             strstr
        - Src:             'vcf.c:6022,17'
          Dst:             strlen
        - Src:             'vcf.c:6023,9'
          Dst:             kputc
        - Src:             'vcf.c:6025,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: 5991
      functionLinenumberEnd: 6001
      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:5992,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5996,9'
          Dst:             kputs
        - Src:             'vcf.c:5998,9'
          Dst:             kputs
    - functionName:    bcf_update_alleles_str
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5973
      functionLinenumberEnd: 5987
      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:5974,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5977,5'
          Dst:             kputs
        - Src:             'vcf.c:5987,12'
          Dst:             _bcf1_sync_alleles
    - functionName:    _bcf1_sync_alleles
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5887
      functionLinenumberEnd: 5906
      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:5892,5'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:5904,18'
          Dst:             get_rlen
    - functionName:    get_rlen
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6423
      functionLinenumberEnd: 6659
      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:6550,9'
          Branch Sides:    []
        - Branch String:   'vcf.c:6567,13'
          Branch Sides:    []
        - Branch String:   'vcf.c:6611,17'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:6435,13'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6446,17'
          Dst:             svlen_on_ref_for_vcf_alt
        - Src:             'vcf.c:6450,25'
          Dst:             strcmp
        - Src:             'vcf.c:6451,27'
          Dst:             strcmp
        - Src:             'vcf.c:6456,33'
          Dst:             strlen
        - Src:             'vcf.c:6459,16'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:6464,20'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:6468,21'
          Dst:             svlen_on_ref_for_vcf_alt
        - Src:             'vcf.c:6472,43'
          Dst:             strncmp
        - Src:             'vcf.c:6473,36'
          Dst:             strncmp
        - Src:             'vcf.c:6484,16'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:6489,27'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6494,23'
          Dst:             bcf_get_info
        - Src:             'vcf.c:6495,25'
          Dst:             bcf_get_info
        - Src:             'vcf.c:6498,22'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:6500,25'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:6506,25'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:6513,28'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:6522,20'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:6529,22'
          Dst:             bcf_get_fmt
        - Src:             'vcf.c:6532,22'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:6534,29'
          Dst:             bcf_unpack_fmt_core1
        - Src:             'vcf.c:6539,28'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:6569,27'
          Dst:             le_to_i8
        - Src:             'vcf.c:6573,27'
          Dst:             le_to_i16
        - Src:             'vcf.c:6577,27'
          Dst:             le_to_i32
        - Src:             'vcf.c:6581,27'
          Dst:             le_to_i64
        - Src:             'vcf.c:6613,27'
          Dst:             le_to_i8
        - Src:             'vcf.c:6617,27'
          Dst:             le_to_i16
        - Src:             'vcf.c:6621,27'
          Dst:             le_to_i32
        - Src:             'vcf.c:6625,27'
          Dst:             le_to_i64
    - functionName:    bcf_update_alleles
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5909
      functionLinenumberEnd: 5970
      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:5910,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5925,21'
          Dst:             strlen
        - Src:             'vcf.c:5938,23'
          Dst:             strlen
        - Src:             'vcf.c:5942,13'
          Dst:             hts_log
        - Src:             'vcf.c:5955,9'
          Dst:             __assert_fail
        - Src:             'vcf.c:5962,21'
          Dst:             strlen
        - Src:             'vcf.c:5969,12'
          Dst:             _bcf1_sync_alleles
    - functionName:    bcf_has_filter
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5872
      functionLinenumberEnd: 5884
      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:5874,14'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5877,43'
          Dst:             bcf_unpack
    - functionName:    bcf_remove_filter
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5858
      functionLinenumberEnd: 5869
      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:5859,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5867,35'
          Dst:             bcf_add_filter
    - functionName:    bcf_add_filter
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5840
      functionLinenumberEnd: 5856
      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:5841,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5853,5'
          Dst:             hts_realloc_or_die
    - functionName:    bcf_update_filter
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5827
      functionLinenumberEnd: 5837
      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:5828,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5832,5'
          Dst:             hts_realloc_or_die
    - functionName:    bcf_update_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5713
      functionLinenumberEnd: 5823
      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:5715,21'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5723,43'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5729,14'
          Dst:             strcmp
        - Src:             'vcf.c:5744,26'
          Dst:             get_rlen
        - Src:             'vcf.c:5751,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:5755,5'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:5756,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:5758,9'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:5761,9'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5762,9'
          Dst:             serialize_float_array
        - Src:             'vcf.c:5766,9'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5767,9'
          Dst:             kputsn
        - Src:             'vcf.c:5771,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5771,9'
          Dst:             hts_log
        - Src:             'vcf.c:5772,9'
          Dst:             abort
        - Src:             'vcf.c:5779,9'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:5790,9'
          Dst:             bcf_unpack_fmt_core1
        - Src:             'vcf.c:5805,13'
          Dst:             bcf_unpack_fmt_core1
        - Src:             'vcf.c:5812,13'
          Dst:             bcf_unpack_fmt_core1
        - Src:             'vcf.c:5820,22'
          Dst:             get_rlen
    - functionName:    bcf_update_format_string
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5687
      functionLinenumberEnd: 5710
      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:5689,16'
          Dst:             bcf_update_format
        - Src:             'vcf.c:5694,19'
          Dst:             strlen
        - Src:             'vcf.c:5697,17'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:5707,15'
          Dst:             bcf_update_format
    - functionName:    bcf_update_info
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5549
      functionLinenumberEnd: 5684
      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:5554,21'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5556,44'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5558,18'
          Dst:             strcmp
        - Src:             'vcf.c:5559,20'
          Dst:             strcmp
        - Src:             'vcf.c:5580,26'
          Dst:             get_rlen
        - Src:             'vcf.c:5589,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5589,13'
          Dst:             hts_log
        - Src:             'vcf.c:5595,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5595,13'
          Dst:             hts_log
        - Src:             'vcf.c:5603,5'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:5605,9'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:5607,9'
          Dst:             bcf_enc_vfloat
        - Src:             'vcf.c:5611,13'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5613,33'
          Dst:             strlen
        - Src:             'vcf.c:5613,13'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:5627,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5627,9'
          Dst:             hts_log
        - Src:             'vcf.c:5628,9'
          Dst:             abort
        - Src:             'vcf.c:5642,13'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:5649,13'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:5658,9'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:5660,9'
          Dst:             bcf_unpack_info_core1
        - Src:             'vcf.c:5674,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5674,21'
          Dst:             hts_log
        - Src:             'vcf.c:5681,22'
          Dst:             get_rlen
    - functionName:    bcf_enc_vfloat
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2964
      functionLinenumberEnd: 2968
      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:2965,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:2966,5'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:2967,5'
          Dst:             serialize_float_array
    - functionName:    bcf_has_variant_types
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5526
      functionLinenumberEnd: 5546
      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:5528,13'
          Dst:             bcf_set_variant_types
    - functionName:    bcf_set_variant_types
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5446
      functionLinenumberEnd: 5469
      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:5447,40'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5451,34'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:5464,9'
          Dst:             bcf_set_variant_type
    - functionName:    bcf_variant_length
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5516
      functionLinenumberEnd: 5522
      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:5518,13'
          Dst:             bcf_set_variant_types
    - functionName:    bcf_has_variant_type
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5504
      functionLinenumberEnd: 5513
      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:5506,13'
          Dst:             bcf_set_variant_types
    - functionName:    bcf_get_variant_type
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5488
      functionLinenumberEnd: 5499
      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:5490,13'
          Dst:             bcf_set_variant_types
        - Src:             'vcf.c:5491,13'
          Dst:             __errno_location
        - Src:             'vcf.c:5491,13'
          Dst:             strerror
        - Src:             'vcf.c:5491,13'
          Dst:             hts_log
        - Src:             'vcf.c:5492,13'
          Dst:             exit
        - Src:             'vcf.c:5496,9'
          Dst:             hts_log
        - Src:             'vcf.c:5497,9'
          Dst:             exit
    - functionName:    bcf_get_variant_types
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5477
      functionLinenumberEnd: 5484
      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:5479,13'
          Dst:             bcf_set_variant_types
        - Src:             'vcf.c:5480,13'
          Dst:             __errno_location
        - Src:             'vcf.c:5480,13'
          Dst:             strerror
        - Src:             'vcf.c:5480,13'
          Dst:             hts_log
        - Src:             'vcf.c:5481,13'
          Dst:             exit
    - functionName:    bcf_is_snp
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5357
      functionLinenumberEnd: 5371
      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:5359,5'
          Dst:             bcf_unpack
    - functionName:    bcf_subset
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5330
      functionLinenumberEnd: 5353
      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:5338,19'
          Dst:             bcf_unpack_fmt_core1
        - Src:             'vcf.c:5341,13'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:5342,13'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5344,35'
          Dst:             kputsn
    - functionName:    bcf_hdr_set_samples
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5222
      functionLinenumberEnd: 5327
      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:5223,22'
          Dst:             strcmp
        - Src:             'vcf.c:5226,36'
          Dst:             calloc
        - Src:             'vcf.c:5235,20'
          Dst:             kh_init_vdict
        - Src:             'vcf.c:5242,9'
          Dst:             kh_destroy_vdict
        - Src:             'vcf.c:5244,13'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:5253,20'
          Dst:             hts_readlist
        - Src:             'vcf.c:5257,15'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5263,9'
          Dst:             __assert_fail
        - Src:             'vcf.c:5280,26'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:5285,20'
          Dst:             kh_init_vdict
        - Src:             'vcf.c:5294,21'
          Dst:             kh_put_vdict
        - Src:             'vcf.c:5297,21'
          Dst:             kh_destroy_vdict
        - Src:             'vcf.c:5309,21'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:5310,32'
          Dst:             kh_del_vdict
        - Src:             'vcf.c:5316,9'
          Dst:             kh_destroy_vdict
        - Src:             'vcf.c:5322,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:    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:    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: 5159
      functionLinenumberEnd: 5219
      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:5160,24'
          Dst:             khash_str2int_init
        - Src:             'vcf.c:5163,20'
          Dst:             bcf_hdr_init
        - Src:             'vcf.c:5166,9'
          Dst:             hts_log
        - Src:             'vcf.c:5169,9'
          Dst:             bcf_hdr_format
        - Src:             'vcf.c:5170,9'
          Dst:             hts_log
        - Src:             'vcf.c:5173,27'
          Dst:             bcf_hdr_get_version
        - Src:             'vcf.c:5173,5'
          Dst:             bcf_hdr_set_version
        - Src:             'vcf.c:5177,19'
          Dst:             find_chrom_header_line
        - Src:             'vcf.c:5179,21'
          Dst:             strchr
        - Src:             'vcf.c:5181,13'
          Dst:             hts_log
        - Src:             'vcf.c:5184,14'
          Dst:             kputsn
        - Src:             'vcf.c:5186,18'
          Dst:             khash_str2int_has_key
        - Src:             'vcf.c:5188,17'
          Dst:             hts_log
        - Src:             'vcf.c:5191,23'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5193,18'
          Dst:             kputc
        - Src:             'vcf.c:5194,18'
          Dst:             kputs
        - Src:             'vcf.c:5195,18'
          Dst:             khash_str2int_inc
        - Src:             'vcf.c:5197,17'
          Dst:             kputsn
        - Src:             'vcf.c:5199,10'
          Dst:             kputc
        - Src:             'vcf.c:5201,9'
          Dst:             __errno_location
        - Src:             'vcf.c:5201,9'
          Dst:             strerror
        - Src:             'vcf.c:5201,9'
          Dst:             hts_log
        - Src:             'vcf.c:5204,10'
          Dst:             bcf_hdr_parse
        - Src:             'vcf.c:5205,9'
          Dst:             bcf_hdr_destroy
        - Src:             'vcf.c:5210,5'
          Dst:             khash_str2int_destroy
        - Src:             'vcf.c:5214,5'
          Dst:             ks_free
        - Src:             'vcf.c:5215,5'
          Dst:             ks_free
        - Src:             'vcf.c:5216,5'
          Dst:             khash_str2int_destroy
        - Src:             'vcf.c:5217,5'
          Dst:             bcf_hdr_destroy
    - functionName:    bcf_hdr_init
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1637
      functionLinenumberEnd: 1673
      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:1640,21'
          Dst:             calloc
        - Src:             'vcf.c:1643,27'
          Dst:             kh_init_vdict
        - Src:             'vcf.c:1646,13'
          Dst:             kh_resize_vdict
        - Src:             'vcf.c:1649,42'
          Dst:             calloc
        - Src:             'vcf.c:1651,22'
          Dst:             kh_init_hdict
        - Src:             'vcf.c:1659,10'
          Dst:             strchr
        - Src:             'vcf.c:1661,9'
          Dst:             bcf_hdr_append
        - Src:             'vcf.c:1663,9'
          Dst:             bcf_hdr_append
        - Src:             'vcf.c:1670,9'
          Dst:             kh_destroy_vdict
    - functionName:    bcf_hdr_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2742
      functionLinenumberEnd: 2756
      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:2745,14'
          Dst:             _bcf_hrec_format
        - Src:             'vcf.c:2747,10'
          Dst:             ksprintf
        - Src:             'vcf.c:2750,14'
          Dst:             ksprintf
        - Src:             'vcf.c:2752,18'
          Dst:             ksprintf
        - Src:             'vcf.c:2754,10'
          Dst:             ksprintf
    - functionName:    bcf_hdr_set_version
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1609
      functionLinenumberEnd: 1634
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         13
      ICount:          103
      EdgeCount:       17
      CyclomaticComplexity: 6
      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:1610,24'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:1615,14'
          Dst:             ksprintf
        - Src:             'vcf.c:1616,16'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:1619,37'
          Dst:             bcf_get_version
        - Src:             'vcf.c:1619,9'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1623,27'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:1626,22'
          Dst:             strdup
        - Src:             'vcf.c:1628,9'
          Dst:             bcf_hdr_update_hrec
        - Src:             'vcf.c:1629,9'
          Dst:             bcf_hrec_destroy
    - functionName:    bcf_hdr_parse
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1412
      functionLinenumberEnd: 1490
      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:1417,24'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:1418,33'
          Dst:             strcasecmp
        - Src:             'vcf.c:1419,9'
          Dst:             hts_log
        - Src:             'vcf.c:1420,9'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:1421,9'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1426,12'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:1427,18'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:1428,9'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1434,32'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:1435,17'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:1436,17'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1441,9'
          Dst:             __assert_fail
        - Src:             'vcf.c:1444,13'
          Dst:             __errno_location
        - Src:             'vcf.c:1444,13'
          Dst:             strerror
        - Src:             'vcf.c:1444,13'
          Dst:             hts_log
        - Src:             'vcf.c:1459,14'
          Dst:             strncmp
        - Src:             'vcf.c:1459,41'
          Dst:             strncmp
        - Src:             'vcf.c:1460,25'
          Dst:             strchr
        - Src:             'vcf.c:1463,17'
          Dst:             hts_strprint
        - Src:             'vcf.c:1463,17'
          Dst:             hts_log
        - Src:             'vcf.c:1480,9'
          Dst:             hts_log
        - Src:             'vcf.c:1484,9'
          Dst:             bcf_hdr_parse_sample_line
        - Src:             'vcf.c:1486,9'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:1488,5'
          Dst:             bcf_hdr_check_sanity
    - 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: 1271
      functionLinenumberEnd: 1409
      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:1272,19'
          Dst:             bcf_get_version
        - Src:             'vcf.c:1351,18'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:1357,67'
          Dst:             atoi
        - Src:             'vcf.c:1362,17'
          Dst:             hts_log
        - Src:             'vcf.c:1367,17'
          Dst:             hts_log
        - Src:             'vcf.c:1378,18'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:1393,66'
          Dst:             atoi
        - Src:             'vcf.c:1398,17'
          Dst:             hts_log
        - Src:             'vcf.c:1403,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: 1087
      functionLinenumberEnd: 1123
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          223
      EdgeCount:       35
      CyclomaticComplexity: 9
      functionsReached:
        - __assert_fail
        - bcf_get_version
        - get_hdr_aux
        - kh_del_hdict
        - kh_put_hdict
        - ksprintf
        - strcmp
        - strdup
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:1088,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:1091,26'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1098,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:1100,5'
          Dst:             kh_del_hdict
        - Src:             'vcf.c:1102,10'
          Dst:             ksprintf
        - Src:             'vcf.c:1107,9'
          Dst:             kh_put_hdict
        - Src:             'vcf.c:1114,19'
          Dst:             strdup
        - Src:             'vcf.c:1118,10'
          Dst:             strcmp
        - Src:             'vcf.c:1120,37'
          Dst:             bcf_get_version
        - Src:             'vcf.c:1120,9'
          Dst:             get_hdr_aux
    - 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: 2714
      functionLinenumberEnd: 2733
      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:2719,14'
          Dst:             ksprintf
        - Src:             'vcf.c:2723,30'
          Dst:             strcmp
        - Src:             'vcf.c:2724,30'
          Dst:             kputc
        - Src:             'vcf.c:2725,18'
          Dst:             ksprintf
        - Src:             'vcf.c:2728,14'
          Dst:             ksprintf
        - Src:             'vcf.c:2731,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: 1493
      functionLinenumberEnd: 1500
      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:1495,24'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:1497,9'
          Dst:             bcf_hdr_add_hrec
    - functionName:    bcf_hdr_dup
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5139
      functionLinenumberEnd: 5156
      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:5140,23'
          Dst:             bcf_hdr_init
        - Src:             'vcf.c:5142,9'
          Dst:             hts_log
        - Src:             'vcf.c:5146,9'
          Dst:             bcf_hdr_format
        - Src:             'vcf.c:5150,10'
          Dst:             bcf_hdr_parse
        - Src:             'vcf.c:5151,9'
          Dst:             bcf_hdr_destroy
    - functionName:    bcf_translate
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5022
      functionLinenumberEnd: 5136
      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:5027,9'
          Dst:             bcf_strerror
        - Src:             'vcf.c:5027,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:5027,9'
          Dst:             hts_log
        - Src:             'vcf.c:5028,9'
          Dst:             exit
        - Src:             'vcf.c:5036,37'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:5044,44'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:5056,5'
          Dst:             bcf_unpack
        - Src:             'vcf.c:5091,13'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:5092,13'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5094,13'
          Dst:             kputsn
        - Src:             'vcf.c:5117,50'
          Dst:             i16_to_le
        - Src:             'vcf.c:5118,20'
          Dst:             i32_to_le
        - Src:             'vcf.c:5124,13'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:5125,13'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:5127,13'
          Dst:             kputsn
    - functionName:    bcf_strerror
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6306
      functionLinenumberEnd: 6333
      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:6321,19'
          Dst:             add_desc_to_buffer
        - Src:             'vcf.c:6330,9'
          Dst:             add_desc_to_buffer
    - functionName:    bcf_hdr_merge
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4920
      functionLinenumberEnd: 5019
      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:4924,15'
          Dst:             bcf_hdr_init
        - Src:             'vcf.c:4926,13'
          Dst:             bcf_hdr_format
        - Src:             'vcf.c:4930,14'
          Dst:             bcf_hdr_parse
        - Src:             'vcf.c:4931,13'
          Dst:             bcf_hdr_destroy
        - Src:             'vcf.c:4951,23'
          Dst:             strcmp
        - Src:             'vcf.c:4954,45'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:4954,23'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:4958,24'
          Dst:             strcmp
        - Src:             'vcf.c:4960,31'
          Dst:             bcf_get_version
        - Src:             'vcf.c:4961,31'
          Dst:             bcf_get_version
        - Src:             'vcf.c:4964,25'
          Dst:             bcf_hdr_set_version
        - Src:             'vcf.c:4973,21'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:4976,35'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:4978,49'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:4978,27'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:4986,21'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:4987,13'
          Dst:             __assert_fail
        - Src:             'vcf.c:4989,31'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:4991,45'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:4991,23'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:5000,34'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:5001,34'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:5004,21'
          Dst:             hts_log
        - Src:             'vcf.c:5009,21'
          Dst:             hts_log
        - Src:             'vcf.c:5016,13'
          Dst:             bcf_hdr_sync
    - functionName:    bcf_hdr_combine
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4844
      functionLinenumberEnd: 4917
      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:4858,23'
          Dst:             strcmp
        - Src:             'vcf.c:4861,45'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:4861,23'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:4869,21'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:4872,35'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:4874,49'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:4874,27'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:4882,21'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:4883,13'
          Dst:             __assert_fail
        - Src:             'vcf.c:4885,31'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:4887,45'
          Dst:             bcf_hrec_dup
        - Src:             'vcf.c:4887,23'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:4896,34'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:4897,34'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:4900,21'
          Dst:             hts_log
        - Src:             'vcf.c:4906,21'
          Dst:             hts_log
        - Src:             'vcf.c:4914,13'
          Dst:             bcf_hdr_sync
    - functionName:    bcf_hdr_name2id_wrapper
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4828
      functionLinenumberEnd: 4829
      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:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:4829,12'
          Dst:             bcf_hdr_name2id
    - functionName:    bcf_itr_querys1
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4833
      functionLinenumberEnd: 4834
      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:4834,12'
          Dst:             hts_itr_querys
        - Src:             'vcf.c:4834,12'
          Dst:             bcf_hdr_name2id_wrapper
        - Src:             'vcf.c:4834,12'
          Dst:             hts_itr_query
        - Src:             'vcf.c:4834,12'
          Dst:             bcf_readrec
    - functionName:    bcf_readrec
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2269
      functionLinenumberEnd: 2276
      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:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'vcf.c:2271,48'
          Dst:             bgzf_get_private_data
        - Src:             'vcf.c:2272,15'
          Dst:             bcf_read1_core
        - Src:             'vcf.c:2273,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: 1876
      functionLinenumberEnd: 1912
      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:1880,16'
          Dst:             bgzf_read
        - Src:             'vcf.c:1884,5'
          Dst:             bcf_clear
        - Src:             'vcf.c:1885,18'
          Dst:             le_to_u32
        - Src:             'vcf.c:1888,17'
          Dst:             le_to_u32
        - Src:             'vcf.c:1893,9'
          Dst:             ks_resize
        - Src:             'vcf.c:1894,9'
          Dst:             ks_resize
        - Src:             'vcf.c:1895,15'
          Dst:             le_to_i32
        - Src:             'vcf.c:1896,15'
          Dst:             le_to_u32
        - Src:             'vcf.c:1898,15'
          Dst:             le_to_i32
        - Src:             'vcf.c:1899,15'
          Dst:             le_to_float
        - Src:             'vcf.c:1900,17'
          Dst:             le_to_u16
        - Src:             'vcf.c:1901,19'
          Dst:             le_to_u16
        - Src:             'vcf.c:1902,19'
          Dst:             le_to_u32
        - Src:             'vcf.c:1909,9'
          Dst:             bgzf_read
        - Src:             'vcf.c:1910,9'
          Dst:             bgzf_read
    - functionName:    bcf_record_check
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2041
      functionLinenumberEnd: 2213
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         175
      ICount:          1086
      EdgeCount:       238
      CyclomaticComplexity: 65
      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:2063,21'
          Dst:             bcf_get_version
        - Src:             'vcf.c:2064,25'
          Dst:             bcf_hdr_id2int
        - Src:             'vcf.c:2071,9'
          Dst:             hts_log
        - Src:             'vcf.c:2078,9'
          Dst:             bcf_dec_size_safe
        - Src:             'vcf.c:2080,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2080,9'
          Dst:             get_type_name
        - Src:             'vcf.c:2080,9'
          Dst:             hts_log
        - Src:             'vcf.c:2089,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2089,9'
          Dst:             hts_log
        - Src:             'vcf.c:2096,13'
          Dst:             bcf_dec_size_safe
        - Src:             'vcf.c:2099,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2099,17'
          Dst:             get_type_name
        - Src:             'vcf.c:2099,17'
          Dst:             hts_log
        - Src:             'vcf.c:2109,9'
          Dst:             bcf_dec_size_safe
        - Src:             'vcf.c:2113,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2113,13'
          Dst:             get_type_name
        - Src:             'vcf.c:2113,13'
          Dst:             hts_log
        - Src:             'vcf.c:2120,31'
          Dst:             bcf_dec_int1
        - Src:             'vcf.c:2125,25'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2125,25'
          Dst:             hts_log
        - Src:             'vcf.c:2137,13'
          Dst:             bcf_dec_typed_int1_safe
        - Src:             'vcf.c:2141,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2141,17'
          Dst:             hts_log
        - Src:             'vcf.c:2144,13'
          Dst:             bcf_dec_size_safe
        - Src:             'vcf.c:2148,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2148,17'
          Dst:             get_type_name
        - Src:             'vcf.c:2148,17'
          Dst:             hts_log
        - Src:             'vcf.c:2162,13'
          Dst:             bcf_dec_typed_int1_safe
        - Src:             'vcf.c:2166,13'
          Dst:             bcf_record_check_err
        - Src:             'vcf.c:2169,13'
          Dst:             bcf_dec_size_safe
        - Src:             'vcf.c:2172,13'
          Dst:             bcf_record_check_err
        - Src:             'vcf.c:2177,17'
          Dst:             updatephasing
        - Src:             'vcf.c:2192,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2192,13'
          Dst:             hts_log
        - Src:             'vcf.c:2198,25'
          Dst:             get_rlen
        - Src:             'vcf.c:2207,5'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2207,5'
          Dst:             hts_log
        - Src:             'vcf.c:2211,5'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2211,5'
          Dst:             hts_log
    - functionName:    bcf_clear
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1824
      functionLinenumberEnd: 1853
      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:1843,5'
          Dst:             bcf_float_set
    - functionName:    bcf_idx_save
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4823
      functionLinenumberEnd: 4824
      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:4824,12'
          Dst:             sam_idx_save
    - functionName:    vcf_idx_init
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4757
      functionLinenumberEnd: 4792
      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:4768,18'
          Dst:             idx_calc_n_lvls_ids
        - Src:             'vcf.c:4772,15'
          Dst:             hts_idx_init
        - Src:             'vcf.c:4777,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4778,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4779,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4780,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4781,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4782,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4783,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:4784,9'
          Dst:             hts_idx_set_meta
        - Src:             'vcf.c:4785,9'
          Dst:             hts_idx_destroy
    - functionName:    idx_calc_n_lvls_ids
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4639
      functionLinenumberEnd: 4655
      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:4652,5'
          Dst:             hts_adjust_csi_settings
    - functionName:    bcf_idx_init
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4796
      functionLinenumberEnd: 4817
      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:4800,9'
          Dst:             hts_log
        - Src:             'vcf.c:4805,16'
          Dst:             vcf_idx_init
        - Src:             'vcf.c:4810,14'
          Dst:             idx_calc_n_lvls_ids
        - Src:             'vcf.c:4812,15'
          Dst:             hts_idx_init
    - functionName:    bcf_index_build
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4751
      functionLinenumberEnd: 4752
      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:4752,12'
          Dst:             bcf_index_build3
    - functionName:    bcf_index_build3
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4702
      functionLinenumberEnd: 4743
      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:4711,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:4707,15'
          Dst:             hts_open
        - Src:             'vcf.c:4709,9'
          Dst:             hts_set_threads
        - Src:             'vcf.c:4710,43'
          Dst:             hts_close
        - Src:             'vcf.c:4714,17'
          Dst:             hts_log
        - Src:             'vcf.c:4717,23'
          Dst:             bcf_index
        - Src:             'vcf.c:4719,27'
          Dst:             hts_idx_save_as
        - Src:             'vcf.c:4721,21'
          Dst:             hts_idx_destroy
        - Src:             'vcf.c:4728,29'
          Dst:             hts_get_bgzfp
        - Src:             'vcf.c:4728,19'
          Dst:             tbx_index
        - Src:             'vcf.c:4730,23'
          Dst:             hts_idx_save_as
        - Src:             'vcf.c:4732,17'
          Dst:             tbx_destroy
        - Src:             'vcf.c:4741,5'
          Dst:             hts_close
    - functionName:    bcf_index
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4659
      functionLinenumberEnd: 4689
      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:4665,9'
          Dst:             bcf_hdr_read
        - Src:             'vcf.c:4668,14'
          Dst:             idx_calc_n_lvls_ids
        - Src:             'vcf.c:4669,11'
          Dst:             hts_idx_init
        - Src:             'vcf.c:4671,9'
          Dst:             bcf_init
        - Src:             'vcf.c:4673,17'
          Dst:             bcf_read
        - Src:             'vcf.c:4675,15'
          Dst:             hts_idx_push
        - Src:             'vcf.c:4679,5'
          Dst:             hts_idx_finish
        - Src:             'vcf.c:4680,5'
          Dst:             bcf_destroy
        - Src:             'vcf.c:4681,5'
          Dst:             bcf_hdr_destroy
        - Src:             'vcf.c:4685,5'
          Dst:             hts_idx_destroy
        - Src:             'vcf.c:4686,5'
          Dst:             bcf_destroy
        - Src:             'vcf.c:4687,5'
          Dst:             bcf_hdr_destroy
    - functionName:    bcf_hdr_read
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1712
      functionLinenumberEnd: 1770
      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:1714,16'
          Dst:             vcf_hdr_read
        - Src:             'vcf.c:1716,9'
          Dst:             hts_log
        - Src:             'vcf.c:1720,5'
          Dst:             __assert_fail
        - Src:             'vcf.c:1725,9'
          Dst:             bcf_hdr_init
        - Src:             'vcf.c:1727,9'
          Dst:             hts_log
        - Src:             'vcf.c:1730,9'
          Dst:             bgzf_read
        - Src:             'vcf.c:1732,9'
          Dst:             hts_log
        - Src:             'vcf.c:1733,9'
          Dst:             bcf_hdr_destroy
        - Src:             'vcf.c:1736,9'
          Dst:             strncmp
        - Src:             'vcf.c:1738,14'
          Dst:             strncmp
        - Src:             'vcf.c:1739,13'
          Dst:             hts_log
        - Src:             'vcf.c:1741,13'
          Dst:             hts_log
        - Src:             'vcf.c:1742,9'
          Dst:             bcf_hdr_destroy
        - Src:             'vcf.c:1748,9'
          Dst:             bgzf_read
        - Src:             'vcf.c:1750,29'
          Dst:             __errno_location
        - Src:             'vcf.c:1752,38'
          Dst:             __errno_location
        - Src:             'vcf.c:1756,9'
          Dst:             bgzf_read
        - Src:             'vcf.c:1758,10'
          Dst:             bcf_hdr_parse
        - Src:             'vcf.c:1761,5'
          Dst:             bcf_hdr_incr_ref
        - Src:             'vcf.c:1762,5'
          Dst:             bgzf_set_private_data
        - Src:             'vcf.c:1762,5'
          Dst:             hdr_bgzf_private_data_cleanup
        - Src:             'vcf.c:1766,5'
          Dst:             hts_log
        - Src:             'vcf.c:1768,5'
          Dst:             bcf_hdr_destroy
    - functionName:    bcf_init
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1817
      functionLinenumberEnd: 1820
      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:1819,18'
          Dst:             calloc
    - functionName:    bcf_read
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2258
      functionLinenumberEnd: 2266
      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:2259,42'
          Dst:             vcf_read
        - Src:             'vcf.c:2261,33'
          Dst:             bgzf_get_private_data
        - Src:             'vcf.c:2262,15'
          Dst:             bcf_read1_core
        - Src:             'vcf.c:2263,25'
          Dst:             bcf_record_check
        - Src:             'vcf.c:2265,12'
          Dst:             bcf_subset_format
    - functionName:    bcf_destroy
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1869
      functionLinenumberEnd: 1873
      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:1871,5'
          Dst:             bcf_empty
    - functionName:    bcf_empty
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1856
      functionLinenumberEnd: 1866
      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:1857,5'
          Dst:             bcf_clear
    - functionName:    vcf_read
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4172
      functionLinenumberEnd: 4177
      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:4174,11'
          Dst:             hts_getline
        - Src:             'vcf.c:4176,12'
          Dst:             vcf_parse
    - functionName:    bcf_subset_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2217
      functionLinenumberEnd: 2255
      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:2228,5'
          Dst:             hts_realloc_or_die
        - Src:             'vcf.c:2233,15'
          Dst:             bcf_unpack_fmt_core1
    - functionName:    vcf_parse
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3989
      functionLinenumberEnd: 4153
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         99
      ICount:          689
      EdgeCount:       136
      CyclomaticComplexity: 39
      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:4011,9'
          Dst:             ks_resize
        - Src:             'vcf.c:4024,5'
          Dst:             bcf_clear
        - Src:             'vcf.c:4029,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4034,9'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:4036,9'
          Dst:             hts_log
        - Src:             'vcf.c:4038,18'
          Dst:             fix_chromosome
        - Src:             'vcf.c:4039,13'
          Dst:             hts_log
        - Src:             'vcf.c:4047,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4053,14'
          Dst:             hts_str2uint
        - Src:             'vcf.c:4055,9'
          Dst:             hts_log
        - Src:             'vcf.c:4058,9'
          Dst:             hts_log
        - Src:             'vcf.c:4067,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4071,9'
          Dst:             memcmp
        - Src:             'vcf.c:4071,21'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:4072,10'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:4075,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4079,5'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:4083,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4087,9'
          Dst:             memcmp
        - Src:             'vcf.c:4091,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4091,21'
          Dst:             hts_log
        - Src:             'vcf.c:4096,17'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:4105,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4109,9'
          Dst:             memcmp
        - Src:             'vcf.c:4109,31'
          Dst:             atof
        - Src:             'vcf.c:4110,10'
          Dst:             bcf_float_set
        - Src:             'vcf.c:4114,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4118,9'
          Dst:             memcmp
        - Src:             'vcf.c:4119,13'
          Dst:             vcf_parse_filter
        - Src:             'vcf.c:4122,12'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:4126,15'
          Dst:             kstrtok
        - Src:             'vcf.c:4130,9'
          Dst:             memcmp
        - Src:             'vcf.c:4131,13'
          Dst:             vcf_parse_info
        - Src:             'vcf.c:4138,9'
          Dst:             kstrtok
        - Src:             'vcf.c:4142,13'
          Dst:             vcf_parse_format
        - Src:             'vcf.c:4148,15'
          Dst:             get_rlen
    - functionName:    fix_chromosome
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3745
      functionLinenumberEnd: 3762
      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:3752,9'
          Dst:             ksprintf
        - Src:             'vcf.c:3754,24'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:3756,22'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:3757,18'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:3758,24'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:3759,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: 3764
      functionLinenumberEnd: 3817
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          302
      EdgeCount:       52
      CyclomaticComplexity: 14
      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:3776,17'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:3778,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3778,13'
          Dst:             hts_log
        - Src:             'vcf.c:3785,14'
          Dst:             kstrtok
        - Src:             'vcf.c:3787,13'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3792,13'
          Dst:             hts_log
        - Src:             'vcf.c:3795,13'
          Dst:             ksprintf
        - Src:             'vcf.c:3796,32'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:3798,30'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:3799,26'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:3800,32'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:3801,17'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3804,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3804,17'
          Dst:             hts_log
        - Src:             'vcf.c:3785,52'
          Dst:             kstrtok
        - Src:             'vcf.c:3813,5'
          Dst:             bcf_enc_vint
    - functionName:    vcf_parse_info
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3819
      functionLinenumberEnd: 3986
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         148
      ICount:          903
      EdgeCount:       196
      CyclomaticComplexity: 50
      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:3834,13'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3834,13'
          Dst:             hts_log
        - Src:             'vcf.c:3848,13'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3851,13'
          Dst:             hts_log
        - Src:             'vcf.c:3854,13'
          Dst:             ksprintf
        - Src:             'vcf.c:3855,32'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:3857,30'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:3858,26'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:3859,32'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:3860,17'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:3863,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3863,17'
          Dst:             hts_log
        - Src:             'vcf.c:3870,9'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:3872,13'
          Dst:             bcf_enc_size
        - Src:             'vcf.c:3874,13'
          Dst:             bcf_enc_vchar
        - Src:             'vcf.c:3882,34'
          Dst:             hts_realloc_p
        - Src:             'vcf.c:3884,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3884,21'
          Dst:             hts_log
        - Src:             'vcf.c:3920,40'
          Dst:             hts_str2int
        - Src:             'vcf.c:3926,29'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3926,29'
          Dst:             hts_log
        - Src:             'vcf.c:3945,21'
          Dst:             bcf_enc_int1
        - Src:             'vcf.c:3948,21'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:3951,24'
          Dst:             memcmp
        - Src:             'vcf.c:3957,29'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:3957,29'
          Dst:             hts_log
        - Src:             'vcf.c:3967,32'
          Dst:             hts_str2dbl
        - Src:             'vcf.c:3969,25'
          Dst:             bcf_float_set
        - Src:             'vcf.c:3972,17'
          Dst:             bcf_enc_vfloat
    - functionName:    vcf_parse_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3689
      functionLinenumberEnd: 3743
      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:3698,16'
          Dst:             vcf_parse_format_empty1
        - Src:             'vcf.c:3702,9'
          Dst:             vcf_parse_format_dict2
        - Src:             'vcf.c:3723,9'
          Dst:             vcf_parse_format_max3
        - Src:             'vcf.c:3727,9'
          Dst:             vcf_parse_format_alloc4
        - Src:             'vcf.c:3731,9'
          Dst:             vcf_parse_format_fill5
        - Src:             'vcf.c:3735,9'
          Dst:             vcf_parse_format_gt6
        - Src:             'vcf.c:3739,9'
          Dst:             vcf_parse_format_check7
    - functionName:    vcf_hdr_read
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2596
      functionLinenumberEnd: 2679
      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:2602,9'
          Dst:             bcf_hdr_init
        - Src:             'vcf.c:2604,9'
          Dst:             hts_log
        - Src:             'vcf.c:2608,19'
          Dst:             hts_getline
        - Src:             'vcf.c:2612,13'
          Dst:             hts_log
        - Src:             'vcf.c:2617,24'
          Dst:             hopen
        - Src:             'vcf.c:2619,17'
          Dst:             hts_log
        - Src:             'vcf.c:2622,31'
          Dst:             khgetline
        - Src:             'vcf.c:2623,29'
          Dst:             strchr
        - Src:             'vcf.c:2625,23'
          Dst:             kputs
        - Src:             'vcf.c:2626,23'
          Dst:             kputsn
        - Src:             'vcf.c:2627,23'
          Dst:             kputs
        - Src:             'vcf.c:2628,29'
          Dst:             atol
        - Src:             'vcf.c:2628,23'
          Dst:             kputl
        - Src:             'vcf.c:2629,23'
          Dst:             kputsn
        - Src:             'vcf.c:2632,17'
          Dst:             hclose
        - Src:             'vcf.c:2633,17'
          Dst:             hts_log
        - Src:             'vcf.c:2638,13'
          Dst:             kputsn
        - Src:             'vcf.c:2639,13'
          Dst:             kputc
        - Src:             'vcf.c:2645,9'
          Dst:             hts_log
        - Src:             'vcf.c:2648,10'
          Dst:             bcf_hdr_parse
        - Src:             'vcf.c:2651,11'
          Dst:             tbx_index_load3
        - Src:             'vcf.c:2655,17'
          Dst:             tbx_seqnames
        - Src:             'vcf.c:2659,32'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:2661,17'
          Dst:             add_missing_contig_hrec
        - Src:             'vcf.c:2665,17'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:2668,9'
          Dst:             tbx_destroy
        - Src:             'vcf.c:2674,14'
          Dst:             tbx_destroy
        - Src:             'vcf.c:2677,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: 2572
      functionLinenumberEnd: 2593
      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:2573,24'
          Dst:             calloc
        - Src:             'vcf.c:2577,17'
          Dst:             strdup
        - Src:             'vcf.c:2580,9'
          Dst:             bcf_hrec_add_key
        - Src:             'vcf.c:2581,53'
          Dst:             strlen
        - Src:             'vcf.c:2581,9'
          Dst:             bcf_hrec_set_val
        - Src:             'vcf.c:2583,9'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:2588,18'
          Dst:             __errno_location
        - Src:             'vcf.c:2589,5'
          Dst:             __errno_location
        - Src:             'vcf.c:2589,5'
          Dst:             strerror
        - Src:             'vcf.c:2589,5'
          Dst:             hts_log
        - Src:             'vcf.c:2590,15'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:2591,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: 4746
      functionLinenumberEnd: 4747
      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:4747,12'
          Dst:             bcf_index_build3
    - functionName:    bcf_index_load3
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4697
      functionLinenumberEnd: 4698
      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:4698,12'
          Dst:             hts_idx_load3
    - functionName:    bcf_index_load2
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4692
      functionLinenumberEnd: 4693
      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:4693,19'
          Dst:             hts_idx_load2
        - Src:             'vcf.c:4693,46'
          Dst:             hts_idx_load
    - functionName:    vcf_write_line
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4578
      functionLinenumberEnd: 4585
      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:4580,37'
          Dst:             kputc
        - Src:             'vcf.c:4582,15'
          Dst:             bgzf_write
        - Src:             'vcf.c:4584,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: 2980
      functionLinenumberEnd: 3035
      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:2990,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:2992,14'
          Dst:             kputc_
        - Src:             'vcf.c:2998,21'
          Dst:             kputc_
        - Src:             'vcf.c:2999,21'
          Dst:             kputw
        - Src:             'vcf.c:3003,13'
          Dst:             le_to_i16
        - Src:             'vcf.c:3006,21'
          Dst:             kputc_
        - Src:             'vcf.c:3007,21'
          Dst:             kputw
        - Src:             'vcf.c:3012,13'
          Dst:             le_to_i32
        - Src:             'vcf.c:3015,21'
          Dst:             kputc_
        - Src:             'vcf.c:3016,21'
          Dst:             kputw
        - Src:             'vcf.c:3021,13'
          Dst:             le_to_u32
        - Src:             'vcf.c:3024,21'
          Dst:             kputc_
        - Src:             'vcf.c:3025,27'
          Dst:             le_to_float
        - Src:             'vcf.c:3025,21'
          Dst:             kputd
        - Src:             'vcf.c:3030,9'
          Dst:             hts_log
    - functionName:    bcf_format_gt_v2
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 6348
      functionLinenumberEnd: 6408
      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:6372,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:6373,28'
          Dst:             le_to_i8
        - Src:             'vcf.c:6373,28'
          Dst:             kputc
        - Src:             'vcf.c:6373,28'
          Dst:             kputc
        - Src:             'vcf.c:6373,28'
          Dst:             kputw
        - Src:             'vcf.c:6373,28'
          Dst:             kputc
        - Src:             'vcf.c:6375,28'
          Dst:             le_to_i16
        - Src:             'vcf.c:6375,28'
          Dst:             kputc
        - Src:             'vcf.c:6375,28'
          Dst:             kputc
        - Src:             'vcf.c:6375,28'
          Dst:             kputw
        - Src:             'vcf.c:6375,28'
          Dst:             kputc
        - Src:             'vcf.c:6377,28'
          Dst:             le_to_i32
        - Src:             'vcf.c:6377,28'
          Dst:             kputc
        - Src:             'vcf.c:6377,28'
          Dst:             kputc
        - Src:             'vcf.c:6377,28'
          Dst:             kputw
        - Src:             'vcf.c:6377,28'
          Dst:             kputc
        - Src:             'vcf.c:6379,33'
          Dst:             kputc
        - Src:             'vcf.c:6380,18'
          Dst:             hts_log
        - Src:             'vcf.c:6384,16'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:6394,22'
          Dst:             kinsert_char
        - Src:             'vcf.c:6396,30'
          Dst:             kinsert_char
        - Src:             'vcf.c:6403,22'
          Dst:             kinsert_char
    - functionName:    bcf_float_is_missing
      functionSourceFile: '/src/htslib/./htslib/vcf.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1507
      functionLinenumberEnd: 1510
      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: 4306
      functionLinenumberEnd: 4575
      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:4309,25'
          Dst:             bcf_seqname
        - Src:             'vcf.c:4311,9'
          Dst:             hts_log
        - Src:             'vcf.c:4313,9'
          Dst:             __errno_location
        - Src:             'vcf.c:4317,5'
          Dst:             bcf_unpack
        - Src:             'vcf.c:4328,26'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:4330,30'
          Dst:             calloc
        - Src:             'vcf.c:4335,5'
          Dst:             kputs
        - Src:             'vcf.c:4336,5'
          Dst:             kputc_
        - Src:             'vcf.c:4336,22'
          Dst:             kputll
        - Src:             'vcf.c:4337,5'
          Dst:             kputc_
        - Src:             'vcf.c:4337,22'
          Dst:             kputs
        - Src:             'vcf.c:4338,5'
          Dst:             kputc_
        - Src:             'vcf.c:4339,26'
          Dst:             kputs
        - Src:             'vcf.c:4340,10'
          Dst:             kputc_
        - Src:             'vcf.c:4341,5'
          Dst:             kputc_
        - Src:             'vcf.c:4344,24'
          Dst:             kputc_
        - Src:             'vcf.c:4345,13'
          Dst:             kputs
        - Src:             'vcf.c:4347,12'
          Dst:             kputc_
        - Src:             'vcf.c:4348,5'
          Dst:             kputc_
        - Src:             'vcf.c:4349,10'
          Dst:             bcf_float_is_missing
        - Src:             'vcf.c:4349,42'
          Dst:             kputc_
        - Src:             'vcf.c:4350,10'
          Dst:             kputd
        - Src:             'vcf.c:4351,5'
          Dst:             kputc_
        - Src:             'vcf.c:4357,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4357,17'
          Dst:             hts_log
        - Src:             'vcf.c:4359,17'
          Dst:             __errno_location
        - Src:             'vcf.c:4362,20'
          Dst:             kputc_
        - Src:             'vcf.c:4364,32'
          Dst:             strlen
        - Src:             'vcf.c:4365,13'
          Dst:             kputsn
        - Src:             'vcf.c:4367,12'
          Dst:             kputc_
        - Src:             'vcf.c:4369,5'
          Dst:             kputc_
        - Src:             'vcf.c:4389,27'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:4390,27'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:4406,17'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4406,17'
          Dst:             hts_log
        - Src:             'vcf.c:4411,17'
          Dst:             __errno_location
        - Src:             'vcf.c:4417,35'
          Dst:             strlen
        - Src:             'vcf.c:4419,17'
          Dst:             ks_resize
        - Src:             'vcf.c:4436,17'
          Dst:             bcf_fmt_array
        - Src:             'vcf.c:4441,26'
          Dst:             bcf_float_is_missing
        - Src:             'vcf.c:4442,25'
          Dst:             kputc_
        - Src:             'vcf.c:4444,25'
          Dst:             kputd
        - Src:             'vcf.c:4446,21'
          Dst:             kputc_
        - Src:             'vcf.c:4455,25'
          Dst:             kputc_
        - Src:             'vcf.c:4457,25'
          Dst:             kputw
        - Src:             'vcf.c:4460,25'
          Dst:             kputc_
        - Src:             'vcf.c:4462,25'
          Dst:             kputll
        - Src:             'vcf.c:4464,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4464,21'
          Dst:             hts_log
        - Src:             'vcf.c:4465,21'
          Dst:             __errno_location
        - Src:             'vcf.c:4470,22'
          Dst:             kputc_
        - Src:             'vcf.c:4471,12'
          Dst:             kputc_
        - Src:             'vcf.c:4490,23'
          Dst:             hts_malloc_p
        - Src:             'vcf.c:4500,31'
          Dst:             bcf_dec_typed_int1
        - Src:             'vcf.c:4501,31'
          Dst:             bcf_dec_size
        - Src:             'vcf.c:4507,17'
          Dst:             kputc_
        - Src:             'vcf.c:4514,21'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4514,21'
          Dst:             hts_log
        - Src:             'vcf.c:4515,21'
          Dst:             __errno_location
        - Src:             'vcf.c:4522,38'
          Dst:             strlen
        - Src:             'vcf.c:4524,17'
          Dst:             kputsn
        - Src:             'vcf.c:4528,26'
          Dst:             kputsn
        - Src:             'vcf.c:4532,17'
          Dst:             kputc_
        - Src:             'vcf.c:4537,33'
          Dst:             kputc_
        - Src:             'vcf.c:4540,36'
          Dst:             bcf_format_gt_v2
        - Src:             'vcf.c:4541,29'
          Dst:             hts_log
        - Src:             'vcf.c:4542,29'
          Dst:             __errno_location
        - Src:             'vcf.c:4550,25'
          Dst:             bcf_fmt_array1
        - Src:             'vcf.c:4552,25'
          Dst:             bcf_fmt_array
        - Src:             'vcf.c:4558,21'
          Dst:             kputc_
        - Src:             'vcf.c:4560,25'
          Dst:             bcf_fmt_array1
        - Src:             'vcf.c:4562,25'
          Dst:             bcf_fmt_array
        - Src:             'vcf.c:4564,30'
          Dst:             kputc_
        - Src:             'vcf.c:4571,17'
          Dst:             kputsn
        - Src:             'vcf.c:4573,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: 4156
      functionLinenumberEnd: 4169
      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:4160,13'
          Dst:             find_file_extension
        - Src:             'vcf.c:4161,16'
          Dst:             vcf_open_mode
        - Src:             'vcf.c:4163,14'
          Dst:             strcasecmp
        - Src:             'vcf.c:4163,46'
          Dst:             strcpy
        - Src:             'vcf.c:4164,14'
          Dst:             strcasecmp
        - Src:             'vcf.c:4164,46'
          Dst:             strcpy
        - Src:             'vcf.c:4165,14'
          Dst:             strcasecmp
        - Src:             'vcf.c:4165,51'
          Dst:             strcasecmp
        - Src:             'vcf.c:4165,87'
          Dst:             strcpy
    - functionName:    bcf_hdr_seqnames
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2769
      functionLinenumberEnd: 2810
      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:2772,41'
          Dst:             calloc
        - Src:             'vcf.c:2775,9'
          Dst:             hts_log
        - Src:             'vcf.c:2788,18'
          Dst:             hts_resize_array_
        - Src:             'vcf.c:2790,17'
          Dst:             hts_log
    - functionName:    bcf_hdr_fmt_text
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2760
      functionLinenumberEnd: 2766
      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:2762,9'
          Dst:             bcf_hdr_format
    - functionName:    bcf_hrec_format
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2737
      functionLinenumberEnd: 2738
      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:2738,12'
          Dst:             _bcf_hrec_format
    - functionName:    bcf_hdr_set
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2682
      functionLinenumberEnd: 2711
      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:2684,20'
          Dst:             hts_readlines
        - Src:             'vcf.c:2689,28'
          Dst:             bcf_hdr_parse_line
        - Src:             'vcf.c:2691,13'
          Dst:             bcf_hdr_add_hrec
        - Src:             'vcf.c:2692,13'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:2698,9'
          Dst:             bcf_hdr_parse_sample_line
        - Src:             'vcf.c:2699,9'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:2705,18'
          Dst:             __errno_location
        - Src:             'vcf.c:2709,5'
          Dst:             __errno_location
    - functionName:    vcf_write
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4589
      functionLinenumberEnd: 4616
      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:4592,9'
          Dst:             vcf_format
        - Src:             'vcf.c:4595,13'
          Dst:             bgzf_flush_try
        - Src:             'vcf.c:4598,13'
          Dst:             hts_idx_amend_last
        - Src:             'vcf.c:4599,15'
          Dst:             bgzf_write
        - Src:             'vcf.c:4601,15'
          Dst:             hwrite
        - Src:             'vcf.c:4606,54'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:4606,20'
          Dst:             hts_idx_tbi_name
        - Src:             'vcf.c:4609,13'
          Dst:             bgzf_idx_push
    - functionName:    bcf_write
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2512
      functionLinenumberEnd: 2566
      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:2514,13'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:2518,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2518,9'
          Dst:             hts_log
        - Src:             'vcf.c:2524,16'
          Dst:             vcf_write
        - Src:             'vcf.c:2533,9'
          Dst:             bcf_strerror
        - Src:             'vcf.c:2533,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2533,9'
          Dst:             hts_log
        - Src:             'vcf.c:2536,5'
          Dst:             bcf1_sync
        - Src:             'vcf.c:2540,9'
          Dst:             bcf_seqname_safe
        - Src:             'vcf.c:2540,9'
          Dst:             hts_log
        - Src:             'vcf.c:2546,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:2547,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:2548,5'
          Dst:             i32_to_le
        - Src:             'vcf.c:2549,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:2550,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:2551,5'
          Dst:             float_to_le
        - Src:             'vcf.c:2552,5'
          Dst:             u16_to_le
        - Src:             'vcf.c:2553,5'
          Dst:             u16_to_le
        - Src:             'vcf.c:2554,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:2555,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:2556,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:2557,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:2560,13'
          Dst:             bgzf_idx_push
    - functionName:    bcf1_sync
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2334
      functionLinenumberEnd: 2472
      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:2343,9'
          Dst:             bcf1_sync_id
        - Src:             'vcf.c:2346,9'
          Dst:             bcf1_sync_alleles
        - Src:             'vcf.c:2349,9'
          Dst:             bcf1_sync_filter
        - Src:             'vcf.c:2352,9'
          Dst:             bcf1_sync_info
        - Src:             'vcf.c:2359,47'
          Dst:             bcf_unpack
        - Src:             'vcf.c:2366,13'
          Dst:             bcf1_sync_id
        - Src:             'vcf.c:2368,13'
          Dst:             kputsn_
        - Src:             'vcf.c:2374,13'
          Dst:             bcf1_sync_alleles
        - Src:             'vcf.c:2377,13'
          Dst:             kputsn_
        - Src:             'vcf.c:2378,63'
          Dst:             strlen
        - Src:             'vcf.c:2387,17'
          Dst:             bcf1_sync_filter
        - Src:             'vcf.c:2389,17'
          Dst:             kputsn_
        - Src:             'vcf.c:2391,17'
          Dst:             bcf_enc_vint
        - Src:             'vcf.c:2400,21'
          Dst:             bcf1_sync_info
        - Src:             'vcf.c:2407,21'
          Dst:             kputsn_
        - Src:             'vcf.c:2444,13'
          Dst:             kputsn_
    - functionName:    bcf_dup
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2506
      functionLinenumberEnd: 2508
      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:2507,19'
          Dst:             bcf_init
        - Src:             'vcf.c:2508,12'
          Dst:             bcf_copy
    - functionName:    bcf_copy
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2476
      functionLinenumberEnd: 2503
      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:2477,5'
          Dst:             bcf1_sync
        - Src:             'vcf.c:2479,5'
          Dst:             bcf_clear
        - Src:             'vcf.c:2489,33'
          Dst:             realloc
        - Src:             'vcf.c:2497,32'
          Dst:             realloc
    - functionName:    vcf_hdr_write
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2813
      functionLinenumberEnd: 2829
      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:2815,9'
          Dst:             bcf_hdr_format
        - Src:             'vcf.c:2822,15'
          Dst:             bgzf_write
        - Src:             'vcf.c:2823,13'
          Dst:             bgzf_flush
        - Src:             'vcf.c:2825,15'
          Dst:             hwrite
    - functionName:    bcf_hdr_write
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1773
      functionLinenumberEnd: 1810
      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:1775,9'
          Dst:             __errno_location
        - Src:             'vcf.c:1779,13'
          Dst:             bcf_hdr_sync
        - Src:             'vcf.c:1784,16'
          Dst:             vcf_hdr_write
        - Src:             'vcf.c:1791,9'
          Dst:             bcf_hdr_format
        - Src:             'vcf.c:1795,5'
          Dst:             kputc
        - Src:             'vcf.c:1798,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:1800,5'
          Dst:             u32_to_le
        - Src:             'vcf.c:1801,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:1802,10'
          Dst:             bgzf_write
        - Src:             'vcf.c:1803,10'
          Dst:             bgzf_flush
        - Src:             'vcf.c:1805,5'
          Dst:             bcf_hdr_incr_ref
        - Src:             'vcf.c:1806,5'
          Dst:             bgzf_set_private_data
        - Src:             'vcf.c:1806,5'
          Dst:             hdr_bgzf_private_data_cleanup
    - functionName:    bcf_hdr_printf
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1568
      functionLinenumberEnd: 1590
      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:1572,13'
          Dst:             vsnprintf
        - Src:             'vcf.c:1582,9'
          Dst:             vsnprintf
        - Src:             'vcf.c:1586,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: 1046
      functionLinenumberEnd: 1084
      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:1052,5'
          Branch Sides:    []
      Callsites:
        - Src:             'vcf.c:1048,26'
          Dst:             get_hdr_aux
        - Src:             'vcf.c:1054,13'
          Dst:             ksprintf
        - Src:             'vcf.c:1058,14'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:1062,13'
          Dst:             ksprintf
        - Src:             'vcf.c:1069,13'
          Dst:             kh_get_hdict
        - Src:             'vcf.c:1081,9'
          Dst:             kh_del_hdict
    - functionName:    bcf_hdr_remove
      functionSourceFile: '/src/htslib/vcf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1503
      functionLinenumberEnd: 1565
      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:1513,13'
          Dst:             bcf_hdr_unregister_hrec
        - Src:             'vcf.c:1514,13'
          Dst:             bcf_hdr_remove_from_hdict
        - Src:             'vcf.c:1519,13'
          Dst:             bcf_hrec_destroy
        - Src:             'vcf.c:1527,20'
          Dst:             bcf_hdr_get_hrec
        - Src:             'vcf.c:1532,13'
          Dst:             __assert_fail
        - Src:             'vcf.c:1535,25'
          Dst:             kh_get_vdict
        - Src:             'vcf.c:1545,27'
          Dst:             strcmp
        - Src:             'vcf.c:1550,29'
          Dst:             bcf_hrec_find_key
        - Src:             'vcf.c:1551,35'
          Dst:             strcmp
        - Src:             'vcf.c:1556,13'
          Dst:             bcf_hdr_remove_from_hdict
        - Src:             'vcf.c:1562,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: 1081
      functionLinenumberEnd: 1091
      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:1083,9'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1084,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:    8
      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:    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:    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: 1991
      functionLinenumberEnd: 2004
      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:1992,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    map_find
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1927
      functionLinenumberEnd: 1934
      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: 467
      functionLinenumberEnd: 472
      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:         52
      ICount:          537
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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: 3633
      functionLinenumberEnd: 3689
      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:3640,13'
          Dst:             hts_tpool_process_empty
        - Src:             'cram/cram_decode.c:3641,31'
          Dst:             hts_tpool_next_result_wait
        - Src:             'cram/cram_decode.c:3644,49'
          Dst:             hts_tpool_result_data
        - Src:             'cram/cram_decode.c:3653,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3657,9'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3658,9'
          Dst:             hts_tpool_delete_result
        - Src:             'cram/cram_decode.c:3673,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3677,9'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3687,9'
          Dst:             cram_free_container
    - functionName:    cram_get_bam_seq
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3616
      functionLinenumberEnd: 3628
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          55
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_get_seq
        - cram_to_bam
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:3621,16'
          Dst:             cram_get_seq
        - Src:             'cram/cram_decode.c:3627,12'
          Dst:             cram_to_bam
    - functionName:    cram_get_seq
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3550
      functionLinenumberEnd: 3608
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         41
      ICount:          307
      EdgeCount:       55
      CyclomaticComplexity: 16
      functionsReached:
        - cram_free_slice
        - cram_next_slice
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:3559,23'
          Dst:             cram_next_slice
        - Src:             'cram/cram_decode.c:3584,17'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3591,17'
          Dst:             cram_free_slice
    - functionName:    cram_to_bam
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3102
      functionLinenumberEnd: 3200
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         50
      ICount:          606
      EdgeCount:       67
      CyclomaticComplexity: 19
      functionsReached:
        - append_uint64
        - bam_set1
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:3125,28'
          Dst:             strlen
        - Src:             'cram/cram_decode.c:3130,36'
          Dst:             append_uint64
        - Src:             'cram/cram_decode.c:3134,36'
          Dst:             append_uint64
        - Src:             'cram/cram_decode.c:3169,11'
          Dst:             bam_set1
    - 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: 3269
      functionLinenumberEnd: 3539
      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:3275,24'
          Dst:             cram_first_slice
        - Src:             'cram/cram_decode.c:3282,9'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3293,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3326,36'
          Dst:             cram_read_container
        - Src:             'cram/cram_decode.c:3339,21'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3352,25'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3361,25'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3374,25'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3377,29'
          Dst:             hseek
        - Src:             'cram/cram_decode.c:3387,48'
          Dst:             cram_read_block
        - Src:             'cram/cram_decode.c:3393,21'
          Dst:             cram_decode_compression_header
        - Src:             'cram/cram_decode.c:3398,21'
          Dst:             sam_hrecs_sort_order
        - Src:             'cram/cram_decode.c:3399,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:3401,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:3412,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3417,44'
          Dst:             cram_read_slice
        - Src:             'cram/cram_decode.c:3432,21'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3441,21'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3450,21'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3462,13'
          Dst:             cram_decode_slice_mt
        - Src:             'cram/cram_decode.c:3463,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:3464,13'
          Dst:             cram_free_slice
        - Src:             'cram/cram_decode.c:3485,13'
          Dst:             hts_tpool_process_len
        - Src:             'cram/cram_decode.c:3486,13'
          Dst:             hts_tpool_process_qsize
        - Src:             'cram/cram_decode.c:3497,24'
          Dst:             hts_tpool_process_empty
        - Src:             'cram/cram_decode.c:3502,15'
          Dst:             hts_tpool_next_result_wait
        - Src:             'cram/cram_decode.c:3504,22'
          Dst:             hts_tpool_result_data
        - Src:             'cram/cram_decode.c:3505,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:3509,32'
          Dst:             hts_tpool_result_data
        - Src:             'cram/cram_decode.c:3514,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:3516,13'
          Dst:             hts_tpool_delete_result
        - Src:             'cram/cram_decode.c:3520,9'
          Dst:             hts_tpool_delete_result
    - functionName:    cram_first_slice
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3213
      functionLinenumberEnd: 3267
      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:3218,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3220,29'
          Dst:             cram_read_container
        - Src:             'cram/cram_decode.c:3236,22'
          Dst:             cram_seek
        - Src:             'cram/cram_decode.c:3238,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_decode.c:3240,37'
          Dst:             cram_read_container
        - Src:             'cram/cram_decode.c:3251,31'
          Dst:             cram_read_block
        - Src:             'cram/cram_decode.c:3256,19'
          Dst:             cram_decode_compression_header
        - Src:             'cram/cram_decode.c:3260,9'
          Dst:             sam_hrecs_sort_order
        - Src:             'cram/cram_decode.c:3261,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:3263,9'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_decode_compression_header
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 146
      functionLinenumberEnd: 542
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         306
      ICount:          2454
      EdgeCount:       409
      CyclomaticComplexity: 105
      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:221,9'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_decode.c:148,39'
          Dst:             calloc
        - Src:             'cram/cram_decode.c:156,13'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:182,31'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_decode.c:190,29'
          Dst:             kh_init_map
        - Src:             'cram/cram_decode.c:198,9'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:217,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:230,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:232,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:242,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:244,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:254,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:256,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:266,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:268,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:278,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:309,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:311,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:318,22'
          Dst:             cram_decode_TD
        - Src:             'cram/cram_decode.c:320,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:327,17'
          Dst:             kh_put_map
        - Src:             'cram/cram_decode.c:329,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:337,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:344,9'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:362,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:376,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:459,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:464,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:468,34'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_decode.c:471,17'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:481,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:494,9'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:509,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:524,26'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_decode.c:526,13'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_decode.c:537,9'
          Dst:             cram_free_compression_header
    - functionName:    cram_decode_slice_mt
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3049
      functionLinenumberEnd: 3081
      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:3054,16'
          Dst:             cram_decode_slice
        - Src:             'cram/cram_decode.c:3064,16'
          Dst:             hts_tpool_process_sz
        - Src:             'cram/cram_decode.c:3066,23'
          Dst:             __errno_location
        - Src:             'cram/cram_decode.c:3067,5'
          Dst:             __errno_location
        - Src:             'cram/cram_decode.c:3068,15'
          Dst:             hts_tpool_dispatch2
        - Src:             'cram/cram_decode.c:3068,15'
          Dst:             cram_decode_slice_thread
        - Src:             'cram/cram_decode.c:3071,13'
          Dst:             __errno_location
        - Src:             'cram/cram_decode.c:3077,5'
          Dst:             __errno_location
    - functionName:    cram_decode_slice
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2348
      functionLinenumberEnd: 3027
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         497
      ICount:          3847
      EdgeCount:       691
      CyclomaticComplexity: 196
      functionsReached:
        - block_resize
        - block_resize_exact
        - 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:2361,9'
          Dst:             cram_dependent_data_series
        - Src:             'cram/cram_decode.c:2382,38'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:2383,38'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:2384,38'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:2396,10'
          Dst:             strcmp
        - Src:             'cram/cram_decode.c:2404,22'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_decode.c:2417,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2422,17'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_decode.c:2425,17'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:2431,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2442,17'
          Dst:             cram_get_ref
        - Src:             'cram/cram_decode.c:2451,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2456,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2457,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2463,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2464,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2470,9'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2483,12'
          Dst:             memcmp
        - Src:             'cram/cram_decode.c:2493,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2501,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2506,25'
          Dst:             hts_md5_init
        - Src:             'cram/cram_decode.c:2511,17'
          Dst:             hts_md5_update
        - Src:             'cram/cram_decode.c:2512,13'
          Dst:             hts_md5_final
        - Src:             'cram/cram_decode.c:2513,13'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_decode.c:2515,29'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_decode.c:2517,29'
          Dst:             hts_md5_init
        - Src:             'cram/cram_decode.c:2519,17'
          Dst:             hts_md5_update
        - Src:             'cram/cram_decode.c:2520,17'
          Dst:             hts_md5_final
        - Src:             'cram/cram_decode.c:2521,17'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_decode.c:2527,17'
          Dst:             memcmp
        - Src:             'cram/cram_decode.c:2529,33'
          Dst:             sam_hdr_tid2name
        - Src:             'cram/cram_decode.c:2531,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2533,13'
          Dst:             md5_print
        - Src:             'cram/cram_decode.c:2533,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2534,13'
          Dst:             md5_print
        - Src:             'cram/cram_decode.c:2534,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2536,17'
          Dst:             sam_hdr_find_tag_id
        - Src:             'cram/cram_decode.c:2537,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2538,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2539,13'
          Dst:             ks_free
        - Src:             'cram/cram_decode.c:2545,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2546,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2547,16'
          Dst:             calloc
        - Src:             'cram/cram_decode.c:2548,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2549,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2607,21'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2618,25'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2620,25'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2623,52'
          Dst:             cram_get_ref
        - Src:             'cram/cram_decode.c:2632,25'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2637,25'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2639,29'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2641,29'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2644,29'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_decode.c:2649,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2650,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2652,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2653,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2664,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2675,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2698,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2700,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2793,21'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2823,21'
          Dst:             cram_decode_tlen
        - Src:             'cram/cram_decode.c:2851,25'
          Dst:             cram_decode_tlen
        - Src:             'cram/cram_decode.c:2860,21'
          Dst:             cram_decode_tlen
        - Src:             'cram/cram_decode.c:2886,18'
          Dst:             cram_decode_aux_1_0
        - Src:             'cram/cram_decode.c:2888,18'
          Dst:             cram_decode_aux
        - Src:             'cram/cram_decode.c:2894,13'
          Dst:             block_resize
        - Src:             'cram/cram_decode.c:2902,13'
          Dst:             block_resize
        - Src:             'cram/cram_decode.c:2912,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:2919,22'
          Dst:             cram_decode_seq
        - Src:             'cram/cram_decode.c:2971,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:2976,17'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_decode.c:2981,9'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_decode.c:2983,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_decode.c:2986,10'
          Dst:             cram_decode_slice_xref
        - Src:             'cram/cram_decode.c:2993,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_decode.c:3007,5'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:3008,5'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:3009,5'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:3010,5'
          Dst:             block_resize_exact
        - Src:             'cram/cram_decode.c:3017,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_decode.c:3020,17'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_decode.c:3023,9'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_decode_slice_thread
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3037
      functionLinenumberEnd: 3042
      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:3040,20'
          Dst:             cram_decode_slice
    - functionName:    cram_dependent_data_series
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 556
      functionLinenumberEnd: 870
      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:697,17'
          Branch Sides:    []
        - Branch String:   'cram/cram_decode.c:743,25'
          Branch Sides:    []
        - Branch String:   'cram/cram_decode.c:788,17'
          Branch Sides:    []
        - Branch String:   'cram/cram_decode.c:834,21'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_decode.c:620,13'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:626,17'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:633,18'
          Dst:             hts_calloc_ps
        - Src:             'cram/cram_decode.c:694,21'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_decode.c:710,33'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:740,29'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_decode.c:756,41'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:785,21'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_decode.c:831,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: 2306
      functionLinenumberEnd: 2314
      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: 2324
      functionLinenumberEnd: 2340
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         9
      ICount:          108
      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: 1941
      functionLinenumberEnd: 1987
      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:1972,13'
          Dst:             map_find
        - Src:             'cram/cram_decode.c:1975,9'
          Dst:             block_append
    - functionName:    cram_decode_aux
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2012
      functionLinenumberEnd: 2138
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         104
      ICount:          776
      EdgeCount:       145
      CyclomaticComplexity: 43
      functionsReached:
        - aux_ele_size
        - block_append
        - block_append_char
        - hts_log
        - map_find
        - sam_hdr_line_name
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:2031,17'
          Dst:             strlen
        - Src:             'cram/cram_decode.c:2068,34'
          Dst:             sam_hdr_line_name
        - Src:             'cram/cram_decode.c:2072,33'
          Dst:             strlen
        - Src:             'cram/cram_decode.c:2074,17'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:2075,17'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:2076,17'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:2085,13'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:2090,17'
          Dst:             map_find
        - Src:             'cram/cram_decode.c:2094,13'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:2103,27'
          Dst:             aux_ele_size
        - Src:             'cram/cram_decode.c:2129,13'
          Dst:             hts_log
    - functionName:    cram_decode_seq
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1100
      functionLinenumberEnd: 1922
      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:         694
      ICount:          4670
      EdgeCount:       948
      CyclomaticComplexity: 256
      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:1291,9'
          Branch Sides:    []
        - Branch String:   'cram/cram_decode.c:1300,13'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_decode.c:1135,13'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:1166,27'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_decode.c:1191,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1205,17'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1216,25'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1246,35'
          Dst:             memchr
        - Src:             'cram/cram_decode.c:1252,41'
          Dst:             add_md_char
        - Src:             'cram/cram_decode.c:1381,29'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1393,25'
          Dst:             add_md_char
        - Src:             'cram/cram_decode.c:1422,25'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1425,29'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:1426,29'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:1436,33'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:1437,33'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:1440,33'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1519,25'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1523,29'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1532,33'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:1597,25'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1604,29'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:1703,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1718,21'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1747,35'
          Dst:             memchr
        - Src:             'cram/cram_decode.c:1758,41'
          Dst:             add_md_char
        - Src:             'cram/cram_decode.c:1779,27'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_decode.c:1803,13'
          Dst:             block_append_uint
        - Src:             'cram/cram_decode.c:1809,27'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_decode.c:1846,9'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:1898,13'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:1917,5'
          Dst:             hts_log
    - functionName:    cram_decode_slice_xref
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2141
      functionLinenumberEnd: 2304
      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:2276,17'
          Dst:             hts_log
    - 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:    10
      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: 72
      functionLinenumberEnd: 138
      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:79,15'
          Dst:             cram_new_block
        - Src:             'cram/cram_decode.c:83,9'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:84,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_decode.c:94,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_decode.c:99,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_decode.c:103,5'
          Dst:             block_append
        - Src:             'cram/cram_decode.c:108,9'
          Dst:             block_append_char
        - Src:             'cram/cram_decode.c:121,19'
          Dst:             calloc
        - Src:             'cram/cram_decode.c:122,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_decode.c:136,5'
          Dst:             cram_free_block
    - functionName:    cram_decode_slice_header
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 955
      functionLinenumberEnd: 1047
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         56
      ICount:          478
      EdgeCount:       76
      CyclomaticComplexity: 22
      functionsReached:
        - calloc
        - cram_uncompress_block
        - hts_log
        - hts_malloc_p
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_decode.c:964,13'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_decode.c:974,18'
          Dst:             calloc
        - Src:             'cram/cram_decode.c:990,13'
          Dst:             hts_log
        - Src:             'cram/cram_decode.c:1011,30'
          Dst:             hts_malloc_p
    - functionName:    cram_ds_unique
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 878
      functionLinenumberEnd: 905
      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:889,17'
          Dst:             cram_codec_to_id
    - functionName:    cram_decode_estimate_sizes
      functionSourceFile: '/src/htslib/cram/cram_decode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 915
      functionLinenumberEnd: 943
      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:925,13'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_decode.c:927,9'
          Dst:             cram_ds_unique
        - Src:             'cram/cram_decode.c:928,25'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_decode.c:937,13'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_decode.c:939,9'
          Dst:             cram_ds_unique
        - Src:             'cram/cram_decode.c:940,25'
          Dst:             cram_get_block_by_id
    - 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:         52
      ICount:          542
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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: 467
      functionLinenumberEnd: 472
      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: 308
      functionLinenumberEnd: 308
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         52
      ICount:          541
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:308,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:308,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:308,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:308,1'
          Dst:             realloc
    - functionName:    kh_resize_m_tagmap
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 394
      functionLinenumberEnd: 394
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         52
      ICount:          541
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:394,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:394,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:394,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:394,1'
          Dst:             realloc
    - functionName:    kh_del_m_metrics
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 308
      functionLinenumberEnd: 308
      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: 308
      functionLinenumberEnd: 308
      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:308,1'
          Dst:             kh_resize_m_metrics
        - Src:             'cram/cram_structs.h:308,1'
          Dst:             kh_resize_m_metrics
    - functionName:    kh_put_m_tagmap
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 394
      functionLinenumberEnd: 394
      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:394,1'
          Dst:             kh_resize_m_tagmap
        - Src:             'cram/cram_structs.h:394,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: 2579
      functionLinenumberEnd: 2603
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          187
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - cram_stats_add
        - hts_realloc_p
      functionUses:    10
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:2582,23'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_encode.c:2589,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2592,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2597,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:    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_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:    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: 2793
      functionLinenumberEnd: 3253
      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:         313
      ICount:          2211
      EdgeCount:       410
      CyclomaticComplexity: 99
      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:2878,21'
          Branch Sides:    []
        - Branch String:   'cram/cram_encode.c:2938,13'
          Branch Sides:    []
        - Branch String:   'cram/cram_encode.c:3063,9'
          Branch Sides:    []
        - Branch String:   'cram/cram_encode.c:3182,13'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:2797,27'
          Dst:             bam_data_end
        - Src:             'cram/cram_encode.c:2813,15'
          Dst:             hts_malloc_ps
        - Src:             'cram/cram_encode.c:2840,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2844,19'
          Dst:             sam_hrecs_find_rg
        - Src:             'cram/cram_encode.c:2847,21'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:2851,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2859,36'
          Dst:             strncasecmp
        - Src:             'cram/cram_encode.c:2862,25'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2867,25'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:2876,27'
          Dst:             bam_aux2i_end
        - Src:             'cram/cram_encode.c:2883,25'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2887,25'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:2893,9'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:2900,13'
          Dst:             kh_put_m_tagmap
        - Src:             'cram/cram_encode.c:2910,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:2911,24'
          Dst:             kh_put_m_metrics
        - Src:             'cram/cram_encode.c:2913,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2917,51'
          Dst:             cram_new_metrics
        - Src:             'cram/cram_encode.c:2919,21'
          Dst:             kh_del_m_metrics
        - Src:             'cram/cram_encode.c:2920,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2925,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2929,31'
          Dst:             calloc
        - Src:             'cram/cram_encode.c:2941,21'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2959,21'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2960,17'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2965,21'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2984,21'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2985,17'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2990,21'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:3008,21'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3009,17'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:3014,21'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:3036,21'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:3043,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3053,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:3055,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:3069,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3077,13'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:3086,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3093,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:3102,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3109,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:3118,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3125,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:3134,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3144,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3165,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3168,38'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:3193,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3207,13'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3216,5'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:3219,9'
          Dst:             kh_put_m_s2i
        - Src:             'cram/cram_encode.c:3227,28'
          Dst:             string_ndup
        - Src:             'cram/cram_encode.c:3238,9'
          Dst:             cram_stats_add
    - functionName:    bam_data_end
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1250
      functionLinenumberEnd: 1251
      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:    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:    19
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:249,9'
          Dst:             block_grow
    - functionName:    bam_aux2i_end
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1257
      functionLinenumberEnd: 1300
      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:1259,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:1262,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1268,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1274,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1277,20'
          Dst:             le_to_i16
        - Src:             'cram/cram_encode.c:1280,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1283,20'
          Dst:             le_to_u16
        - Src:             'cram/cram_encode.c:1286,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1289,20'
          Dst:             le_to_i32
        - Src:             'cram/cram_encode.c:1292,17'
          Dst:             __errno_location
        - Src:             'cram/cram_encode.c:1295,20'
          Dst:             le_to_u32
        - Src:             'cram/cram_encode.c:1297,13'
          Dst:             __errno_location
    - 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: 2744
      functionLinenumberEnd: 2751
      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:2749,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2750,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_hardclip
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2724
      functionLinenumberEnd: 2731
      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:2729,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2730,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_softclip
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2688
      functionLinenumberEnd: 2721
      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:2693,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:2696,9'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:2697,9'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2704,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:2708,17'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2710,9'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2717,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_quality
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2664
      functionLinenumberEnd: 2675
      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:2669,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2670,5'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2671,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_insertion
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2754
      functionLinenumberEnd: 2779
      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:2761,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2767,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:2771,17'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2773,9'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2775,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_skip
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2734
      functionLinenumberEnd: 2741
      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:2739,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2740,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_deletion
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2678
      functionLinenumberEnd: 2685
      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:2683,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2684,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: 2647
      functionLinenumberEnd: 2660
      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:2653,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2654,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2655,5'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2656,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_bases
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2634
      functionLinenumberEnd: 2642
      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:2642,12'
          Dst:             cram_add_feature
    - functionName:    cram_add_substitution
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2607
      functionLinenumberEnd: 2630
      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:2615,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2622,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2623,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:2624,9'
          Dst:             block_append_char
        - Src:             'cram/cram_encode.c:2626,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: 804
      functionLinenumberEnd: 989
      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:811,9'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:878,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:882,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:885,9'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:892,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:897,21'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:902,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:905,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:909,17'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:914,21'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:919,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:922,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:926,17'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:931,21'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:941,9'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:947,13'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:964,17'
          Dst:             cram_compress_block2
        - Src:             'cram/cram_encode.c:982,17'
          Dst:             cram_compress_block2
    - functionName:    cram_encode_slice_read
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 578
      functionLinenumberEnd: 794
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         63
      ICount:          1052
      EdgeCount:       77
      CyclomaticComplexity: 16
      functionsReached:
        - hts_log
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_encode.c:685,13'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:780,17'
          Dst:             hts_log
    - functionName:    cram_allocate_block
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1006
      functionLinenumberEnd: 1089
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          311
      EdgeCount:       57
      CyclomaticComplexity: 12
      functionsReached:
        - cram_allocate_block
        - cram_new_block
      functionUses:    7
      BranchProfiles:
        - Branch String:   'cram/cram_encode.c:1010,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:1031,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:1038,33'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:1048,13'
          Dst:             cram_allocate_block
        - Src:             'cram/cram_encode.c:1051,13'
          Dst:             cram_allocate_block
        - Src:             'cram/cram_encode.c:1058,13'
          Dst:             cram_allocate_block
        - Src:             'cram/cram_encode.c:1061,13'
          Dst:             cram_allocate_block
        - Src:             'cram/cram_encode.c:1067,13'
          Dst:             cram_allocate_block
        - Src:             'cram/cram_encode.c:1069,22'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:1076,13'
          Dst:             cram_allocate_block
        - Src:             'cram/cram_encode.c:1078,22'
          Dst:             cram_new_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: 1482
      functionLinenumberEnd: 1505
      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: 1559
      functionLinenumberEnd: 1653
      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:1566,22'
          Dst:             bam_cigar2rlen
        - Src:             'cram/cram_encode.c:1570,28'
          Dst:             extend_ref
        - Src:             'cram/cram_encode.c:1580,13'
          Dst:             __ctype_b_loc
        - Src:             'cram/cram_encode.c:1583,23'
          Dst:             hts_str2uint
        - Src:             'cram/cram_encode.c:1585,17'
          Dst:             extend_ref
        - Src:             'cram/cram_encode.c:1590,32'
          Dst:             next_cigar_op
        - Src:             'cram/cram_encode.c:1597,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1616,20'
          Dst:             __ctype_b_loc
        - Src:             'cram/cram_encode.c:1617,21'
          Dst:             extend_ref
        - Src:             'cram/cram_encode.c:1620,32'
          Dst:             next_cigar_op
        - Src:             'cram/cram_encode.c:1626,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1634,17'
          Dst:             extend_ref
        - Src:             'cram/cram_encode.c:1637,28'
          Dst:             next_cigar_op
        - Src:             'cram/cram_encode.c:1643,17'
          Dst:             hts_log
    - functionName:    extend_ref
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1510
      functionLinenumberEnd: 1553
      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:    6
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1531,17'
          Dst:             realloc
        - Src:             'cram/cram_encode.c:1536,27'
          Dst:             hts_realloc_p
    - functionName:    cram_add_to_ref
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1665
      functionLinenumberEnd: 1723
      functionDepth:   0
      returnType:      int
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - size_t
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         39
      ICount:          329
      EdgeCount:       46
      CyclomaticComplexity: 9
      functionsReached:
        - bam_aux_get
        - cram_add_to_ref_MD
        - extend_ref
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_encode.c:1685,9'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:1666,25'
          Dst:             bam_aux_get
        - Src:             'cram/cram_encode.c:1670,19'
          Dst:             cram_add_to_ref_MD
        - Src:             'cram/cram_encode.c:1698,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:         52
      ICount:          542
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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: 1305
      functionLinenumberEnd: 1322
      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:1308,30'
          Dst:             bam_aux_get
        - Src:             'cram/cram_encode.c:1310,46'
          Dst:             bam_data_end
        - Src:             'cram/cram_encode.c:1310,17'
          Dst:             bam_aux2i_end
        - Src:             'cram/cram_encode.c:1315,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:         52
      ICount:          537
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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:    cram_next_container
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3299
      functionLinenumberEnd: 3379
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         34
      ICount:          377
      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:3308,9'
          Dst:             cram_update_curr_slice
        - Src:             'cram/cram_encode.c:3314,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3319,19'
          Dst:             cram_flush_container_mt
        - Src:             'cram/cram_encode.c:3325,17'
          Dst:             cram_free_slice
        - Src:             'cram/cram_encode.c:3333,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_encode.c:3336,23'
          Dst:             cram_new_container
        - Src:             'cram/cram_encode.c:3341,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:3345,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:3353,9'
          Dst:             cram_new_slice
    - functionName:    cram_update_curr_slice
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3262
      functionLinenumberEnd: 3288
      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: 4049
      functionLinenumberEnd: 4236
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         136
      ICount:          1020
      EdgeCount:       189
      CyclomaticComplexity: 55
      functionsReached:
        - bam_cigar2qlen
        - bam_copy1
        - bam_dup1
        - calloc
        - cram_new_container
        - cram_next_container
        - hts_log
        - pthread_mutex_lock
        - pthread_mutex_unlock
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:4053,19'
          Dst:             cram_new_container
        - Src:             'cram/cram_encode.c:4059,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4062,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4087,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:4090,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4093,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:4095,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4104,30'
          Dst:             cram_next_container
        - Src:             'cram/cram_encode.c:4136,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4138,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:4149,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4152,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4153,32'
          Dst:             calloc
        - Src:             'cram/cram_encode.c:4154,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4168,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4169,32'
          Dst:             calloc
        - Src:             'cram/cram_encode.c:4170,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4174,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4177,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4187,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:4194,23'
          Dst:             calloc
        - Src:             'cram/cram_encode.c:4196,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4200,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:4205,13'
          Dst:             bam_copy1
        - Src:             'cram/cram_encode.c:4208,34'
          Dst:             bam_dup1
        - Src:             'cram/cram_encode.c:4220,26'
          Dst:             bam_cigar2qlen
        - Src:             'cram/cram_encode.c:4222,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: 1099
      functionLinenumberEnd: 1248
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         105
      ICount:          945
      EdgeCount:       141
      CyclomaticComplexity: 38
      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:1124,30'
          Dst:             hts_prod_sat2
        - Src:             'cram/cram_encode.c:1123,16'
          Dst:             hts_calloc_ps
        - Src:             'cram/cram_encode.c:1125,33'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_encode.c:1132,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:1138,37'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:1147,34'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:1150,9'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:1159,13'
          Dst:             cram_allocate_block
        - Src:             'cram/cram_encode.c:1179,13'
          Dst:             cram_encode_slice_read
        - Src:             'cram/cram_encode.c:1187,26'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:1189,26'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:1191,26'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:1193,26'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:1212,9'
          Dst:             cram_compress_slice
        - Src:             'cram/cram_encode.c:1219,37'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_encode.c:1229,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:1240,30'
          Dst:             cram_encode_slice_header
    - functionName:    cram_encode_slice_header
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 512
      functionLinenumberEnd: 564
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         35
      ICount:          439
      EdgeCount:       45
      CyclomaticComplexity: 12
      functionsReached:
        - __assert_fail
        - cram_free_block
        - cram_new_block
        - hts_log
        - hts_malloc_pse
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:515,21'
          Dst:             cram_new_block
        - Src:             'cram/cram_encode.c:521,16'
          Dst:             hts_malloc_pse
        - Src:             'cram/cram_encode.c:523,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:533,13'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:534,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_encode.c:558,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: 1438
      functionLinenumberEnd: 1473
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          242
      EdgeCount:       42
      CyclomaticComplexity: 12
      functionsReached:
        - block_append
        - cram_stats_add
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1454,17'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:1457,17'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:1465,13'
          Dst:             cram_stats_add
    - functionName:    process_one_read
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3392
      functionLinenumberEnd: 4040
      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:         455
      ICount:          3556
      EdgeCount:       617
      CyclomaticComplexity: 164
      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:3508,13'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_encode.c:3410,16'
          Dst:             bam_aux_get
        - Src:             'cram/cram_encode.c:3419,19'
          Dst:             bam_aux_get
        - Src:             'cram/cram_encode.c:3426,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3428,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3448,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3464,5'
          Dst:             block_grow
        - Src:             'cram/cram_encode.c:3465,5'
          Dst:             block_grow
        - Src:             'cram/cram_encode.c:3470,5'
          Dst:             nibble2base
        - Src:             'cram/cram_encode.c:3483,13'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3491,24'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_encode.c:3525,25'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3538,37'
          Dst:             kputuw
        - Src:             'cram/cram_encode.c:3539,37'
          Dst:             kputc
        - Src:             'cram/cram_encode.c:3602,37'
          Dst:             cram_add_substitution
        - Src:             'cram/cram_encode.c:3615,33'
          Dst:             cram_add_bases
        - Src:             'cram/cram_encode.c:3621,37'
          Dst:             cram_add_base
        - Src:             'cram/cram_encode.c:3630,33'
          Dst:             cram_add_base
        - Src:             'cram/cram_encode.c:3646,25'
          Dst:             kputuw
        - Src:             'cram/cram_encode.c:3648,29'
          Dst:             kputc_
        - Src:             'cram/cram_encode.c:3649,29'
          Dst:             kputsn
        - Src:             'cram/cram_encode.c:3655,21'
          Dst:             cram_add_deletion
        - Src:             'cram/cram_encode.c:3662,21'
          Dst:             cram_add_skip
        - Src:             'cram/cram_encode.c:3669,21'
          Dst:             cram_add_insertion
        - Src:             'cram/cram_encode.c:3674,25'
          Dst:             cram_add_quality
        - Src:             'cram/cram_encode.c:3683,21'
          Dst:             cram_add_softclip
        - Src:             'cram/cram_encode.c:3692,29'
          Dst:             cram_add_quality
        - Src:             'cram/cram_encode.c:3696,29'
          Dst:             cram_add_quality
        - Src:             'cram/cram_encode.c:3705,21'
          Dst:             cram_add_hardclip
        - Src:             'cram/cram_encode.c:3710,21'
          Dst:             cram_add_pad
        - Src:             'cram/cram_encode.c:3715,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3720,13'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:3726,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3730,17'
          Dst:             kputuw
        - Src:             'cram/cram_encode.c:3739,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3747,9'
          Dst:             cram_encode_aux
        - Src:             'cram/cram_encode.c:3756,30'
          Dst:             sam_hrecs_find_rg
        - Src:             'cram/cram_encode.c:3762,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3774,13'
          Dst:             block_grow
        - Src:             'cram/cram_encode.c:3778,13'
          Dst:             block_grow
        - Src:             'cram/cram_encode.c:3803,9'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3815,17'
          Dst:             kh_put_m_s2i
        - Src:             'cram/cram_encode.c:3821,29'
          Dst:             string_ndup
        - Src:             'cram/cram_encode.c:3937,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3939,13'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3946,17'
          Dst:             cram_stats_del
        - Src:             'cram/cram_encode.c:3947,17'
          Dst:             cram_stats_del
        - Src:             'cram/cram_encode.c:3950,21'
          Dst:             cram_stats_del
        - Src:             'cram/cram_encode.c:3951,17'
          Dst:             cram_stats_del
        - Src:             'cram/cram_encode.c:3967,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3972,17'
          Dst:             cram_stats_del
        - Src:             'cram/cram_encode.c:3978,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:3982,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:4000,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:4004,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:4008,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:4012,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:4014,17'
          Dst:             cram_stats_add
        - Src:             'cram/cram_encode.c:4022,9'
          Dst:             cram_stats_add
    - functionName:    cram_generate_reference
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1737
      functionLinenumberEnd: 1795
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          300
      EdgeCount:       44
      CyclomaticComplexity: 12
      functionsReached:
        - cram_add_to_ref
        - extend_ref
        - hts_log
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_encode.c:1748,9'
          Dst:             extend_ref
        - Src:             'cram/cram_encode.c:1759,13'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1763,13'
          Dst:             cram_add_to_ref
    - functionName:    lossy_read_names
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1345
      functionLinenumberEnd: 1424
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         40
      ICount:          313
      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:1355,31'
          Dst:             kh_init_m_s2u64
        - Src:             'cram/cram_encode.c:1373,13'
          Dst:             expected_template_count
        - Src:             'cram/cram_encode.c:1376,13'
          Dst:             kh_put_m_s2u64
        - Src:             'cram/cram_encode.c:1408,13'
          Dst:             kh_get_m_s2u64
        - Src:             'cram/cram_encode.c:1421,9'
          Dst:             kh_destroy_m_s2u64
    - functionName:    validate_md5
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1798
      functionLinenumberEnd: 1843
      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:1809,27'
          Dst:             sam_hrecs_find_type_id
        - Src:             'cram/cram_encode.c:1814,29'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_encode.c:1825,17'
          Dst:             hts_md5_init
        - Src:             'cram/cram_encode.c:1827,5'
          Dst:             hts_md5_update
        - Src:             'cram/cram_encode.c:1828,5'
          Dst:             hts_md5_final
        - Src:             'cram/cram_encode.c:1829,5'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_encode.c:1830,5'
          Dst:             hts_md5_hex
        - Src:             'cram/cram_encode.c:1833,9'
          Dst:             strcmp
        - Src:             'cram/cram_encode.c:1834,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1836,9'
          Dst:             hts_log
    - functionName:    cram_encode_container
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1850
      functionLinenumberEnd: 2566
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         407
      ICount:          3755
      EdgeCount:       556
      CyclomaticComplexity: 151
      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:1868,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:1871,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1876,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1879,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:1883,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:1885,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:1897,25'
          Dst:             cram_get_ref
        - Src:             'cram/cram_encode.c:1901,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1903,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1905,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:1908,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:1913,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1916,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1917,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1920,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1922,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:1924,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:1927,21'
          Dst:             validate_md5
        - Src:             'cram/cram_encode.c:1960,9'
          Dst:             cram_ref_incr
        - Src:             'cram/cram_encode.c:1967,21'
          Dst:             cram_get_ref
        - Src:             'cram/cram_encode.c:1968,25'
          Dst:             validate_md5
        - Src:             'cram/cram_encode.c:1971,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:1986,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_encode.c:1990,13'
          Dst:             lossy_read_names
        - Src:             'cram/cram_encode.c:2001,34'
          Dst:             cram_generate_reference
        - Src:             'cram/cram_encode.c:2011,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2015,21'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2018,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:2022,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2026,17'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:2028,17'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2047,25'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_encode.c:2049,26'
          Dst:             cram_get_ref
        - Src:             'cram/cram_encode.c:2050,25'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2054,25'
          Dst:             validate_md5
        - Src:             'cram/cram_encode.c:2066,17'
          Dst:             process_one_read
        - Src:             'cram/cram_encode.c:2086,13'
          Dst:             add_read_names
        - Src:             'cram/cram_encode.c:2110,39'
          Dst:             hts_prod_sat2
        - Src:             'cram/cram_encode.c:2110,28'
          Dst:             hts_calloc
        - Src:             'cram/cram_encode.c:2130,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_encode.c:2136,13'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_encode.c:2142,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:2146,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2150,5'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2152,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_encode.c:2154,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_encode.c:2158,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2174,40'
          Dst:             hts_md5_init
        - Src:             'cram/cram_encode.c:2177,17'
          Dst:             hts_md5_update
        - Src:             'cram/cram_encode.c:2180,17'
          Dst:             hts_md5_final
        - Src:             'cram/cram_encode.c:2181,17'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_encode.c:2193,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2193,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2199,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2199,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2212,50'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2212,32'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2218,32'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2227,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2242,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2242,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2250,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2250,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2256,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2256,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2262,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2262,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2268,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2268,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2275,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2275,24'
          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:2288,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2288,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2294,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2294,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2300,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2300,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2306,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2306,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2312,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2312,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2318,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2318,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2335,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2344,42'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2344,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2358,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2358,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2364,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2364,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2373,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2373,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2380,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2380,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2386,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2386,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2392,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2392,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2398,46'
          Dst:             cram_stats_encoding
        - Src:             'cram/cram_encode.c:2398,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2407,32'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2434,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2440,24'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2446,28'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_encode.c:2455,9'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:2459,13'
          Dst:             cram_encode_slice
        - Src:             'cram/cram_encode.c:2474,23'
          Dst:             cram_encode_compression_header
        - Src:             'cram/cram_encode.c:2481,19'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_encode.c:2550,13'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_encode.c:2558,17'
          Dst:             cram_ref_decr
    - functionName:    cram_encode_compression_header
      functionSourceFile: '/src/htslib/cram/cram_encode.c'
      linkageType:     InternalLinkage
      functionLinenumber: 86
      functionLinenumberEnd: 503
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         266
      ICount:          2513
      EdgeCount:       365
      CyclomaticComplexity: 101
      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:196,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:163,21'
          Dst:             kh_put_map
        - Src:             'cram/cram_encode.c:170,21'
          Dst:             kh_put_map
        - Src:             'cram/cram_encode.c:194,13'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:204,17'
          Dst:             block_append_char
        - 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:220,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:225,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:230,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,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:237,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:238,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:239,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:240,22'
          Dst:             sub_idx
        - Src:             'cram/cram_encode.c:241,17'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:247,17'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:254,17'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:263,5'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:464,5'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:490,5'
          Dst:             block_append
        - Src:             'cram/cram_encode.c:492,5'
          Dst:             hts_log
        - Src:             'cram/cram_encode.c:496,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:    9
      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: 1023
      functionLinenumberEnd: 1039
      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:1027,20'
          Dst:             cram_index_query
        - Src:             'cram/cram_index.c:1033,20'
          Dst:             cram_index_query_last
    - functionName:    cram_index_query
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 406
      functionLinenumberEnd: 501
      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:424,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cram_index_query_last
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 532
      functionLinenumberEnd: 555
      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:536,13'
          Dst:             cram_index_query
    - functionName:    cram_container_offset2num_
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 972
      functionLinenumberEnd: 993
      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:985,27'
          Dst:             cram_container_offset2num_
    - functionName:    cram_container_offset2num
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 995
      functionLinenumberEnd: 1009
      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:1004,18'
          Dst:             cram_container_offset2num_
    - functionName:    cram_container_num2offset_
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 926
      functionLinenumberEnd: 947
      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:939,27'
          Dst:             cram_container_num2offset_
    - functionName:    cram_container_num2offset
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 949
      functionLinenumberEnd: 963
      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:958,18'
          Dst:             cram_container_num2offset_
    - functionName:    cram_num_containers
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 916
      functionLinenumberEnd: 917
      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:917,12'
          Dst:             cram_num_containers_between
    - functionName:    cram_num_containers_between
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 892
      functionLinenumberEnd: 908
      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:899,15'
          Dst:             cram_num_containers_between_
    - functionName:    cram_num_containers_between_
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 855
      functionLinenumberEnd: 876
      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:873,15'
          Dst:             cram_num_containers_between_
    - functionName:    cram_index_container
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 732
      functionLinenumberEnd: 766
      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:742,16'
          Dst:             htell
        - Src:             'cram/cram_index.c:744,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:751,19'
          Dst:             cram_read_slice
        - Src:             'cram/cram_index.c:755,14'
          Dst:             htell
        - Src:             'cram/cram_index.c:756,15'
          Dst:             cram_index_slice
        - Src:             'cram/cram_index.c:758,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: 702
      functionLinenumberEnd: 723
      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:707,9'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:713,15'
          Dst:             cram_index_build_multiref
        - Src:             'cram/cram_index.c:715,9'
          Dst:             snprintf
        - Src:             'cram/cram_index.c:719,36'
          Dst:             strlen
        - Src:             'cram/cram_index.c:719,16'
          Dst:             bgzf_write
    - functionName:    cram_index_build_multiref
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 639
      functionLinenumberEnd: 691
      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:645,18'
          Dst:             cram_decode_slice
        - Src:             'cram/cram_index.c:655,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:668,13'
          Dst:             snprintf
        - Src:             'cram/cram_index.c:672,37'
          Dst:             strlen
        - Src:             'cram/cram_index.c:672,17'
          Dst:             bgzf_write
        - Src:             'cram/cram_index.c:682,9'
          Dst:             snprintf
        - Src:             'cram/cram_index.c:686,33'
          Dst:             strlen
        - Src:             'cram/cram_index.c:686,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: 780
      functionLinenumberEnd: 849
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          251
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - __assert_fail
        - 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:788,5'
          Dst:             cram_set_option
        - Src:             'cram/cram_index.c:791,9'
          Dst:             kputs
        - Src:             'cram/cram_index.c:792,9'
          Dst:             kputs
        - Src:             'cram/cram_index.c:796,16'
          Dst:             bgzf_open
        - Src:             'cram/cram_index.c:797,9'
          Dst:             perror
        - Src:             'cram/cram_index.c:804,12'
          Dst:             htell
        - Src:             'cram/cram_index.c:805,17'
          Dst:             cram_read_container
        - Src:             'cram/cram_index.c:807,13'
          Dst:             perror
        - Src:             'cram/cram_index.c:811,16'
          Dst:             htell
        - Src:             'cram/cram_index.c:813,35'
          Dst:             cram_read_block
        - Src:             'cram/cram_index.c:815,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_index.c:817,23'
          Dst:             cram_decode_compression_header
        - Src:             'cram/cram_index.c:822,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:828,13'
          Dst:             cram_index_container
        - Src:             'cram/cram_index.c:829,13'
          Dst:             bgzf_close
        - Src:             'cram/cram_index.c:833,27'
          Dst:             htell
        - Src:             'cram/cram_index.c:835,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:841,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_index.c:844,9'
          Dst:             bgzf_close
        - Src:             'cram/cram_index.c:848,13'
          Dst:             bgzf_close
    - functionName:    cram_seek_to_refpos
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 573
      functionLinenumberEnd: 620
      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:582,14'
          Dst:             cram_index_query
        - Src:             'cram/cram_index.c:583,18'
          Dst:             cram_seek
        - Src:             'cram/cram_index.c:591,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_index.c:599,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_index.c:602,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_index.c:604,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_index.c:616,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_index.c:618,5'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_index_last
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 504
      functionLinenumberEnd: 526
      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: 364
      functionLinenumberEnd: 372
      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:368,13'
          Dst:             cram_index_free_recurse
    - functionName:    cram_index_free
      functionSourceFile: '/src/htslib/cram/cram_index.c'
      linkageType:     InternalLinkage
      functionLinenumber: 374
      functionLinenumberEnd: 386
      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:381,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: 362
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         104
      ICount:          728
      EdgeCount:       145
      CyclomaticComplexity: 43
      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
        - 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:260,13'
          Dst:             kget_int32
        - 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_int64
        - Src:             'cram/cram_index.c:272,13'
          Dst:             kget_int32
        - Src:             'cram/cram_index.c:275,13'
          Dst:             kget_int32
        - Src:             'cram/cram_index.c:282,13'
          Dst:             hts_log
        - Src:             'cram/cram_index.c:291,27'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_index.c:319,21'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_index.c:333,25'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_index.c:350,5'
          Dst:             link_index
        - Src:             'cram/cram_index.c:360,5'
          Dst:             cram_index_free
    - functionName:    var_size_u64
      functionSourceFile: '/src/htslib/cram/../htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 429
      functionLinenumberEnd: 435
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         5
      ICount:          27
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    var_put_s64
      functionSourceFile: '/src/htslib/cram/../htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 414
      functionLinenumberEnd: 415
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - var_put_u64
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htscodecs/htscodecs/varint.h:415,12'
          Dst:             var_put_u64
    - functionName:    var_put_u64
      functionSourceFile: '/src/htslib/cram/../htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 95
      functionLinenumberEnd: 177
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          614
      EdgeCount:       47
      CyclomaticComplexity: 13
      functionsReached:
        - var_put_u64_safe
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htscodecs/htscodecs/varint.h:97,16'
          Dst:             var_put_u64_safe
    - functionName:    var_put_u64_safe
      functionSourceFile: '/src/htslib/cram/../htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 66
      functionLinenumberEnd: 89
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          117
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    var_put_s32
      functionSourceFile: '/src/htslib/cram/../htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 411
      functionLinenumberEnd: 412
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          25
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - var_put_u32
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htscodecs/htscodecs/varint.h:412,12'
          Dst:             var_put_u32
    - functionName:    var_put_u32
      functionSourceFile: '/src/htslib/cram/../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:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htscodecs/htscodecs/varint.h:208,16'
          Dst:             var_put_u32_safe
    - functionName:    var_put_u32_safe
      functionSourceFile: '/src/htslib/cram/../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_get_s64
      functionSourceFile: '/src/htslib/cram/../htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 423
      functionLinenumberEnd: 426
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          34
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - var_get_u64
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htscodecs/htscodecs/varint.h:424,13'
          Dst:             var_get_u64
    - functionName:    var_get_u64
      functionSourceFile: '/src/htslib/cram/../htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 264
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          147
      EdgeCount:       30
      CyclomaticComplexity: 8
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    var_get_s32
      functionSourceFile: '/src/htslib/cram/../htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 418
      functionLinenumberEnd: 421
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          34
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htscodecs/htscodecs/varint.h:419,13'
          Dst:             var_get_u32
    - functionName:    var_get_u32
      functionSourceFile: '/src/htslib/cram/../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:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    itf8_size
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 756
      functionLinenumberEnd: 757
      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: 752
      functionLinenumberEnd: 753
      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:753,12'
          Dst:             ltf8_put
    - functionName:    ltf8_put
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 310
      functionLinenumberEnd: 376
      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: 748
      functionLinenumberEnd: 749
      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:749,12'
          Dst:             itf8_put
    - functionName:    itf8_put
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 278
      functionLinenumberEnd: 306
      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: 674
      functionLinenumberEnd: 745
      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: 645
      functionLinenumberEnd: 672
      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:    uint7_decode_crc64
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 954
      functionLinenumberEnd: 996
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          98
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - crc32
        - hgetc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:986,22'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:992,12'
          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:    56
      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:    31
      BranchProfiles:  []
      Callsites:       []
    - functionName:    sint7_decode_crc32
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 908
      functionLinenumberEnd: 950
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          102
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - crc32
        - hgetc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:940,22'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:946,12'
          Dst:             crc32
    - functionName:    uint7_decode_crc32
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 863
      functionLinenumberEnd: 905
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          97
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - crc32
        - hgetc
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:895,22'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:901,12'
          Dst:             crc32
    - functionName:    uint7_size
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 769
      functionLinenumberEnd: 770
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - size_t
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          15
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - var_size_u64
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:770,12'
          Dst:             var_size_u64
    - functionName:    sint7_put_blk_64
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 852
      functionLinenumberEnd: 860
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          45
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - block_append
        - var_put_s64
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:854,14'
          Dst:             var_put_s64
        - Src:             'cram/cram_io.c:855,5'
          Dst:             block_append
    - 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:    9
      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:    uint7_put_blk_64
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 842
      functionLinenumberEnd: 850
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          45
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - block_append
        - var_put_u64
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:844,14'
          Dst:             var_put_u64
        - Src:             'cram/cram_io.c:845,5'
          Dst:             block_append
    - functionName:    sint7_put_blk_32
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 832
      functionLinenumberEnd: 840
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          45
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - block_append
        - var_put_s32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:834,14'
          Dst:             var_put_s32
        - Src:             'cram/cram_io.c:835,5'
          Dst:             block_append
    - functionName:    uint7_put_blk_32
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 822
      functionLinenumberEnd: 830
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          45
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - block_append
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:824,14'
          Dst:             var_put_u32
        - Src:             'cram/cram_io.c:825,5'
          Dst:             block_append
    - functionName:    sint7_put_64
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 817
      functionLinenumberEnd: 818
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - var_put_s64
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:818,12'
          Dst:             var_put_s64
    - functionName:    uint7_put_64
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 813
      functionLinenumberEnd: 814
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - var_put_u64
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:814,12'
          Dst:             var_put_u64
    - functionName:    sint7_put_32
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 809
      functionLinenumberEnd: 810
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - var_put_s32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:810,12'
          Dst:             var_put_s32
    - functionName:    uint7_put_32
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 805
      functionLinenumberEnd: 806
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          21
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - var_put_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:806,12'
          Dst:             var_put_u32
    - functionName:    sint7_get_64
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 797
      functionLinenumberEnd: 802
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          52
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - var_get_s64
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:799,14'
          Dst:             var_get_s64
    - functionName:    uint7_get_64
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 789
      functionLinenumberEnd: 794
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          52
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - var_get_u64
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:791,14'
          Dst:             var_get_u64
    - functionName:    sint7_get_32
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 781
      functionLinenumberEnd: 786
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          53
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - var_get_s32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:783,14'
          Dst:             var_get_s32
    - functionName:    uint7_get_32
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 773
      functionLinenumberEnd: 778
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          53
      EdgeCount:       10
      CyclomaticComplexity: 4
      functionsReached:
        - var_get_u32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:775,14'
          Dst:             var_get_u32
    - functionName:    cram_init_varint
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5129
      functionLinenumberEnd: 5165
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         4
      ICount:          116
      EdgeCount:       4
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    itf8_put_blk
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 621
      functionLinenumberEnd: 631
      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:625,10'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:626,5'
          Dst:             block_append
    - functionName:    ltf8_put_blk
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 633
      functionLinenumberEnd: 643
      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:637,10'
          Dst:             ltf8_put
        - Src:             'cram/cram_io.c:638,5'
          Dst:             block_append
    - functionName:    itf8_decode_crc
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 197
      functionLinenumberEnd: 270
      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:229,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:215,19'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:225,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:232,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:238,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:245,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:253,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:265,20'
          Dst:             crc32
    - functionName:    ltf8_decode_crc
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 502
      functionLinenumberEnd: 612
      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:504,19'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:512,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:516,17'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:521,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:525,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:530,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:534,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:540,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:544,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:551,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:555,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:563,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:567,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:576,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:581,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:591,16'
          Dst:             crc32
        - Src:             'cram/cram_io.c:596,13'
          Dst:             hread
        - Src:             'cram/cram_io.c:606,16'
          Dst:             crc32
    - 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:    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: 686
      functionLinenumberEnd: 686
      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:686,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: 2875
      functionLinenumberEnd: 2879
      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:2877,10'
          Dst:             stat
    - functionName:    mkdir_prefix
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2949
      functionLinenumberEnd: 2970
      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:2950,16'
          Dst:             strrchr
        - Src:             'cram/cram_io.c:2955,9'
          Dst:             is_directory
        - Src:             'cram/cram_io.c:2960,9'
          Dst:             mkdir
        - Src:             'cram/cram_io.c:2961,9'
          Dst:             chmod
        - Src:             'cram/cram_io.c:2966,5'
          Dst:             mkdir_prefix
        - Src:             'cram/cram_io.c:2967,5'
          Dst:             mkdir
        - Src:             'cram/cram_io.c:2968,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: 2886
      functionLinenumberEnd: 2944
      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:2891,18'
          Dst:             strchr
        - Src:             'cram/cram_io.c:2893,9'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:2898,19'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2900,13'
          Dst:             strcpy
        - Src:             'cram/cram_io.c:2909,17'
          Dst:             strtol
        - Src:             'cram/cram_io.c:2910,17'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2910,17'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2913,17'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:2932,11'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2934,5'
          Dst:             strcpy
        - Src:             'cram/cram_io.c:2938,11'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2942,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: 686
      functionLinenumberEnd: 686
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         52
      ICount:          542
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_structs.h:686,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:686,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:686,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_structs.h:686,1'
          Dst:             realloc
        - Src:             'cram/cram_structs.h:686,1'
          Dst:             realloc
    - functionName:    __ac_FNV1a_hash_string
      functionSourceFile: '/src/htslib/cram/../htslib/khash.h'
      linkageType:     InternalLinkage
      functionLinenumber: 467
      functionLinenumberEnd: 472
      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: 686
      functionLinenumberEnd: 686
      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:686,1'
          Dst:             kh_resize_refs
        - Src:             'cram/cram_structs.h:686,1'
          Dst:             kh_resize_refs
        - Src:             'cram/cram_structs.h:686,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_structs.h:686,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: 1297
      functionLinenumberEnd: 1312
      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:1299,23'
          Dst:             lzma_stream_buffer_bound
        - Src:             'cram/cram_io.c:1305,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: 1224
      functionLinenumberEnd: 1278
      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:1248,11'
          Dst:             deflateInit2_
        - Src:             'cram/cram_io.c:1250,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1259,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1262,15'
          Dst:             deflate
        - Src:             'cram/cram_io.c:1265,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1269,9'
          Dst:             deflate
        - Src:             'cram/cram_io.c:1270,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1274,9'
          Dst:             deflateEnd
        - Src:             'cram/cram_io.c:1275,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: 1760
      functionLinenumberEnd: 1905
      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:1761,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:1779,16'
          Dst:             zlib_mem_deflate
        - Src:             'cram/cram_io.c:1789,22'
          Dst:             BZ2_bzBuffToBuffCompress
        - Src:             'cram/cram_io.c:1822,22'
          Dst:             fqz_compress
        - Src:             'cram/cram_io.c:1830,16'
          Dst:             lzma_mem_deflate
        - Src:             'cram/cram_io.c:1839,14'
          Dst:             rans_compress
        - Src:             'cram/cram_io.c:1860,14'
          Dst:             rans_compress_4x16
        - Src:             'cram/cram_io.c:1880,14'
          Dst:             arith_compress_to
        - Src:             'cram/cram_io.c:1892,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: 5961
      functionLinenumberEnd: 6009
      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:5995,20'
          Dst:             htell
        - Src:             'cram/cram_io.c:5996,9'
          Dst:             hseek
        - Src:             'cram/cram_io.c:5997,13'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:5998,13'
          Dst:             hclearerr
        - Src:             'cram/cram_io.c:6005,9'
          Dst:             hread
        - Src:             'cram/cram_io.c:6006,9'
          Dst:             hseek
        - Src:             'cram/cram_io.c:6008,13'
          Dst:             memcmp
    - functionName:    cram_set_voption
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5694
      functionLinenumberEnd: 5958
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         237
      ICount:          1582
      EdgeCount:       304
      CyclomaticComplexity: 69
      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:5702,5'
          Branch Sides:    []
        - Branch String:   'cram/cram_io.c:5918,9'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:5698,9'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:5710,28'
          Dst:             strdup
        - Src:             'cram/cram_io.c:5786,17'
          Dst:             refs_free
        - Src:             'cram/cram_io.c:5793,17'
          Dst:             cram_seek_to_refpos
        - Src:             'cram/cram_io.c:5794,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:5799,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:5805,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:5818,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:5823,16'
          Dst:             cram_load_reference
        - Src:             'cram/cram_io.c:5828,18'
          Dst:             __isoc99_sscanf
        - Src:             'cram/cram_io.c:5829,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:5836,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:5837,13'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:5842,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:5855,9'
          Dst:             cram_init_tables
        - Src:             'cram/cram_io.c:5869,30'
          Dst:             hts_tpool_init
        - Src:             'cram/cram_io.c:5872,26'
          Dst:             hts_tpool_process_init
        - Src:             'cram/cram_io.c:5886,71'
          Dst:             hts_tpool_size
        - Src:             'cram/cram_io.c:5885,26'
          Dst:             hts_tpool_process_init
        - Src:             'cram/cram_io.c:5952,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:5953,9'
          Dst:             __errno_location
    - functionName:    refs_free
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2428
      functionLinenumberEnd: 2466
      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:2438,9'
          Dst:             string_pool_destroy
        - Src:             'cram/cram_io.c:2450,13'
          Dst:             ref_entry_free_seq
        - Src:             'cram/cram_io.c:2454,9'
          Dst:             kh_destroy_refs
        - Src:             'cram/cram_io.c:2461,9'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:2463,5'
          Dst:             pthread_mutex_destroy
    - functionName:    cram_load_reference
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3599
      functionLinenumberEnd: 3626
      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:3603,20'
          Dst:             refs_load_fai
        - Src:             'cram/cram_io.c:3608,9'
          Dst:             sanitise_SQ_lines
        - Src:             'cram/cram_io.c:3614,13'
          Dst:             refs_free
        - Src:             'cram/cram_io.c:3615,26'
          Dst:             refs_create
        - Src:             'cram/cram_io.c:3617,19'
          Dst:             refs_from_header
        - Src:             'cram/cram_io.c:3622,19'
          Dst:             refs2id
    - functionName:    cram_init_tables
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5172
      functionLinenumberEnd: 5251
      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:5250,5'
          Dst:             cram_init_varint
    - functionName:    refs_load_fai
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2542
      functionLinenumberEnd: 2689
      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:2547,19'
          Dst:             strlen
        - Src:             'cram/cram_io.c:2553,19'
          Dst:             refs_create
        - Src:             'cram/cram_io.c:2557,13'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:2562,22'
          Dst:             strstr
        - Src:             'cram/cram_io.c:2564,23'
          Dst:             string_ndup
        - Src:             'cram/cram_io.c:2567,9'
          Dst:             snprintf
        - Src:             'cram/cram_io.c:2570,25'
          Dst:             strcmp
        - Src:             'cram/cram_io.c:2572,31'
          Dst:             string_ndup
        - Src:             'cram/cram_io.c:2575,13'
          Dst:             snprintf
        - Src:             'cram/cram_io.c:2578,27'
          Dst:             string_dup
        - Src:             'cram/cram_io.c:2580,13'
          Dst:             snprintf
        - Src:             'cram/cram_io.c:2584,19'
          Dst:             bgzf_open_ref
        - Src:             'cram/cram_io.c:2585,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2589,16'
          Dst:             hopen
        - Src:             'cram/cram_io.c:2590,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2592,13'
          Dst:             perror
        - Src:             'cram/cram_io.c:2595,12'
          Dst:             hgets
        - Src:             'cram/cram_io.c:2605,33'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:2608,19'
          Dst:             string_dup
        - Src:             'cram/cram_io.c:2611,23'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:2613,21'
          Dst:             strtoll
        - Src:             'cram/cram_io.c:2616,23'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:2618,21'
          Dst:             strtoll
        - Src:             'cram/cram_io.c:2621,23'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:2623,29'
          Dst:             strtol
        - Src:             'cram/cram_io.c:2626,23'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:2628,26'
          Dst:             strtol
        - Src:             'cram/cram_io.c:2639,13'
          Dst:             kh_put_refs
        - Src:             'cram/cram_io.c:2665,24'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_io.c:2677,8'
          Dst:             hclose
        - Src:             'cram/cram_io.c:2683,9'
          Dst:             hclose_abruptly
        - Src:             'cram/cram_io.c:2686,9'
          Dst:             refs_free
    - functionName:    sanitise_SQ_lines
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2694
      functionLinenumberEnd: 2729
      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:2705,21'
          Dst:             kh_get_refs
        - Src:             'cram/cram_io.c:2717,13'
          Dst:             strcmp
        - Src:             'cram/cram_io.c:2717,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:2721,13'
          Dst:             hts_log
    - functionName:    refs_create
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2468
      functionLinenumberEnd: 2494
      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:2469,17'
          Dst:             calloc
        - Src:             'cram/cram_io.c:2476,21'
          Dst:             string_pool_create
        - Src:             'cram/cram_io.c:2484,23'
          Dst:             kh_init_refs
        - Src:             'cram/cram_io.c:2487,5'
          Dst:             pthread_mutex_init
        - Src:             'cram/cram_io.c:2492,5'
          Dst:             refs_free
    - functionName:    refs_from_header
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2769
      functionLinenumberEnd: 2845
      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:2782,19'
          Dst:             sam_hdr_fill_hrecs
        - Src:             'cram/cram_io.c:2792,30'
          Dst:             hts_realloc_ps
        - Src:             'cram/cram_io.c:2806,13'
          Dst:             kh_get_refs
        - Src:             'cram/cram_io.c:2811,30'
          Dst:             calloc
        - Src:             'cram/cram_io.c:2817,30'
          Dst:             string_dup
        - Src:             'cram/cram_io.c:2822,19'
          Dst:             sam_hrecs_find_type_id
        - Src:             'cram/cram_io.c:2823,24'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_io.c:2824,36'
          Dst:             string_dup
        - Src:             'cram/cram_io.c:2826,24'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_io.c:2828,43'
          Dst:             strtoll
        - Src:             'cram/cram_io.c:2835,13'
          Dst:             kh_put_refs
    - functionName:    refs2id
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2738
      functionLinenumberEnd: 2762
      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:2747,17'
          Dst:             calloc
        - Src:             'cram/cram_io.c:2753,21'
          Dst:             kh_get_refs
        - Src:             'cram/cram_io.c:2757,13'
          Dst:             hts_log
    - functionName:    kh_get_refs
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 686
      functionLinenumberEnd: 686
      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:686,1'
          Dst:             __ac_FNV1a_hash_string
        - Src:             'cram/cram_structs.h:686,1'
          Dst:             strcmp
    - functionName:    bgzf_open_ref
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2504
      functionLinenumberEnd: 2531
      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:2507,9'
          Dst:             strncmp
        - Src:             'cram/cram_io.c:2510,21'
          Dst:             hisremote
        - Src:             'cram/cram_io.c:2513,9'
          Dst:             snprintf
        - Src:             'cram/cram_io.c:2514,13'
          Dst:             access
        - Src:             'cram/cram_io.c:2515,17'
          Dst:             fai_build
        - Src:             'cram/cram_io.c:2519,16'
          Dst:             bgzf_open
        - Src:             'cram/cram_io.c:2520,9'
          Dst:             perror
        - Src:             'cram/cram_io.c:2524,35'
          Dst:             bgzf_index_load
        - Src:             'cram/cram_io.c:2525,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2526,9'
          Dst:             bgzf_close
    - functionName:    ref_entry_free_seq
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2418
      functionLinenumberEnd: 2426
      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:2420,9'
          Dst:             mfclose
    - functionName:    kh_destroy_refs
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 686
      functionLinenumberEnd: 686
      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: 5676
      functionLinenumberEnd: 5684
      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:5681,9'
          Dst:             cram_set_voption
    - functionName:    cram_eof
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5664
      functionLinenumberEnd: 5665
      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: 308
      functionLinenumberEnd: 308
      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: 5558
      functionLinenumberEnd: 5659
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         99
      ICount:          568
      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:5567,13'
          Dst:             cram_update_curr_slice
        - Src:             'cram/cram_io.c:5569,19'
          Dst:             cram_flush_container_mt
        - Src:             'cram/cram_io.c:5574,9'
          Dst:             cram_drain_rqueue
        - Src:             'cram/cram_io.c:5577,9'
          Dst:             hts_tpool_process_flush
        - Src:             'cram/cram_io.c:5579,18'
          Dst:             cram_flush_result
        - Src:             'cram/cram_io.c:5587,9'
          Dst:             hts_tpool_process_destroy
        - Src:             'cram/cram_io.c:5590,5'
          Dst:             pthread_mutex_destroy
        - Src:             'cram/cram_io.c:5591,5'
          Dst:             pthread_mutex_destroy
        - Src:             'cram/cram_io.c:5592,5'
          Dst:             pthread_mutex_destroy
        - Src:             'cram/cram_io.c:5593,5'
          Dst:             pthread_mutex_destroy
        - Src:             'cram/cram_io.c:5597,18'
          Dst:             cram_write_eof_block
        - Src:             'cram/cram_io.c:5605,9'
          Dst:             free_bam_list
        - Src:             'cram/cram_io.c:5609,9'
          Dst:             hclose
        - Src:             'cram/cram_io.c:5613,9'
          Dst:             cram_free_file_def
        - Src:             'cram/cram_io.c:5616,9'
          Dst:             sam_hdr_destroy
        - Src:             'cram/cram_io.c:5621,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:5624,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:5627,9'
          Dst:             refs_free
        - Src:             'cram/cram_io.c:5643,9'
          Dst:             kh_destroy_m_metrics
        - Src:             'cram/cram_io.c:5647,9'
          Dst:             cram_index_free
        - Src:             'cram/cram_io.c:5650,9'
          Dst:             hts_tpool_destroy
        - Src:             'cram/cram_io.c:5653,13'
          Dst:             bgzf_close
    - functionName:    cram_flush_container_mt
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4275
      functionLinenumberEnd: 4320
      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:4288,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:4291,9'
          Dst:             reset_metrics
        - Src:             'cram/cram_io.c:4294,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:4297,16'
          Dst:             cram_flush_container
        - Src:             'cram/cram_io.c:4308,9'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:4309,9'
          Dst:             hts_tpool_dispatch2
        - Src:             'cram/cram_io.c:4309,9'
          Dst:             cram_flush_thread
        - Src:             'cram/cram_io.c:4310,24'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:4311,13'
          Dst:             cram_flush_result
        - Src:             'cram/cram_io.c:4316,9'
          Dst:             hts_usleep
    - functionName:    cram_flush_result
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4168
      functionLinenumberEnd: 4234
      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:4176,17'
          Dst:             hts_tpool_next_result
        - Src:             'cram/cram_io.c:4177,35'
          Dst:             hts_tpool_result_data
        - Src:             'cram/cram_io.c:4181,13'
          Dst:             hts_tpool_delete_result
        - Src:             'cram/cram_io.c:4189,22'
          Dst:             cram_flush_container2
        - Src:             'cram/cram_io.c:4196,21'
          Dst:             cram_free_slice
        - Src:             'cram/cram_io.c:4205,13'
          Dst:             cram_free_slice
        - Src:             'cram/cram_io.c:4218,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4223,9'
          Dst:             hts_tpool_delete_result
        - Src:             'cram/cram_io.c:4230,9'
          Dst:             cram_free_container
    - functionName:    cram_write_eof_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5474
      functionLinenumberEnd: 5551
      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:5509,28'
          Dst:             cram_encode_compression_header
        - Src:             'cram/cram_io.c:5514,13'
          Dst:             cram_write_container
        - Src:             'cram/cram_io.c:5515,13'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:5516,13'
          Dst:             cram_close
        - Src:             'cram/cram_io.c:5517,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:5521,13'
          Dst:             kh_destroy_map
        - Src:             'cram/cram_io.c:5522,9'
          Dst:             cram_free_block
    - functionName:    free_bam_list
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3697
      functionLinenumberEnd: 3703
      functionDepth:   0
      returnType:      void
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         7
      ICount:          42
      EdgeCount:       8
      CyclomaticComplexity: 3
      functionsReached:
        - bam_destroy1
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3700,9'
          Dst:             bam_destroy1
    - functionName:    cram_free_file_def
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4700
      functionLinenumberEnd: 4702
      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: 3705
      functionLinenumberEnd: 3780
      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:    43
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3719,9'
          Dst:             cram_free_compression_header
        - Src:             'cram/cram_io.c:3722,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:3728,17'
          Dst:             cram_free_slice
        - Src:             'cram/cram_io.c:3737,9'
          Dst:             cram_free_slice
        - Src:             'cram/cram_io.c:3742,27'
          Dst:             cram_stats_free
        - Src:             'cram/cram_io.c:3764,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:3765,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:3770,9'
          Dst:             kh_destroy_m_tagmap
        - Src:             'cram/cram_io.c:3777,9'
          Dst:             free_bam_list
    - functionName:    cram_free_compression_header
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4358
      functionLinenumberEnd: 4402
      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:4365,9'
          Dst:             kh_destroy_map
        - Src:             'cram/cram_io.c:4395,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4397,9'
          Dst:             kh_destroy_m_s2i
        - Src:             'cram/cram_io.c:4399,9'
          Dst:             string_pool_destroy
    - functionName:    cram_free_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1566
      functionLinenumberEnd: 1572
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          40
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    57
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_free_slice
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4421
      functionLinenumberEnd: 4497
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         76
      ICount:          424
      EdgeCount:       100
      CyclomaticComplexity: 26
      functionsReached:
        - cram_free_block
        - cram_free_slice_header
        - kh_destroy_m_s2i
        - string_pool_destroy
      functionUses:    17
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4426,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4435,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4446,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4453,9'
          Dst:             cram_free_slice_header
        - Src:             'cram/cram_io.c:4456,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4459,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4462,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4465,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4468,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4471,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4486,9'
          Dst:             string_pool_destroy
        - Src:             'cram/cram_io.c:4489,9'
          Dst:             kh_destroy_m_s2i
        - Src:             'cram/cram_io.c:4491,9'
          Dst:             kh_destroy_m_s2i
    - functionName:    kh_destroy_m_tagmap
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 394
      functionLinenumberEnd: 394
      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: 4409
      functionLinenumberEnd: 4419
      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: 4023
      functionLinenumberEnd: 4086
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         39
      ICount:          512
      EdgeCount:       51
      CyclomaticComplexity: 14
      functionsReached:
        - crc32
        - hwrite
        - itf8_put
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:4035,15'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:4068,20'
          Dst:             crc32
        - Src:             'cram/cram_io.c:4076,19'
          Dst:             hwrite
    - functionName:    cram_write_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1512
      functionLinenumberEnd: 1561
      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:1516,5'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:1518,9'
          Dst:             hputc
        - Src:             'cram/cram_io.c:1519,9'
          Dst:             hputc
        - Src:             'cram/cram_io.c:1523,22'
          Dst:             hwrite
        - Src:             'cram/cram_io.c:1528,35'
          Dst:             hwrite
        - Src:             'cram/cram_io.c:1531,33'
          Dst:             hwrite
        - Src:             'cram/cram_io.c:1536,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:1548,15'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1551,24'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1553,24'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1556,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: 1021
      functionLinenumberEnd: 1027
      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:1023,14'
          Dst:             hwrite
    - functionName:    cram_flush_container2
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4089
      functionLinenumberEnd: 4133
      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:4097,22'
          Dst:             htell
        - Src:             'cram/cram_io.c:4100,14'
          Dst:             cram_write_container
        - Src:             'cram/cram_io.c:4103,22'
          Dst:             htell
        - Src:             'cram/cram_io.c:4106,14'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:4110,25'
          Dst:             htell
        - Src:             'cram/cram_io.c:4115,18'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:4119,22'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:4123,23'
          Dst:             htell
        - Src:             'cram/cram_io.c:4127,17'
          Dst:             cram_index_slice
    - functionName:    reset_metrics
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4238
      functionLinenumberEnd: 4273
      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:4256,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:4257,9'
          Dst:             hts_tpool_process_flush
        - Src:             'cram/cram_io.c:4258,9'
          Dst:             pthread_mutex_lock
    - functionName:    cram_flush_container
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4143
      functionLinenumberEnd: 4149
      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:4145,14'
          Dst:             cram_encode_container
        - Src:             'cram/cram_io.c:4148,12'
          Dst:             cram_flush_container2
    - functionName:    cram_flush_thread
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4156
      functionLinenumberEnd: 4166
      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:4160,14'
          Dst:             cram_encode_container
        - Src:             'cram/cram_io.c:4161,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: 5446
      functionLinenumberEnd: 5466
      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:5454,13'
          Dst:             cram_update_curr_slice
        - Src:             'cram/cram_io.c:5456,19'
          Dst:             cram_flush_container_mt
        - Src:             'cram/cram_io.c:5459,9'
          Dst:             cram_free_container
    - functionName:    cram_seek
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5431
      functionLinenumberEnd: 5436
      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:5434,5'
          Dst:             cram_drain_rqueue
        - Src:             'cram/cram_io.c:5436,12'
          Dst:             hseek
    - functionName:    kh_init_m_metrics
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 308
      functionLinenumberEnd: 308
      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:308,1'
          Dst:             calloc
    - functionName:    cram_dopen
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 5289
      functionLinenumberEnd: 5423
      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:5292,19'
          Dst:             calloc
        - Src:             'cram/cram_io.c:5312,30'
          Dst:             cram_read_file_def
        - Src:             'cram/cram_io.c:5318,9'
          Dst:             cram_init_tables
        - Src:             'cram/cram_io.c:5320,28'
          Dst:             cram_read_SAM_hdr
        - Src:             'cram/cram_io.c:5321,13'
          Dst:             cram_free_file_def
        - Src:             'cram/cram_io.c:5327,30'
          Dst:             calloc
        - Src:             'cram/cram_io.c:5340,9'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:5343,9'
          Dst:             cram_init_tables
        - Src:             'cram/cram_io.c:5348,31'
          Dst:             strrchr
        - Src:             'cram/cram_io.c:5348,18'
          Dst:             strdup
        - Src:             'cram/cram_io.c:5356,17'
          Dst:             refs_create
        - Src:             'cram/cram_io.c:5392,5'
          Dst:             pthread_mutex_init
        - Src:             'cram/cram_io.c:5393,5'
          Dst:             pthread_mutex_init
        - Src:             'cram/cram_io.c:5394,5'
          Dst:             pthread_mutex_init
        - Src:             'cram/cram_io.c:5395,5'
          Dst:             pthread_mutex_init
        - Src:             'cram/cram_io.c:5398,20'
          Dst:             cram_new_metrics
        - Src:             'cram/cram_io.c:5403,27'
          Dst:             kh_init_m_metrics
        - Src:             'cram/cram_io.c:5413,15'
          Dst:             refs_from_header
    - functionName:    cram_read_file_def
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4662
      functionLinenumberEnd: 4689
      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:4667,15'
          Dst:             hread
        - Src:             'cram/cram_io.c:4672,9'
          Dst:             memcmp
        - Src:             'cram/cram_io.c:4678,9'
          Dst:             hts_log
    - functionName:    cram_read_SAM_hdr
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4717
      functionLinenumberEnd: 4846
      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:4725,19'
          Dst:             int32_decode
        - Src:             'cram/cram_io.c:4737,27'
          Dst:             hread
        - Src:             'cram/cram_io.c:4745,29'
          Dst:             cram_read_container
        - Src:             'cram/cram_io.c:4757,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4761,19'
          Dst:             cram_read_block
        - Src:             'cram/cram_io.c:4762,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4765,13'
          Dst:             cram_uncompress_block
        - Src:             'cram/cram_io.c:4766,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4767,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4777,19'
          Dst:             int32_get_blk
        - Src:             'cram/cram_io.c:4780,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4781,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4785,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4786,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4791,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4795,23'
          Dst:             cram_read_block
        - Src:             'cram/cram_io.c:4796,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4804,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4811,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4816,36'
          Dst:             hread
        - Src:             'cram/cram_io.c:4817,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4825,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:4829,11'
          Dst:             sam_hdr_init
        - Src:             'cram/cram_io.c:4835,15'
          Dst:             sam_hdr_add_lines
        - Src:             'cram/cram_io.c:4837,9'
          Dst:             sam_hdr_destroy
    - functionName:    cram_new_metrics
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2328
      functionLinenumberEnd: 2340
      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:2329,23'
          Dst:             calloc
    - functionName:    int32_decode
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1006
      functionLinenumberEnd: 1013
      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:1008,14'
          Dst:             hread
    - functionName:    cram_read_container
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3788
      functionLinenumberEnd: 3943
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         104
      ICount:          789
      EdgeCount:       139
      CyclomaticComplexity: 37
      functionsReached:
        - __errno_location
        - calloc
        - cram_free_container
        - crc32
        - hts_log
        - hts_malloc_p
        - int32_decode
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3807,18'
          Dst:             int32_decode
        - Src:             'cram/cram_io.c:3818,15'
          Dst:             crc32
        - Src:             'cram/cram_io.c:3878,15'
          Dst:             calloc
        - Src:             'cram/cram_io.c:3884,19'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:3885,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:3889,45'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_io.c:3890,19'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:3891,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:3896,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:3904,19'
          Dst:             int32_decode
        - Src:             'cram/cram_io.c:3905,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:3917,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3918,13'
          Dst:             cram_free_container
    - functionName:    cram_read_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1415
      functionLinenumberEnd: 1484
      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:1424,33'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:1426,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1429,26'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1430,33'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:1431,32'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1446,31'
          Dst:             hread
        - Src:             'cram/cram_io.c:1458,29'
          Dst:             hread
        - Src:             'cram/cram_io.c:1466,19'
          Dst:             int32_decode
    - functionName:    cram_uncompress_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1577
      functionLinenumberEnd: 1755
      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:1602,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:1587,24'
          Dst:             crc32
        - Src:             'cram/cram_io.c:1590,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1600,5'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:1608,18'
          Dst:             zlib_mem_inflate
        - Src:             'cram/cram_io.c:1627,22'
          Dst:             BZ2_bzBuffToBuffDecompress
        - Src:             'cram/cram_io.c:1648,18'
          Dst:             lzma_mem_inflate
        - Src:             'cram/cram_io.c:1669,26'
          Dst:             rans_uncompress
        - Src:             'cram/cram_io.c:1687,18'
          Dst:             fqz_decompress
        - Src:             'cram/cram_io.c:1700,26'
          Dst:             rans_uncompress_4x16
        - Src:             'cram/cram_io.c:1719,26'
          Dst:             arith_uncompress_to
        - Src:             'cram/cram_io.c:1738,23'
          Dst:             tok3_decode_names
    - functionName:    int32_get_blk
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1030
      functionLinenumberEnd: 1043
      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: 1158
      functionLinenumberEnd: 1219
      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:1181,11'
          Dst:             inflateInit2_
        - Src:             'cram/cram_io.c:1183,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1194,15'
          Dst:             inflate
        - Src:             'cram/cram_io.c:1199,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1201,13'
          Dst:             inflateEnd
        - Src:             'cram/cram_io.c:1207,16'
          Dst:             realloc
        - Src:             'cram/cram_io.c:1210,13'
          Dst:             inflateEnd
        - Src:             'cram/cram_io.c:1215,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: 1314
      functionLinenumberEnd: 1371
      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:1321,47'
          Dst:             lzma_easy_decoder_memusage
        - Src:             'cram/cram_io.c:1321,20'
          Dst:             lzma_stream_decoder
        - Src:             'cram/cram_io.c:1331,23'
          Dst:             realloc
        - Src:             'cram/cram_io.c:1339,13'
          Dst:             lzma_code
        - Src:             'cram/cram_io.c:1341,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1352,9'
          Dst:             lzma_code
        - Src:             'cram/cram_io.c:1354,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:1358,15'
          Dst:             realloc
        - Src:             'cram/cram_io.c:1363,5'
          Dst:             lzma_end
        - Src:             'cram/cram_io.c:1368,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: 5264
      functionLinenumberEnd: 5282
      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:5269,9'
          Dst:             strlen
        - Src:             'cram/cram_io.c:5273,10'
          Dst:             hopen
        - Src:             'cram/cram_io.c:5277,10'
          Dst:             cram_dopen
        - Src:             'cram/cram_io.c:5279,9'
          Dst:             hclose_abruptly
    - functionName:    full_path
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4852
      functionLinenumberEnd: 4884
      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:4853,19'
          Dst:             strlen
        - Src:             'cram/cram_io.c:4854,9'
          Dst:             hisremote
        - Src:             'cram/cram_io.c:4856,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4859,9'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:4865,22'
          Dst:             toupper_c
        - Src:             'cram/cram_io.c:4865,48'
          Dst:             toupper_c
        - Src:             'cram/cram_io.c:4867,9'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:4873,14'
          Dst:             getcwd
        - Src:             'cram/cram_io.c:4874,20'
          Dst:             strlen
        - Src:             'cram/cram_io.c:4874,35'
          Dst:             strlen
        - Src:             'cram/cram_io.c:4875,13'
          Dst:             strncpy
        - Src:             'cram/cram_io.c:4880,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: 4891
      functionLinenumberEnd: 5114
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         121
      ICount:          1007
      EdgeCount:       169
      CyclomaticComplexity: 50
      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_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:4899,18'
          Dst:             cram_write_file_def
        - Src:             'cram/cram_io.c:4905,14'
          Dst:             sam_hrecs_find_rg
        - Src:             'cram/cram_io.c:4906,17'
          Dst:             sam_hdr_add_line
        - Src:             'cram/cram_io.c:4911,15'
          Dst:             refs_from_header
        - Src:             'cram/cram_io.c:4913,15'
          Dst:             refs2id
        - Src:             'cram/cram_io.c:4923,24'
          Dst:             sam_hrecs_find_type_id
        - Src:             'cram/cram_io.c:4926,18'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_io.c:4938,23'
          Dst:             cram_get_ref
        - Src:             'cram/cram_io.c:4942,25'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4944,25'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4945,25'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4947,25'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:4951,25'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:4957,29'
          Dst:             hts_md5_init
        - Src:             'cram/cram_io.c:4961,21'
          Dst:             hts_md5_update
        - Src:             'cram/cram_io.c:4972,17'
          Dst:             hts_md5_final
        - Src:             'cram/cram_io.c:4973,17'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_io.c:4974,17'
          Dst:             cram_ref_decr
        - Src:             'cram/cram_io.c:4976,17'
          Dst:             hts_md5_hex
        - Src:             'cram/cram_io.c:4978,21'
          Dst:             sam_hdr_update_line
        - Src:             'cram/cram_io.c:4984,17'
          Dst:             full_path
        - Src:             'cram/cram_io.c:4985,21'
          Dst:             sam_hdr_update_line
        - Src:             'cram/cram_io.c:4992,18'
          Dst:             sam_hdr_length
        - Src:             'cram/cram_io.c:4994,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4998,19'
          Dst:             int32_encode
        - Src:             'cram/cram_io.c:5002,42'
          Dst:             sam_hdr_str
        - Src:             'cram/cram_io.c:5002,27'
          Dst:             hwrite
        - Src:             'cram/cram_io.c:5006,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:5007,29'
          Dst:             cram_new_container
        - Src:             'cram/cram_io.c:5013,20'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:5014,20'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:5018,13'
          Dst:             int32_put_blk
        - Src:             'cram/cram_io.c:5021,13'
          Dst:             sam_hdr_str
        - Src:             'cram/cram_io.c:5021,13'
          Dst:             block_append
        - Src:             'cram/cram_io.c:5026,17'
          Dst:             cram_compress_block
        - Src:             'cram/cram_io.c:5038,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:5039,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:5066,33'
          Dst:             calloc
        - Src:             'cram/cram_io.c:5067,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:5068,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:5071,13'
          Dst:             block_append
        - Src:             'cram/cram_io.c:5076,19'
          Dst:             cram_write_container
        - Src:             'cram/cram_io.c:5077,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:5078,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:5082,19'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:5083,13'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:5084,13'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:5089,13'
          Dst:             block_resize
        - Src:             'cram/cram_io.c:5094,23'
          Dst:             cram_write_block
        - Src:             'cram/cram_io.c:5095,17'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:5096,17'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:5101,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:5102,9'
          Dst:             cram_free_container
        - Src:             'cram/cram_io.c:5105,14'
          Dst:             hflush
    - functionName:    cram_write_file_def
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4696
      functionLinenumberEnd: 4697
      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:4697,13'
          Dst:             hwrite
    - functionName:    cram_get_ref
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3411
      functionLinenumberEnd: 3592
      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:3425,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:3440,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3441,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3458,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:3461,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3463,13'
          Dst:             cram_populate_ref
        - Src:             'cram/cram_io.c:3464,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3466,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3467,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3468,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3473,13'
          Dst:             cram_ref_incr_locked
        - Src:             'cram/cram_io.c:3505,17'
          Dst:             cram_ref_incr_locked
        - Src:             'cram/cram_io.c:3508,27'
          Dst:             cram_ref_load
        - Src:             'cram/cram_io.c:3509,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3510,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3518,21'
          Dst:             cram_ref_incr_locked
        - Src:             'cram/cram_io.c:3534,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3535,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3555,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3556,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3561,9'
          Dst:             strcmp
        - Src:             'cram/cram_io.c:3563,17'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:3566,30'
          Dst:             bgzf_open_ref
        - Src:             'cram/cram_io.c:3567,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3568,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3573,21'
          Dst:             load_ref_portion
        - Src:             'cram/cram_io.c:3574,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3575,9'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3588,5'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:3589,5'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_ref_decr
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3215
      functionLinenumberEnd: 3219
      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:3216,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:3217,5'
          Dst:             cram_ref_decr_locked
        - Src:             'cram/cram_io.c:3218,5'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_new_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1390
      functionLinenumberEnd: 1408
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - int
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         6
      ICount:          75
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    43
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_new_container
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3639
      functionLinenumberEnd: 3695
      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:3640,25'
          Dst:             calloc
        - Src:             'cram/cram_io.c:3668,23'
          Dst:             calloc
        - Src:             'cram/cram_io.c:3672,25'
          Dst:             cram_new_compression_header
        - Src:             'cram/cram_io.c:3677,30'
          Dst:             cram_stats_create
        - Src:             'cram/cram_io.c:3681,26'
          Dst:             kh_init_m_tagmap
    - functionName:    int32_put_blk
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1046
      functionLinenumberEnd: 1059
      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:1054,5'
          Dst:             block_append
    - functionName:    cram_compress_block
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2324
      functionLinenumberEnd: 2325
      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:2325,12'
          Dst:             cram_compress_block2
    - functionName:    cram_compress_block2
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2319
      functionLinenumberEnd: 2320
      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:2320,12'
          Dst:             cram_compress_block3
    - functionName:    cram_compress_block3
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1916
      functionLinenumberEnd: 2309
      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:2062,21'
          Branch Sides:    []
        - Branch String:   'cram/cram_io.c:2193,17'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:1980,9'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:2057,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:2075,25'
          Dst:             cram_compress_by_method
        - Src:             'cram/cram_io.c:2102,13'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:2237,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:2249,13'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:2250,20'
          Dst:             cram_compress_by_method
        - Src:             'cram/cram_io.c:2258,21'
          Dst:             cram_block_method2str
        - Src:             'cram/cram_io.c:2258,21'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2261,21'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:2265,21'
          Dst:             pthread_mutex_unlock
        - Src:             'cram/cram_io.c:2266,28'
          Dst:             cram_compress_block3
        - Src:             'cram/cram_io.c:2284,16'
          Dst:             cram_compress_by_method
        - Src:             'cram/cram_io.c:2287,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2302,5'
          Dst:             cram_block_method2str
        - Src:             'cram/cram_io.c:2302,5'
          Dst:             hts_log
    - functionName:    cram_block_method2str
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2342
      functionLinenumberEnd: 2377
      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:2343,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cram_new_compression_header
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4332
      functionLinenumberEnd: 4356
      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:4333,39'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4337,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4342,26'
          Dst:             kh_init_m_s2i
        - Src:             'cram/cram_io.c:4343,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4348,26'
          Dst:             string_pool_create
        - Src:             'cram/cram_io.c:4349,9'
          Dst:             kh_destroy_m_s2i
        - Src:             'cram/cram_io.c:4350,9'
          Dst:             cram_free_block
    - functionName:    kh_init_m_tagmap
      functionSourceFile: '/src/htslib/cram/cram_structs.h'
      linkageType:     InternalLinkage
      functionLinenumber: 394
      functionLinenumberEnd: 394
      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:394,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: 3191
      functionLinenumberEnd: 3213
      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:3201,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:3207,17'
          Dst:             ref_entry_free_seq
    - functionName:    cram_populate_ref
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2979
      functionLinenumberEnd: 3169
      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:2980,22'
          Dst:             getenv
        - Src:             'cram/cram_io.c:2985,25'
          Dst:             getenv
        - Src:             'cram/cram_io.c:2989,5'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:2994,16'
          Dst:             sam_hrecs_find_type_id
        - Src:             'cram/cram_io.c:2997,17'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_io.c:3000,5'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3005,13'
          Dst:             expand_cache_path
        - Src:             'cram/cram_io.c:3006,13'
          Dst:             stat
        - Src:             'cram/cram_io.c:3027,18'
          Dst:             stat
        - Src:             'cram/cram_io.c:3029,22'
          Dst:             bgzf_open
        - Src:             'cram/cram_io.c:3033,21'
          Dst:             string_dup
        - Src:             'cram/cram_io.c:3036,21'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:3052,15'
          Dst:             open_path_mfile
        - Src:             'cram/cram_io.c:3054,18'
          Dst:             mfsteal
        - Src:             'cram/cram_io.c:3072,24'
          Dst:             sam_hrecs_find_key
        - Src:             'cram/cram_io.c:3075,13'
          Dst:             strstr
        - Src:             'cram/cram_io.c:3076,13'
          Dst:             strncmp
        - Src:             'cram/cram_io.c:3078,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3082,15'
          Dst:             strncmp
        - Src:             'cram/cram_io.c:3087,17'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:3091,22'
          Dst:             refs_load_fai
        - Src:             'cram/cram_io.c:3093,9'
          Dst:             sanitise_SQ_lines
        - Src:             'cram/cram_io.c:3097,17'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:3105,19'
          Dst:             refs2id
        - Src:             'cram/cram_io.c:3118,13'
          Dst:             expand_cache_path
        - Src:             'cram/cram_io.c:3121,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3122,9'
          Dst:             mkdir_prefix
        - Src:             'cram/cram_io.c:3124,14'
          Dst:             hts_open_tmpfile
        - Src:             'cram/cram_io.c:3126,13'
          Dst:             perror
        - Src:             'cram/cram_io.c:3138,21'
          Dst:             hts_md5_init
        - Src:             'cram/cram_io.c:3139,13'
          Dst:             hclose_abruptly
        - Src:             'cram/cram_io.c:3140,13'
          Dst:             unlink
        - Src:             'cram/cram_io.c:3144,9'
          Dst:             hts_md5_update
        - Src:             'cram/cram_io.c:3145,9'
          Dst:             hts_md5_final
        - Src:             'cram/cram_io.c:3146,9'
          Dst:             hts_md5_destroy
        - Src:             'cram/cram_io.c:3147,9'
          Dst:             hts_md5_hex
        - Src:             'cram/cram_io.c:3149,13'
          Dst:             strncmp
        - Src:             'cram/cram_io.c:3150,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3151,13'
          Dst:             hclose_abruptly
        - Src:             'cram/cram_io.c:3152,13'
          Dst:             unlink
        - Src:             'cram/cram_io.c:3157,34'
          Dst:             hwrite
        - Src:             'cram/cram_io.c:3158,13'
          Dst:             hclose
        - Src:             'cram/cram_io.c:3159,13'
          Dst:             chmod
        - Src:             'cram/cram_io.c:3160,13'
          Dst:             rename
        - Src:             'cram/cram_io.c:3161,13'
          Dst:             __errno_location
        - Src:             'cram/cram_io.c:3161,13'
          Dst:             strerror
        - Src:             'cram/cram_io.c:3161,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3163,13'
          Dst:             unlink
    - functionName:    cram_ref_incr_locked
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3171
      functionLinenumberEnd: 3183
      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: 3325
      functionLinenumberEnd: 3387
      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:3334,5'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:3344,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_io.c:3348,17'
          Dst:             ref_entry_free_seq
        - Src:             'cram/cram_io.c:3356,9'
          Dst:             strcmp
        - Src:             'cram/cram_io.c:3358,17'
          Dst:             bgzf_close
        - Src:             'cram/cram_io.c:3361,23'
          Dst:             bgzf_open_ref
        - Src:             'cram/cram_io.c:3367,17'
          Dst:             load_ref_portion
    - functionName:    load_ref_portion
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3231
      functionLinenumberEnd: 3316
      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:3256,9'
          Dst:             bgzf_useek
        - Src:             'cram/cram_io.c:3257,9'
          Dst:             perror
        - Src:             'cram/cram_io.c:3265,16'
          Dst:             bgzf_read
        - Src:             'cram/cram_io.c:3266,9'
          Dst:             perror
        - Src:             'cram/cram_io.c:3283,18'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:3288,27'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:3297,18'
          Dst:             isspace_c
        - Src:             'cram/cram_io.c:3304,13'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:3311,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:    34
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_read_slice
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4568
      functionLinenumberEnd: 4650
      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:4577,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:4569,21'
          Dst:             cram_read_block
        - Src:             'cram/cram_io.c:4570,21'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4580,24'
          Dst:             cram_decode_slice_header
        - Src:             'cram/cram_io.c:4585,9'
          Dst:             cram_content_type2str
        - Src:             'cram/cram_io.c:4585,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4591,9'
          Dst:             hts_log
        - Src:             'cram/cram_io.c:4595,16'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4600,29'
          Dst:             cram_read_block
        - Src:             'cram/cram_io.c:4611,28'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4625,22'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_io.c:4628,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4629,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4630,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4631,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4632,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4633,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4644,9'
          Dst:             cram_free_block
        - Src:             'cram/cram_io.c:4647,9'
          Dst:             cram_free_slice
    - functionName:    cram_content_type2str
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2379
      functionLinenumberEnd: 2390
      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:2380,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cram_new_slice
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4506
      functionLinenumberEnd: 4555
      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:4507,21'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4511,44'
          Dst:             calloc
        - Src:             'cram/cram_io.c:4519,22'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_io.c:4521,22'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_io.c:4524,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4525,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4526,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4527,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4528,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4529,25'
          Dst:             cram_new_block
        - Src:             'cram/cram_io.c:4540,26'
          Dst:             string_pool_create
        - Src:             'cram/cram_io.c:4541,24'
          Dst:             kh_init_m_s2i
        - Src:             'cram/cram_io.c:4542,24'
          Dst:             kh_init_m_s2i
        - Src:             'cram/cram_io.c:4552,9'
          Dst:             cram_free_slice
    - functionName:    cram_store_container
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3961
      functionLinenumberEnd: 4014
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          437
      EdgeCount:       36
      CyclomaticComplexity: 10
      functionsReached:
        - cram_container_size
        - crc32
        - itf8_put
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.c:3967,9'
          Dst:             cram_container_size
        - Src:             'cram/cram_io.c:3971,15'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:4003,20'
          Dst:             crc32
    - functionName:    cram_container_size
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3947
      functionLinenumberEnd: 3948
      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: 3185
      functionLinenumberEnd: 3189
      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:3186,5'
          Dst:             pthread_mutex_lock
        - Src:             'cram/cram_io.c:3187,5'
          Dst:             cram_ref_incr_locked
        - Src:             'cram/cram_io.c:3188,5'
          Dst:             pthread_mutex_unlock
    - functionName:    cram_set_header
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2868
      functionLinenumberEnd: 2869
      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:2869,12'
          Dst:             cram_set_header2
    - functionName:    cram_set_header2
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2854
      functionLinenumberEnd: 2866
      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:2860,13'
          Dst:             sam_hdr_destroy
        - Src:             'cram/cram_io.c:2861,22'
          Dst:             sam_hdr_dup
        - Src:             'cram/cram_io.c:2865,12'
          Dst:             refs_from_header
    - functionName:    cram_block_size
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1491
      functionLinenumberEnd: 1504
      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:1497,11'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:1498,11'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:1499,11'
          Dst:             itf8_put
    - functionName:    ltf8_decode
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 421
      functionLinenumberEnd: 500
      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:422,13'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:432,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:437,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:438,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:445,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:453,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:462,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:472,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:483,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
        - Src:             'cram/cram_io.c:495,41'
          Dst:             hgetc
    - functionName:    itf8_encode
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 383
      functionLinenumberEnd: 386
      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:385,15'
          Dst:             itf8_put
        - Src:             'cram/cram_io.c:386,12'
          Dst:             hwrite
    - functionName:    itf8_decode
      functionSourceFile: '/src/htslib/cram/cram_io.c'
      linkageType:     InternalLinkage
      functionLinenumber: 139
      functionLinenumberEnd: 195
      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:163,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_io.c:156,19'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:169,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:174,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:175,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:182,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,41'
          Dst:             hgetc
        - Src:             'cram/cram_io.c:190,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:         52
      ICount:          548
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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: 224
      functionLinenumberEnd: 228
      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:226,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: 222
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         77
      ICount:          501
      EdgeCount:       102
      CyclomaticComplexity: 27
      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:    3
      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:    3
      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:    3
      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:    3
      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:    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:    parse_va_list
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1556
      functionLinenumberEnd: 1619
      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:1560,13'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1563,21'
          Dst:             append_header
        - Src:             'hfile_libcurl.c:1565,21'
          Dst:             is_authorization
        - Src:             'hfile_libcurl.c:1569,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1572,21'
          Dst:             append_header
        - Src:             'hfile_libcurl.c:1574,21'
          Dst:             is_authorization
        - Src:             'hfile_libcurl.c:1578,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1581,21'
          Dst:             append_header
        - Src:             'hfile_libcurl.c:1583,21'
          Dst:             is_authorization
        - Src:             'hfile_libcurl.c:1587,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1590,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1593,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1596,21'
          Dst:             parse_va_list
        - Src:             'hfile_libcurl.c:1599,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1601,17'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1604,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1607,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1610,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1613,18'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1616,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:    68
      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:    13
      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:    14
      BranchProfiles:  []
      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:    1
      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:         52
      ICount:          542
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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: 467
      functionLinenumberEnd: 472
      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: 1548
      functionDepth:   0
      returnType:      'N/A'
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         147
      ICount:          1137
      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:1376,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1380,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1380,16'
          Dst:             recv_callback
        - Src:             'hfile_libcurl.c:1381,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1385,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1385,16'
          Dst:             send_callback
        - Src:             'hfile_libcurl.c:1386,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1387,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1388,13'
          Dst:             append_header
        - Src:             'hfile_libcurl.c:1394,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1395,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1397,36'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1399,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1402,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1404,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1406,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1410,13'
          Dst:             add_callback_headers
        - Src:             'hfile_libcurl.c:1412,9'
          Dst:             get_auth_token
        - Src:             'hfile_libcurl.c:1414,17'
          Dst:             get_header_list
        - Src:             'hfile_libcurl.c:1415,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1418,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1420,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1423,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1423,16'
          Dst:             header_callback
        - Src:             'hfile_libcurl.c:1424,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1426,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1429,21'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1431,12'
          Dst:             curl_multi_add_handle
        - Src:             'hfile_libcurl.c:1432,37'
          Dst:             multi_errno
        - Src:             'hfile_libcurl.c:1432,29'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1436,13'
          Dst:             wait_perform
        - Src:             'hfile_libcurl.c:1439,5'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_libcurl.c:1445,13'
          Dst:             is_retryable
        - Src:             'hfile_libcurl.c:1450,17'
          Dst:             hts_log
        - Src:             'hfile_libcurl.c:1452,17'
          Dst:             retry_sleep
        - Src:             'hfile_libcurl.c:1454,21'
          Dst:             restart_from_position
        - Src:             'hfile_libcurl.c:1457,26'
          Dst:             is_retryable
        - Src:             'hfile_libcurl.c:1466,17'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1466,9'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1477,17'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1481,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1482,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1483,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1484,18'
          Dst:             ks_release
        - Src:             'hfile_libcurl.c:1486,29'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1487,18'
          Dst:             ks_release
        - Src:             'hfile_libcurl.c:1489,17'
          Dst:             restart_from_position
        - Src:             'hfile_libcurl.c:1494,17'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_libcurl.c:1499,25'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1499,17'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1504,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1505,20'
          Dst:             curl_easy_setopt
        - Src:             'hfile_libcurl.c:1506,18'
          Dst:             ks_release
        - Src:             'hfile_libcurl.c:1508,29'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1516,13'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_libcurl.c:1531,12'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1532,12'
          Dst:             curl_multi_remove_handle
        - Src:             'hfile_libcurl.c:1534,5'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1538,12'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1539,19'
          Dst:             curl_easy_cleanup
        - Src:             'hfile_libcurl.c:1540,20'
          Dst:             curl_multi_cleanup
        - Src:             'hfile_libcurl.c:1541,5'
          Dst:             free_headers
        - Src:             'hfile_libcurl.c:1542,5'
          Dst:             hfile_destroy
        - Src:             'hfile_libcurl.c:1543,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: 1666
      functionLinenumberEnd: 1677
      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:1670,9'
          Dst:             parse_va_list
        - Src:             'hfile_libcurl.c:1671,14'
          Dst:             libcurl_open
        - Src:             'hfile_libcurl.c:1675,9'
          Dst:             free_headers
    - functionName:    hopen_libcurl
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1551
      functionLinenumberEnd: 1552
      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:1552,12'
          Dst:             libcurl_open
    - functionName:    hfile_plugin_init_libcurl
      functionSourceFile: '/src/htslib/hfile_libcurl.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1681
      functionLinenumberEnd: 1757
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         42
      ICount:          261
      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
        - easy_errno
        - 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:1693,27'
          Dst:             hts_version
        - Src:             'hfile_libcurl.c:1701,11'
          Dst:             curl_global_init
        - Src:             'hfile_libcurl.c:1702,36'
          Dst:             easy_errno
        - Src:             'hfile_libcurl.c:1702,28'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1704,18'
          Dst:             curl_share_init
        - Src:             'hfile_libcurl.c:1705,31'
          Dst:             curl_global_cleanup
        - Src:             'hfile_libcurl.c:1705,54'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1706,13'
          Dst:             curl_share_setopt
        - Src:             'hfile_libcurl.c:1706,13'
          Dst:             share_lock
        - Src:             'hfile_libcurl.c:1707,14'
          Dst:             curl_share_setopt
        - Src:             'hfile_libcurl.c:1707,14'
          Dst:             share_unlock
        - Src:             'hfile_libcurl.c:1708,14'
          Dst:             curl_share_setopt
        - Src:             'hfile_libcurl.c:1710,9'
          Dst:             curl_share_cleanup
        - Src:             'hfile_libcurl.c:1711,9'
          Dst:             curl_global_cleanup
        - Src:             'hfile_libcurl.c:1712,9'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1716,17'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1717,26'
          Dst:             strdup
        - Src:             'hfile_libcurl.c:1718,25'
          Dst:             kh_init_auth_map
        - Src:             'hfile_libcurl.c:1720,30'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1722,13'
          Dst:             kh_destroy_auth_map
        - Src:             'hfile_libcurl.c:1723,13'
          Dst:             curl_share_cleanup
        - Src:             'hfile_libcurl.c:1724,13'
          Dst:             curl_global_cleanup
        - Src:             'hfile_libcurl.c:1725,13'
          Dst:             __errno_location
        - Src:             'hfile_libcurl.c:1729,17'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1730,12'
          Dst:             strcmp
        - Src:             'hfile_libcurl.c:1736,20'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1737,30'
          Dst:             atoi
        - Src:             'hfile_libcurl.c:1738,20'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1739,35'
          Dst:             atol
        - Src:             'hfile_libcurl.c:1740,20'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1741,39'
          Dst:             atol
        - Src:             'hfile_libcurl.c:1742,20'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1743,36'
          Dst:             atol
        - Src:             'hfile_libcurl.c:1744,20'
          Dst:             getenv
        - Src:             'hfile_libcurl.c:1745,35'
          Dst:             atol
        - Src:             'hfile_libcurl.c:1748,12'
          Dst:             curl_version_info
        - Src:             'hfile_libcurl.c:1749,5'
          Dst:             ksprintf
        - Src:             'hfile_libcurl.c:1755,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:    2
      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:    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:    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:    gcs_rewrite
      functionSourceFile: '/src/htslib/hfile_gcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 44
      functionLinenumberEnd: 122
      functionDepth:   0
      returnType:      'N/A'
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          297
      EdgeCount:       61
      CyclomaticComplexity: 17
      functionsReached:
        - fprintf
        - getenv
        - hopen
        - kputc
        - kputs
        - kputsn
        - strchr
        - strcspn
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_gcs.c:55,18'
          Dst:             strchr
        - Src:             'hfile_gcs.c:56,9'
          Dst:             kputsn
        - Src:             'hfile_gcs.c:59,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:62,28'
          Dst:             kputc
        - Src:             'hfile_gcs.c:64,21'
          Dst:             strcspn
        - Src:             'hfile_gcs.c:66,5'
          Dst:             kputsn
        - Src:             'hfile_gcs.c:67,9'
          Dst:             strchr
        - Src:             'hfile_gcs.c:67,28'
          Dst:             kputs
        - Src:             'hfile_gcs.c:68,14'
          Dst:             strchr
        - Src:             'hfile_gcs.c:68,33'
          Dst:             kputs
        - Src:             'hfile_gcs.c:69,10'
          Dst:             kputs
        - Src:             'hfile_gcs.c:70,5'
          Dst:             kputs
        - Src:             'hfile_gcs.c:72,5'
          Dst:             kputs
        - Src:             'hfile_gcs.c:75,9'
          Dst:             fprintf
        - Src:             'hfile_gcs.c:78,20'
          Dst:             getenv
        - Src:             'hfile_gcs.c:81,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:82,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:85,30'
          Dst:             getenv
        - Src:             'hfile_gcs.c:88,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:89,9'
          Dst:             kputs
        - Src:             'hfile_gcs.c:94,13'
          Dst:             kputs
        - Src:             'hfile_gcs.c:95,13'
          Dst:             kputc
        - Src:             'hfile_gcs.c:100,18'
          Dst:             hopen
        - Src:             'hfile_gcs.c:111,18'
          Dst:             hopen
        - Src:             'hfile_gcs.c:116,14'
          Dst:             hopen
    - functionName:    gcs_vopen
      functionSourceFile: '/src/htslib/hfile_gcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 131
      functionLinenumberEnd: 138
      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:136,17'
          Dst:             gcs_rewrite
    - functionName:    gcs_open
      functionSourceFile: '/src/htslib/hfile_gcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 126
      functionLinenumberEnd: 127
      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:127,12'
          Dst:             gcs_rewrite
    - functionName:    hfile_plugin_init_gcs
      functionSourceFile: '/src/htslib/hfile_gcs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 142
      functionLinenumberEnd: 159
      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:156,5'
          Dst:             hfile_add_scheme_handler
        - Src:             'hfile_gcs.c:157,5'
          Dst:             hfile_add_scheme_handler
        - Src:             'hfile_gcs.c:158,5'
          Dst:             hfile_add_scheme_handler
    - functionName:    get_upload_id
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1838
      functionLinenumberEnd: 1845
      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:1841,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: 1780
      functionLinenumberEnd: 1834
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         20
      ICount:          206
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - clear_authorisation_values
        - curl_easy_perform
        - curl_easy_setopt
        - curl_slist_free_all
        - ks_free
        - ksprintf
        - response_callback
        - set_html_headers
        - v4_authorisation
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1788,5'
          Dst:             clear_authorisation_values
        - Src:             'hfile_s3.c:1794,9'
          Dst:             v4_authorisation
        - Src:             'hfile_s3.c:1798,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1802,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1806,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1807,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1808,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1809,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1809,12'
          Dst:             response_callback
        - Src:             'hfile_s3.c:1810,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1811,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1811,12'
          Dst:             response_callback
        - Src:             'hfile_s3.c:1812,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1813,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1814,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1819,15'
          Dst:             set_html_headers
        - Src:             'hfile_s3.c:1824,15'
          Dst:             curl_easy_perform
        - Src:             'hfile_s3.c:1831,5'
          Dst:             curl_slist_free_all
        - Src:             'hfile_s3.c:1832,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: 1293
      functionLinenumberEnd: 1302
      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:1297,9'
          Dst:             kputsn
    - functionName:    set_html_headers
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1320
      functionLinenumberEnd: 1361
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          176
      EdgeCount:       42
      CyclomaticComplexity: 13
      functionsReached:
        - add_header
        - curl_easy_setopt
        - curl_slist_free_all
      functionUses:    5
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1328,11'
          Dst:             add_header
        - Src:             'hfile_s3.c:1329,12'
          Dst:             add_header
        - Src:             'hfile_s3.c:1334,20'
          Dst:             add_header
        - Src:             'hfile_s3.c:1337,16'
          Dst:             add_header
        - Src:             'hfile_s3.c:1341,20'
          Dst:             add_header
        - Src:             'hfile_s3.c:1345,20'
          Dst:             add_header
        - Src:             'hfile_s3.c:1349,20'
          Dst:             add_header
        - Src:             'hfile_s3.c:1352,5'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1357,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:    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:    add_header
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1305
      functionLinenumberEnd: 1315
      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:1309,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: 1480
      functionLinenumberEnd: 1543
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         22
      ICount:          224
      EdgeCount:       30
      CyclomaticComplexity: 10
      functionsReached:
        - clear_authorisation_values
        - curl_easy_perform
        - curl_easy_reset
        - curl_easy_setopt
        - curl_slist_free_all
        - kputs
        - ks_free
        - ksprintf
        - response_callback
        - set_html_headers
        - v4_authorisation
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1488,5'
          Dst:             clear_authorisation_values
        - Src:             'hfile_s3.c:1490,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1495,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:1499,9'
          Dst:             v4_authorisation
        - Src:             'hfile_s3.c:1503,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1507,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1511,5'
          Dst:             curl_easy_reset
        - Src:             'hfile_s3.c:1513,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1515,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1516,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1517,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1517,12'
          Dst:             response_callback
        - Src:             'hfile_s3.c:1518,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1519,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1520,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1521,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1526,15'
          Dst:             set_html_headers
        - Src:             'hfile_s3.c:1531,15'
          Dst:             curl_easy_perform
        - Src:             'hfile_s3.c:1538,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1539,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1540,5'
          Dst:             curl_slist_free_all
    - functionName:    s3_write_close
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1683
      functionLinenumberEnd: 1760
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         45
      ICount:          232
      EdgeCount:       59
      CyclomaticComplexity: 16
      functionsReached:
        - __errno_location
        - abort_upload
        - cleanup
        - complete_upload
        - curl_easy_getinfo
        - fprintf
        - get_entry
        - http_status_errno
        - ks_free
        - ksprintf
        - report_s3_error
        - strstr
        - upload_part
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1695,19'
          Dst:             upload_part
        - Src:             'hfile_s3.c:1700,24'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:1703,29'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:1703,21'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1706,25'
          Dst:             get_entry
        - Src:             'hfile_s3.c:1709,25'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1712,25'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1717,13'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1720,17'
          Dst:             abort_upload
        - Src:             'hfile_s3.c:1728,19'
          Dst:             complete_upload
        - Src:             'hfile_s3.c:1731,21'
          Dst:             strstr
        - Src:             'hfile_s3.c:1733,28'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:1737,33'
          Dst:             report_s3_error
        - Src:             'hfile_s3.c:1738,33'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1742,33'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:1742,25'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1751,13'
          Dst:             abort_upload
        - Src:             'hfile_s3.c:1753,13'
          Dst:             cleanup
        - Src:             'hfile_s3.c:1757,5'
          Dst:             ks_free
    - functionName:    upload_part
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1564
      functionLinenumberEnd: 1623
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         20
      ICount:          224
      EdgeCount:       27
      CyclomaticComplexity: 9
      functionsReached:
        - clear_authorisation_values
        - curl_easy_perform
        - curl_easy_reset
        - curl_easy_setopt
        - curl_slist_free_all
        - ks_free
        - ksprintf
        - response_callback
        - set_html_headers
        - upload_callback
        - v4_authorisation
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1572,5'
          Dst:             clear_authorisation_values
        - Src:             'hfile_s3.c:1574,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1578,9'
          Dst:             v4_authorisation
        - Src:             'hfile_s3.c:1582,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1587,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1591,5'
          Dst:             curl_easy_reset
        - Src:             'hfile_s3.c:1593,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1594,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1594,12'
          Dst:             upload_callback
        - Src:             'hfile_s3.c:1595,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1596,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1597,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1597,12'
          Dst:             response_callback
        - Src:             'hfile_s3.c:1598,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1599,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1600,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1601,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1606,15'
          Dst:             set_html_headers
        - Src:             'hfile_s3.c:1611,15'
          Dst:             curl_easy_perform
        - Src:             'hfile_s3.c:1618,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1619,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1620,5'
          Dst:             curl_slist_free_all
    - functionName:    http_status_errno
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1244
      functionLinenumberEnd: 1266
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          98
      EdgeCount:       20
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      BranchProfiles:
        - Branch String:   'hfile_s3.c:1246,9'
          Branch Sides:    []
        - Branch String:   'hfile_s3.c:1253,9'
          Branch Sides:    []
      Callsites:       []
    - functionName:    abort_upload
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1418
      functionLinenumberEnd: 1476
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          181
      EdgeCount:       26
      CyclomaticComplexity: 9
      functionsReached:
        - __errno_location
        - cleanup
        - clear_authorisation_values
        - curl_easy_perform
        - curl_easy_reset
        - curl_easy_setopt
        - curl_slist_free_all
        - ks_free
        - ksprintf
        - set_html_headers
        - v4_authorisation
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1426,18'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1428,5'
          Dst:             clear_authorisation_values
        - Src:             'hfile_s3.c:1430,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1434,9'
          Dst:             v4_authorisation
        - Src:             'hfile_s3.c:1438,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1442,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1446,5'
          Dst:             curl_easy_reset
        - Src:             'hfile_s3.c:1448,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1449,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1450,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1451,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1456,15'
          Dst:             set_html_headers
        - Src:             'hfile_s3.c:1461,15'
          Dst:             curl_easy_perform
        - Src:             'hfile_s3.c:1468,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1469,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1470,5'
          Dst:             curl_slist_free_all
        - Src:             'hfile_s3.c:1473,5'
          Dst:             cleanup
        - Src:             'hfile_s3.c:1475,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: 1287
      functionLinenumberEnd: 1291
      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:1289,5'
          Dst:             free_auth_data
        - Src:             'hfile_s3.c:1290,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: 1277
      functionLinenumberEnd: 1284
      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:1278,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1279,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1280,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1281,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1282,5'
          Dst:             curl_easy_cleanup
        - Src:             'hfile_s3.c:1283,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: 1546
      functionLinenumberEnd: 1560
      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: 1870
      functionLinenumberEnd: 1875
      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:1873,5'
          Dst:             cleanup
    - functionName:    s3_close
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2084
      functionLinenumberEnd: 2094
      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:2089,15'
          Dst:             s3_read_close
        - Src:             'hfile_s3.c:2091,15'
          Dst:             s3_write_close
    - functionName:    s3_seek
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2016
      functionLinenumberEnd: 2068
      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:2027,5'
          Branch Sides:    []
      Callsites:
        - Src:             'hfile_s3.c:2022,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2033,13'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2037,17'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2044,13'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2051,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2064,9'
          Dst:             ks_clear
    - functionName:    s3_write
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1626
      functionLinenumberEnd: 1680
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         28
      ICount:          182
      EdgeCount:       37
      CyclomaticComplexity: 11
      functionsReached:
        - __errno_location
        - abort_upload
        - curl_easy_getinfo
        - fprintf
        - get_entry
        - http_status_errno
        - kputsn
        - ks_free
        - ksprintf
        - upload_part
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1631,9'
          Dst:             kputsn
        - Src:             'hfile_s3.c:1640,15'
          Dst:             upload_part
        - Src:             'hfile_s3.c:1646,20'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:1649,25'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:1649,17'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1652,21'
          Dst:             get_entry
        - Src:             'hfile_s3.c:1653,21'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1656,21'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1659,21'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1664,9'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1667,13'
          Dst:             abort_upload
    - functionName:    s3_read
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1950
      functionLinenumberEnd: 2013
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         44
      ICount:          297
      EdgeCount:       58
      CyclomaticComplexity: 16
      functionsReached:
        - __errno_location
        - curl_easy_getinfo
        - fprintf
        - get_part
        - http_status_errno
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1967,46'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1985,19'
          Dst:             get_part
        - Src:             'hfile_s3.c:1989,33'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:1992,29'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:1992,21'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:1997,46'
          Dst:             fprintf
    - functionName:    get_part
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1879
      functionLinenumberEnd: 1946
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         37
      ICount:          289
      EdgeCount:       50
      CyclomaticComplexity: 15
      functionsReached:
        - clear_authorisation_values
        - curl_easy_perform
        - curl_easy_reset
        - curl_easy_setopt
        - curl_slist_free_all
        - fprintf
        - ks_clear
        - ksprintf
        - recv_callback
        - response_callback
        - set_html_headers
        - v2_authorisation
        - v4_authorisation
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'hfile_s3.c:1885,5'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:1886,5'
          Dst:             clear_authorisation_values
        - Src:             'hfile_s3.c:1889,13'
          Dst:             v4_authorisation
        - Src:             'hfile_s3.c:1893,42'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1895,13'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1899,13'
          Dst:             v2_authorisation
        - Src:             'hfile_s3.c:1903,42'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1906,9'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:1911,9'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1912,9'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1915,5'
          Dst:             curl_easy_reset
        - Src:             'hfile_s3.c:1917,11'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1918,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1918,12'
          Dst:             recv_callback
        - Src:             'hfile_s3.c:1919,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1920,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1921,12'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1924,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1924,16'
          Dst:             response_callback
        - Src:             'hfile_s3.c:1925,16'
          Dst:             curl_easy_setopt
        - Src:             'hfile_s3.c:1931,15'
          Dst:             set_html_headers
        - Src:             'hfile_s3.c:1936,15'
          Dst:             curl_easy_perform
        - Src:             'hfile_s3.c:1943,38'
          Dst:             fprintf
        - Src:             'hfile_s3.c:1944,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: 1855
      functionLinenumberEnd: 1867
      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:1860,13'
          Dst:             kputsn
        - Src:             'hfile_s3.c:1861,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: 1763
      functionLinenumberEnd: 1778
      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:1767,9'
          Dst:             get_entry
        - Src:             'hfile_s3.c:1771,11'
          Dst:             set_region
        - Src:             'hfile_s3.c:1773,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:1775,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: 2075
      functionLinenumberEnd: 2080
      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:2078,5'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2080,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: 1269
      functionLinenumberEnd: 1274
      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:1270,5'
          Dst:             ks_initialize
        - Src:             'hfile_s3.c:1271,5'
          Dst:             ks_initialize
        - Src:             'hfile_s3.c:1272,5'
          Dst:             ks_initialize
        - Src:             'hfile_s3.c:1273,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: 2103
      functionLinenumberEnd: 2228
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         63
      ICount:          350
      EdgeCount:       85
      CyclomaticComplexity: 24
      functionsReached:
        - __errno_location
        - atoi
        - cleanup_local
        - curl_easy_getinfo
        - curl_easy_init
        - 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:2114,22'
          Dst:             hfile_init
        - Src:             'hfile_s3.c:2120,21'
          Dst:             curl_easy_init
        - Src:             'hfile_s3.c:2121,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2127,5'
          Dst:             initialise_local
        - Src:             'hfile_s3.c:2128,5'
          Dst:             initialise_authorisation_values
        - Src:             'hfile_s3.c:2134,16'
          Dst:             getenv
        - Src:             'hfile_s3.c:2135,25'
          Dst:             atoi
        - Src:             'hfile_s3.c:2149,5'
          Dst:             kputs
        - Src:             'hfile_s3.c:2151,24'
          Dst:             strchr
        - Src:             'hfile_s3.c:2155,9'
          Dst:             initialise_upload
        - Src:             'hfile_s3.c:2158,12'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:2162,17'
          Dst:             redirect_endpoint
        - Src:             'hfile_s3.c:2163,17'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2164,17'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2166,21'
          Dst:             initialise_upload
        - Src:             'hfile_s3.c:2170,17'
          Dst:             handle_bad_request
        - Src:             'hfile_s3.c:2171,17'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2172,17'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2174,21'
          Dst:             initialise_upload
        - Src:             'hfile_s3.c:2180,16'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:2191,21'
          Dst:             report_s3_error
        - Src:             'hfile_s3.c:2192,21'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2196,21'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:2196,13'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2202,9'
          Dst:             get_upload_id
        - Src:             'hfile_s3.c:2205,9'
          Dst:             kputs
        - Src:             'hfile_s3.c:2216,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2217,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2222,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2223,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2224,5'
          Dst:             cleanup_local
        - Src:             'hfile_s3.c:2225,5'
          Dst:             free_authorisation_values
        - Src:             'hfile_s3.c:2226,5'
          Dst:             hfile_destroy
    - functionName:    s3_read_open
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2231
      functionLinenumberEnd: 2346
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         56
      ICount:          331
      EdgeCount:       75
      CyclomaticComplexity: 21
      functionsReached:
        - __errno_location
        - atoi
        - cleanup_local
        - curl_easy_getinfo
        - curl_easy_init
        - 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:2239,22'
          Dst:             hfile_init
        - Src:             'hfile_s3.c:2245,21'
          Dst:             curl_easy_init
        - Src:             'hfile_s3.c:2246,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2252,5'
          Dst:             initialise_local
        - Src:             'hfile_s3.c:2253,5'
          Dst:             initialise_authorisation_values
        - Src:             'hfile_s3.c:2258,16'
          Dst:             getenv
        - Src:             'hfile_s3.c:2259,25'
          Dst:             atoi
        - Src:             'hfile_s3.c:2270,5'
          Dst:             kputs
        - Src:             'hfile_s3.c:2272,9'
          Dst:             initialise_download
        - Src:             'hfile_s3.c:2275,12'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:2279,13'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2281,17'
          Dst:             redirect_endpoint
        - Src:             'hfile_s3.c:2282,21'
          Dst:             initialise_download
        - Src:             'hfile_s3.c:2286,13'
          Dst:             ks_clear
        - Src:             'hfile_s3.c:2288,17'
          Dst:             handle_bad_request
        - Src:             'hfile_s3.c:2289,21'
          Dst:             initialise_download
        - Src:             'hfile_s3.c:2295,16'
          Dst:             curl_easy_getinfo
        - Src:             'hfile_s3.c:2306,21'
          Dst:             report_s3_error
        - Src:             'hfile_s3.c:2307,21'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2311,21'
          Dst:             http_status_errno
        - Src:             'hfile_s3.c:2311,13'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2317,9'
          Dst:             get_entry
        - Src:             'hfile_s3.c:2318,9'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2322,18'
          Dst:             strchr
        - Src:             'hfile_s3.c:2323,29'
          Dst:             strtoll
        - Src:             'hfile_s3.c:2334,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2335,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2340,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2341,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2342,5'
          Dst:             cleanup_local
        - Src:             'hfile_s3.c:2343,5'
          Dst:             free_authorisation_values
        - Src:             'hfile_s3.c:2344,5'
          Dst:             hfile_destroy
    - 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: 2375
      functionLinenumberEnd: 2398
      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:2378,24'
          Dst:             setup_auth_data
        - Src:             'hfile_s3.c:2385,38'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2388,15'
          Dst:             s3_read_open
        - Src:             'hfile_s3.c:2390,9'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2393,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2395,9'
          Dst:             free_auth_data
    - functionName:    s3_open_v4
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2349
      functionLinenumberEnd: 2372
      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:2352,24'
          Dst:             setup_auth_data
        - Src:             'hfile_s3.c:2359,38'
          Dst:             fprintf
        - Src:             'hfile_s3.c:2362,15'
          Dst:             s3_read_open
        - Src:             'hfile_s3.c:2364,15'
          Dst:             s3_write_open
        - Src:             'hfile_s3.c:2367,5'
          Dst:             ks_free
        - Src:             'hfile_s3.c:2369,9'
          Dst:             free_auth_data
    - functionName:    s3_exit
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2427
      functionLinenumberEnd: 2434
      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:2428,9'
          Dst:             curl_share_cleanup
        - Src:             'hfile_s3.c:2433,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: 2416
      functionLinenumberEnd: 2423
      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:2421,10'
          Dst:             hopen_s3
    - functionName:    hopen_s3
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2402
      functionLinenumberEnd: 2411
      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:2405,9'
          Dst:             getenv
        - Src:             'hfile_s3.c:2406,14'
          Dst:             s3_open_v4
        - Src:             'hfile_s3.c:2408,14'
          Dst:             s3_open_v2
    - functionName:    hfile_plugin_init_s3
      functionSourceFile: '/src/htslib/hfile_s3.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2437
      functionLinenumberEnd: 2498
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         10
      ICount:          93
      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:2454,27'
          Dst:             hts_version
        - Src:             'hfile_s3.c:2461,11'
          Dst:             curl_global_init
        - Src:             'hfile_s3.c:2468,18'
          Dst:             curl_share_init
        - Src:             'hfile_s3.c:2471,9'
          Dst:             curl_global_cleanup
        - Src:             'hfile_s3.c:2472,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2476,14'
          Dst:             curl_share_setopt
        - Src:             'hfile_s3.c:2476,14'
          Dst:             share_lock
        - Src:             'hfile_s3.c:2477,14'
          Dst:             curl_share_setopt
        - Src:             'hfile_s3.c:2477,14'
          Dst:             share_unlock
        - Src:             'hfile_s3.c:2478,14'
          Dst:             curl_share_setopt
        - Src:             'hfile_s3.c:2481,9'
          Dst:             curl_share_cleanup
        - Src:             'hfile_s3.c:2482,9'
          Dst:             curl_global_cleanup
        - Src:             'hfile_s3.c:2483,9'
          Dst:             __errno_location
        - Src:             'hfile_s3.c:2487,12'
          Dst:             curl_version_info
        - Src:             'hfile_s3.c:2488,5'
          Dst:             ksprintf
        - Src:             'hfile_s3.c:2493,5'
          Dst:             hfile_add_scheme_handler
        - Src:             'hfile_s3.c:2494,5'
          Dst:             hfile_add_scheme_handler
        - Src:             'hfile_s3.c:2495,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,10'
          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:    89
      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: 688
      functionLinenumberEnd: 707
      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:696,15'
          Dst:             deflate
        - Src:             'bgzf.c:698,9'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:698,9'
          Dst:             hts_log
        - Src:             'bgzf.c:702,9'
          Dst:             hts_log
    - functionName:    bgzf_zerr
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 348
      functionLinenumberEnd: 382
      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:362,5'
          Branch Sides:    []
      Callsites:
        - Src:             'bgzf.c:364,25'
          Dst:             __errno_location
        - Src:             'bgzf.c:364,16'
          Dst:             strerror
        - Src:             'bgzf.c:379,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: 1331
      functionLinenumberEnd: 1341
      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:1335,15'
          Dst:             bgzf_compress
    - functionName:    bgzf_compress
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 626
      functionLinenumberEnd: 684
      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:636,9'
          Dst:             u16_to_le
        - Src:             'bgzf.c:637,9'
          Dst:             u16_to_le
        - Src:             'bgzf.c:648,19'
          Dst:             deflateInit2_
        - Src:             'bgzf.c:650,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:650,13'
          Dst:             hts_log
        - Src:             'bgzf.c:653,20'
          Dst:             deflate
        - Src:             'bgzf.c:655,17'
          Dst:             deflateEnd
        - Src:             'bgzf.c:658,17'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:658,17'
          Dst:             hts_log
        - Src:             'bgzf.c:666,13'
          Dst:             deflateEnd
        - Src:             'bgzf.c:669,20'
          Dst:             deflateEnd
        - Src:             'bgzf.c:670,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:670,13'
          Dst:             hts_log
        - Src:             'bgzf.c:678,5'
          Dst:             packInt16
        - Src:             'bgzf.c:680,17'
          Dst:             crc32
        - Src:             'bgzf.c:680,11'
          Dst:             crc32
        - Src:             'bgzf.c:681,5'
          Dst:             packInt32
        - Src:             'bgzf.c:682,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: 298
      functionLinenumberEnd: 301
      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: 309
      functionLinenumberEnd: 314
      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: 1346
      functionLinenumberEnd: 1368
      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:1356,5'
          Dst:             u16_to_le
        - Src:             'bgzf.c:1360,5'
          Dst:             u16_to_le
        - Src:             'bgzf.c:1361,5'
          Dst:             u16_to_le
        - Src:             'bgzf.c:1364,11'
          Dst:             hts_crc32
        - Src:             'bgzf.c:1365,5'
          Dst:             u32_to_le
        - Src:             'bgzf.c:1366,5'
          Dst:             u32_to_le
    - functionName:    hts_crc32
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 621
      functionLinenumberEnd: 622
      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:622,12'
          Dst:             crc32
    - functionName:    bgzf_nul_func
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1391
      functionLinenumberEnd: 1391
      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: 1568
      functionLinenumberEnd: 1576
      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:1571,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1572,15'
          Dst:             bgzf_check_EOF_common
        - Src:             'bgzf.c:1573,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1575,5'
          Dst:             pthread_cond_signal
    - functionName:    bgzf_check_EOF_common
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1545
      functionLinenumberEnd: 1563
      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:1547,20'
          Dst:             htell
        - Src:             'bgzf.c:1548,9'
          Dst:             hseek
        - Src:             'bgzf.c:1549,13'
          Dst:             __errno_location
        - Src:             'bgzf.c:1549,32'
          Dst:             hclearerr
        - Src:             'bgzf.c:1556,13'
          Dst:             __errno_location
        - Src:             'bgzf.c:1556,32'
          Dst:             hclearerr
        - Src:             'bgzf.c:1560,10'
          Dst:             hread
        - Src:             'bgzf.c:1561,10'
          Dst:             hseek
        - Src:             'bgzf.c:1562,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: 1585
      functionLinenumberEnd: 1598
      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:1588,5'
          Dst:             hts_tpool_process_reset
        - Src:             'bgzf.c:1589,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1592,9'
          Dst:             hseek
        - Src:             'bgzf.c:1593,23'
          Dst:             __errno_location
        - Src:             'bgzf.c:1595,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1597,5'
          Dst:             pthread_cond_signal
    - functionName:    job_cleanup
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1323
      functionLinenumberEnd: 1329
      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:1326,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1327,5'
          Dst:             pool_free
        - Src:             'bgzf.c:1328,5'
          Dst:             pthread_mutex_unlock
    - functionName:    bgzf_decode_func
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1374
      functionLinenumberEnd: 1384
      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:1378,20'
          Dst:             le_to_u32
        - Src:             'bgzf.c:1379,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: 765
      functionLinenumberEnd: 805
      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:776,15'
          Dst:             inflateInit2_
        - Src:             'bgzf.c:778,9'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:778,9'
          Dst:             hts_log
        - Src:             'bgzf.c:781,16'
          Dst:             inflate
        - Src:             'bgzf.c:782,9'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:782,9'
          Dst:             hts_log
        - Src:             'bgzf.c:783,20'
          Dst:             inflateEnd
        - Src:             'bgzf.c:784,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:784,13'
          Dst:             hts_log
        - Src:             'bgzf.c:788,16'
          Dst:             inflateEnd
        - Src:             'bgzf.c:789,9'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:789,9'
          Dst:             hts_log
        - Src:             'bgzf.c:794,26'
          Dst:             crc32
        - Src:             'bgzf.c:794,20'
          Dst:             crc32
        - Src:             'bgzf.c:800,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:    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:         52
      ICount:          543
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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: 428
      functionLinenumberEnd: 434
      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:433,9'
          Dst:             strchr
    - functionName:    ed_swap_8
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1592
      functionLinenumberEnd: 1595
      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: 1598
      functionLinenumberEnd: 1600
      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:1599,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: 317
      functionLinenumberEnd: 345
      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:321,29'
          Dst:             strcmp
        - Src:             'bgzf.c:324,22'
          Dst:             hseek
        - Src:             'bgzf.c:325,9'
          Dst:             hread
        - Src:             'bgzf.c:325,39'
          Dst:             hread
        - Src:             'bgzf.c:326,10'
          Dst:             ed_is_big
        - Src:             'bgzf.c:326,23'
          Dst:             ed_swap_8p
        - Src:             'bgzf.c:326,43'
          Dst:             ed_swap_8p
        - Src:             'bgzf.c:329,5'
          Dst:             hts_log
        - Src:             'bgzf.c:340,5'
          Dst:             hts_log
    - functionName:    ed_is_big
      functionSourceFile: '/src/htslib/./htslib/hts.h'
      linkageType:     InternalLinkage
      functionLinenumber: 1568
      functionLinenumberEnd: 1570
      functionDepth:   0
      returnType:      int
      argCount:        0
      argTypes:        []
      constantsTouched: []
      argNames:        []
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    6
      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:    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:    bgzf_hfile
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2622
      functionLinenumberEnd: 2623
      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: 2617
      functionLinenumberEnd: 2618
      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: 2548
      functionLinenumberEnd: 2614
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         46
      ICount:          397
      EdgeCount:       62
      CyclomaticComplexity: 18
      functionsReached:
        - __assert_fail
        - bgzf_read_block
        - bgzf_seek_common
        - hseek
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2562,13'
          Dst:             hseek
        - Src:             'bgzf.c:2570,13'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:2595,9'
          Dst:             bgzf_seek_common
        - Src:             'bgzf.c:2598,10'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:2610,9'
          Dst:             __assert_fail
    - functionName:    bgzf_read_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1006
      functionLinenumberEnd: 1240
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         122
      ICount:          1028
      EdgeCount:       169
      CyclomaticComplexity: 49
      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:1018,13'
          Dst:             hts_tpool_next_result_wait
        - Src:             'bgzf.c:1019,39'
          Dst:             hts_tpool_result_data
        - Src:             'bgzf.c:1023,42'
          Dst:             hts_malloc_p
        - Src:             'bgzf.c:1027,17'
          Dst:             mt_destroy
        - Src:             'bgzf.c:1031,13'
          Dst:             hts_tpool_delete_result
        - Src:             'bgzf.c:1040,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1043,13'
          Dst:             hts_tpool_delete_result
        - Src:             'bgzf.c:1050,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1060,13'
          Dst:             hts_tpool_delete_result
        - Src:             'bgzf.c:1074,13'
          Dst:             bgzf_index_add_block
        - Src:             'bgzf.c:1081,13'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1082,13'
          Dst:             pool_free
        - Src:             'bgzf.c:1083,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1092,9'
          Dst:             hts_tpool_delete_result
        - Src:             'bgzf.c:1103,21'
          Dst:             bgzf_htell
        - Src:             'bgzf.c:1108,17'
          Dst:             hread
        - Src:             'bgzf.c:1111,13'
          Dst:             __errno_location
        - Src:             'bgzf.c:1111,13'
          Dst:             __errno_location
        - Src:             'bgzf.c:1111,13'
          Dst:             strerror
        - Src:             'bgzf.c:1111,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1131,17'
          Dst:             inflate_gzip_block
        - Src:             'bgzf.c:1134,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1143,27'
          Dst:             load_block_from_cache
        - Src:             'bgzf.c:1148,17'
          Dst:             hread
        - Src:             'bgzf.c:1152,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1158,46'
          Dst:             check_header
        - Src:             'bgzf.c:1161,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1171,21'
          Dst:             hread
        - Src:             'bgzf.c:1174,41'
          Dst:             calloc
        - Src:             'bgzf.c:1176,23'
          Dst:             inflateInit2_
        - Src:             'bgzf.c:1179,17'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:1179,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1185,21'
          Dst:             inflate_gzip_block
        - Src:             'bgzf.c:1188,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1199,24'
          Dst:             unpackInt16
        - Src:             'bgzf.c:1202,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1210,17'
          Dst:             hread
        - Src:             'bgzf.c:1212,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1219,22'
          Dst:             inflate_block
        - Src:             'bgzf.c:1220,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:1220,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1228,25'
          Dst:             bgzf_htell
        - Src:             'bgzf.c:1235,9'
          Dst:             bgzf_index_add_block
        - Src:             'bgzf.c:1238,5'
          Dst:             cache_block
    - functionName:    bgzf_seek_common
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2179
      functionLinenumberEnd: 2241
      functionDepth:   0
      returnType:      size_t
      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:2205,13'
          Branch Sides:    []
      Callsites:
        - Src:             'bgzf.c:2194,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:2201,9'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:2202,9'
          Dst:             hts_tpool_wake_dispatch
        - Src:             'bgzf.c:2204,13'
          Dst:             pthread_cond_wait
        - Src:             'bgzf.c:2209,17'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:2212,17'
          Dst:             abort
        - Src:             'bgzf.c:2220,13'
          Dst:             __errno_location
        - Src:             'bgzf.c:2221,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:2229,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:2231,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: 1808
      functionLinenumberEnd: 1851
      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:1812,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1814,5'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1815,5'
          Dst:             hts_tpool_wake_dispatch
        - Src:             'bgzf.c:1816,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1821,13'
          Dst:             hts_tpool_process_is_shutdown
        - Src:             'bgzf.c:1825,5'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1830,5'
          Dst:             pthread_join
        - Src:             'bgzf.c:1833,5'
          Dst:             pthread_mutex_destroy
        - Src:             'bgzf.c:1834,5'
          Dst:             pthread_mutex_destroy
        - Src:             'bgzf.c:1835,5'
          Dst:             pthread_mutex_destroy
        - Src:             'bgzf.c:1836,5'
          Dst:             pthread_cond_destroy
        - Src:             'bgzf.c:1838,9'
          Dst:             pool_free
        - Src:             'bgzf.c:1841,9'
          Dst:             hts_tpool_destroy
        - Src:             'bgzf.c:1843,5'
          Dst:             pool_destroy
        - Src:             'bgzf.c:1849,5'
          Dst:             fflush
    - functionName:    bgzf_index_add_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2357
      functionLinenumberEnd: 2370
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          262
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - hts_realloc_p
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2363,25'
          Dst:             hts_realloc_p
    - functionName:    bgzf_htell
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 994
      functionLinenumberEnd: 1003
      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:996,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:998,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1001,16'
          Dst:             htell
    - functionName:    inflate_gzip_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 831
      functionLinenumberEnd: 894
      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:845,23'
          Dst:             hread
        - Src:             'bgzf.c:859,19'
          Dst:             inflate
        - Src:             'bgzf.c:863,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:863,13'
          Dst:             hts_log
        - Src:             'bgzf.c:871,48'
          Dst:             hpeek
        - Src:             'bgzf.c:873,33'
          Dst:             inflateReset
        - Src:             'bgzf.c:875,21'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:875,21'
          Dst:             hts_log
        - Src:             'bgzf.c:886,13'
          Dst:             hts_log
    - functionName:    load_block_from_cache
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 920
      functionLinenumberEnd: 939
      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:925,9'
          Dst:             kh_get_bgzf_cache
        - Src:             'bgzf.c:932,10'
          Dst:             hseek
        - Src:             'bgzf.c:935,9'
          Dst:             hts_log
        - Src:             'bgzf.c:936,9'
          Dst:             exit
    - functionName:    check_header
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 898
      functionLinenumberEnd: 904
      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:901,16'
          Dst:             unpackInt16
        - Src:             'bgzf.c:903,16'
          Dst:             unpackInt16
    - functionName:    unpackInt16
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 304
      functionLinenumberEnd: 305
      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: 810
      functionLinenumberEnd: 825
      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:812,20'
          Dst:             le_to_u32
        - Src:             'bgzf.c:813,15'
          Dst:             bgzf_uncompress
    - functionName:    cache_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 942
      functionLinenumberEnd: 986
      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:970,13'
          Dst:             kh_del_bgzf_cache
        - Src:             'bgzf.c:976,9'
          Dst:             kh_put_bgzf_cache
    - 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:    3
      BranchProfiles:  []
      Callsites:
        - Src:             './htslib/hts_alloc.h:295,19'
          Dst:             hts_prod_sat2
        - Src:             './htslib/hts_alloc.h:296,12'
          Dst:             hts_realloc
    - functionName:    bgzf_index_load
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2510
      functionLinenumberEnd: 2545
      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:2516,15'
          Dst:             get_name_suffix
        - Src:             'bgzf.c:2521,11'
          Dst:             hopen
        - Src:             'bgzf.c:2527,9'
          Dst:             bgzf_index_load_hfile
        - Src:             'bgzf.c:2529,9'
          Dst:             hclose
        - Src:             'bgzf.c:2540,9'
          Dst:             __errno_location
        - Src:             'bgzf.c:2540,9'
          Dst:             strerror
        - Src:             'bgzf.c:2540,9'
          Dst:             hts_log
        - Src:             'bgzf.c:2542,14'
          Dst:             hclose_abruptly
    - functionName:    get_name_suffix
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2380
      functionLinenumberEnd: 2386
      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:2381,18'
          Dst:             strlen
        - Src:             'bgzf.c:2381,34'
          Dst:             strlen
        - Src:             'bgzf.c:2384,5'
          Dst:             snprintf
    - functionName:    bgzf_index_load_hfile
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2476
      functionLinenumberEnd: 2507
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          209
      EdgeCount:       36
      CyclomaticComplexity: 11
      functionsReached:
        - __errno_location
        - calloc
        - hread_uint64
        - hts_log
        - strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2477,27'
          Dst:             calloc
        - Src:             'bgzf.c:2480,9'
          Dst:             hread_uint64
        - Src:             'bgzf.c:2493,13'
          Dst:             hread_uint64
        - Src:             'bgzf.c:2494,13'
          Dst:             hread_uint64
        - Src:             'bgzf.c:2500,5'
          Dst:             __errno_location
        - Src:             'bgzf.c:2500,5'
          Dst:             strerror
        - Src:             'bgzf.c:2500,5'
          Dst:             hts_log
    - functionName:    hread_uint64
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2469
      functionLinenumberEnd: 2473
      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:2470,9'
          Dst:             hread
        - Src:             'bgzf.c:2471,9'
          Dst:             ed_is_big
        - Src:             'bgzf.c:2471,22'
          Dst:             ed_swap_8p
    - functionName:    bgzf_index_dump
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2423
      functionLinenumberEnd: 2466
      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:2429,9'
          Dst:             hts_log
        - Src:             'bgzf.c:2430,9'
          Dst:             __errno_location
        - Src:             'bgzf.c:2436,15'
          Dst:             get_name_suffix
        - Src:             'bgzf.c:2441,11'
          Dst:             hopen
        - Src:             'bgzf.c:2447,9'
          Dst:             bgzf_index_dump_hfile
        - Src:             'bgzf.c:2449,9'
          Dst:             hclose
        - Src:             'bgzf.c:2461,9'
          Dst:             __errno_location
        - Src:             'bgzf.c:2461,9'
          Dst:             strerror
        - Src:             'bgzf.c:2461,9'
          Dst:             hts_log
        - Src:             'bgzf.c:2463,14'
          Dst:             hclose_abruptly
    - functionName:    bgzf_index_dump_hfile
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2389
      functionLinenumberEnd: 2420
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          198
      EdgeCount:       43
      CyclomaticComplexity: 13
      functionsReached:
        - __errno_location
        - bgzf_flush
        - hts_log
        - hwrite_uint64
        - strerror
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2397,9'
          Dst:             hts_log
        - Src:             'bgzf.c:2398,9'
          Dst:             __errno_location
        - Src:             'bgzf.c:2402,9'
          Dst:             bgzf_flush
        - Src:             'bgzf.c:2408,9'
          Dst:             hwrite_uint64
        - Src:             'bgzf.c:2412,13'
          Dst:             hwrite_uint64
        - Src:             'bgzf.c:2413,13'
          Dst:             hwrite_uint64
        - Src:             'bgzf.c:2418,5'
          Dst:             __errno_location
        - Src:             'bgzf.c:2418,5'
          Dst:             strerror
        - Src:             'bgzf.c:2418,5'
          Dst:             hts_log
    - functionName:    bgzf_flush
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1952
      functionLinenumberEnd: 1996
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         26
      ICount:          200
      EdgeCount:       35
      CyclomaticComplexity: 11
      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:1957,37'
          Dst:             mt_queue
        - Src:             'bgzf.c:1958,25'
          Dst:             mt_flush_queue
        - Src:             'bgzf.c:1964,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1966,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1973,16'
          Dst:             hflush
        - Src:             'bgzf.c:1980,13'
          Dst:             bgzf_index_add_block
        - Src:             'bgzf.c:1983,24'
          Dst:             deflate_block
        - Src:             'bgzf.c:1985,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:1985,13'
          Dst:             hts_log
        - Src:             'bgzf.c:1988,13'
          Dst:             hwrite
        - Src:             'bgzf.c:1989,13'
          Dst:             hts_log
    - functionName:    hwrite_uint64
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2373
      functionLinenumberEnd: 2377
      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:2374,9'
          Dst:             ed_is_big
        - Src:             'bgzf.c:2374,26'
          Dst:             ed_swap_8
        - Src:             'bgzf.c:2375,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: 1855
      functionLinenumberEnd: 1897
      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:1861,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1862,19'
          Dst:             pool_alloc
        - Src:             'bgzf.c:1864,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1873,13'
          Dst:             hts_tpool_dispatch3
        - Src:             'bgzf.c:1873,13'
          Dst:             bgzf_encode_level0_func
        - Src:             'bgzf.c:1873,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1873,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1882,13'
          Dst:             hts_tpool_dispatch3
        - Src:             'bgzf.c:1882,13'
          Dst:             bgzf_encode_func
        - Src:             'bgzf.c:1882,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1882,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1892,5'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1893,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1895,5'
          Dst:             pthread_mutex_unlock
    - functionName:    mt_flush_queue
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1900
      functionLinenumberEnd: 1927
      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:1908,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1911,25'
          Dst:             hts_tpool_process_is_shutdown
        - Src:             'bgzf.c:1913,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1914,9'
          Dst:             hts_usleep
        - Src:             'bgzf.c:1915,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1917,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1923,9'
          Dst:             hts_tpool_process_flush
    - functionName:    deflate_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 711
      functionLinenumberEnd: 727
      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:715,15'
          Dst:             bgzf_compress
        - Src:             'bgzf.c:717,15'
          Dst:             bgzf_gzip_compress
        - Src:             'bgzf.c:721,9'
          Dst:             hts_log
    - functionName:    bgzf_index_build_init
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2348
      functionLinenumberEnd: 2354
      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:2349,5'
          Dst:             bgzf_index_destroy
        - Src:             'bgzf.c:2350,27'
          Dst:             calloc
    - functionName:    bgzf_index_destroy
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2339
      functionLinenumberEnd: 2345
      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: 2302
      functionLinenumberEnd: 2336
      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:2307,17'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:2314,19'
          Dst:             memchr
        - Src:             'bgzf.c:2320,13'
          Dst:             ks_expand
        - Src:             'bgzf.c:2325,33'
          Dst:             bgzf_htell
    - functionName:    bgzf_getc
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2280
      functionLinenumberEnd: 2299
      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:2288,13'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:2293,29'
          Dst:             bgzf_htell
    - functionName:    bgzf_compression
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2275
      functionLinenumberEnd: 2276
      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: 2263
      functionLinenumberEnd: 2272
      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:2267,15'
          Dst:             hopen
        - Src:             'bgzf.c:2268,9'
          Dst:             hread
        - Src:             'bgzf.c:2269,9'
          Dst:             hclose
        - Src:             'bgzf.c:2271,12'
          Dst:             check_header
    - functionName:    bgzf_seek
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2244
      functionLinenumberEnd: 2260
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - size_t
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         11
      ICount:          75
      EdgeCount:       14
      CyclomaticComplexity: 5
      functionsReached:
        - bgzf_seek_common
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2259,12'
          Dst:             bgzf_seek_common
    - functionName:    bgzf_check_EOF
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2134
      functionLinenumberEnd: 2175
      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:2153,13'
          Branch Sides:    []
      Callsites:
        - Src:             'bgzf.c:2138,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:2144,9'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:2145,9'
          Dst:             hts_tpool_wake_dispatch
        - Src:             'bgzf.c:2149,17'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:2152,13'
          Dst:             pthread_cond_wait
        - Src:             'bgzf.c:2157,17'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:2162,17'
          Dst:             abort
        - Src:             'bgzf.c:2167,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:2169,19'
          Dst:             bgzf_check_EOF_common
    - functionName:    bgzf_set_cache_size
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2129
      functionLinenumberEnd: 2132
      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: 907
      functionLinenumberEnd: 917
      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:913,9'
          Dst:             kh_destroy_bgzf_cache
        - Src:             'bgzf.c:915,5'
          Dst:             bgzf_clear_private_data
    - functionName:    bgzf_close_mt
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2073
      functionLinenumberEnd: 2080
      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:2077,13'
          Dst:             mt_destroy
    - functionName:    bgzf_close
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2083
      functionLinenumberEnd: 2126
      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:2087,13'
          Dst:             bgzf_flush
        - Src:             'bgzf.c:2088,13'
          Dst:             bgzf_close_mt
        - Src:             'bgzf.c:2092,24'
          Dst:             deflate_block
        - Src:             'bgzf.c:2094,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:2094,13'
          Dst:             hts_log
        - Src:             'bgzf.c:2095,13'
          Dst:             bgzf_close_mt
        - Src:             'bgzf.c:2098,13'
          Dst:             hwrite
        - Src:             'bgzf.c:2099,16'
          Dst:             hflush
        - Src:             'bgzf.c:2100,13'
          Dst:             hts_log
        - Src:             'bgzf.c:2106,5'
          Dst:             bgzf_close_mt
        - Src:             'bgzf.c:2111,39'
          Dst:             inflateEnd
        - Src:             'bgzf.c:2112,20'
          Dst:             deflateEnd
        - Src:             'bgzf.c:2114,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:2114,13'
          Dst:             hts_log
        - Src:             'bgzf.c:2118,11'
          Dst:             hclose
        - Src:             'bgzf.c:2120,5'
          Dst:             bgzf_index_destroy
        - Src:             'bgzf.c:2122,5'
          Dst:             free_cache
    - functionName:    bgzf_raw_write
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2066
      functionLinenumberEnd: 2069
      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:2067,19'
          Dst:             hwrite
    - functionName:    bgzf_block_write
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2032
      functionLinenumberEnd: 2062
      functionDepth:   0
      returnType:      size_t
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          254
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - __assert_fail
        - hwrite
        - lazy_flush
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'bgzf.c:2037,16'
          Dst:             hwrite
        - Src:             'bgzf.c:2042,5'
          Dst:             __assert_fail
        - Src:             'bgzf.c:2056,17'
          Dst:             lazy_flush
    - functionName:    lazy_flush
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1930
      functionLinenumberEnd: 1935
      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:1932,35'
          Dst:             mt_queue
        - Src:             'bgzf.c:1934,16'
          Dst:             bgzf_flush
    - functionName:    bgzf_write
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2005
      functionLinenumberEnd: 2029
      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:2010,16'
          Dst:             hwrite
        - Src:             'bgzf.c:2015,5'
          Dst:             __assert_fail
        - Src:             'bgzf.c:2025,17'
          Dst:             lazy_flush
    - functionName:    bgzf_flush_try
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1999
      functionLinenumberEnd: 2002
      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:2000,59'
          Dst:             lazy_flush
    - functionName:    bgzf_mt
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1786
      functionLinenumberEnd: 1805
      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:1792,20'
          Dst:             hts_tpool_init
        - Src:             'bgzf.c:1797,16'
          Dst:             bgzf_thread_pool
        - Src:             'bgzf.c:1798,9'
          Dst:             hts_tpool_destroy
    - functionName:    bgzf_thread_pool
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1742
      functionLinenumberEnd: 1783
      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:1750,20'
          Dst:             calloc
        - Src:             'bgzf.c:1755,21'
          Dst:             hts_tpool_size
        - Src:             'bgzf.c:1758,27'
          Dst:             hts_tpool_process_init
        - Src:             'bgzf.c:1760,5'
          Dst:             hts_tpool_process_ref_incr
        - Src:             'bgzf.c:1762,20'
          Dst:             pool_create
        - Src:             'bgzf.c:1766,5'
          Dst:             pthread_mutex_init
        - Src:             'bgzf.c:1767,5'
          Dst:             pthread_mutex_init
        - Src:             'bgzf.c:1768,5'
          Dst:             pthread_mutex_init
        - Src:             'bgzf.c:1769,5'
          Dst:             pthread_cond_init
        - Src:             'bgzf.c:1774,5'
          Dst:             pthread_create
    - functionName:    bgzf_mt_writer
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1399
      functionLinenumberEnd: 1475
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         38
      ICount:          499
      EdgeCount:       50
      CyclomaticComplexity: 14
      functionsReached:
        - __assert_fail
        - bgzf_idx_flush
        - calloc
        - hflush
        - hts_realloc_p
        - 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:1406,38'
          Dst:             calloc
        - Src:             'bgzf.c:1411,17'
          Dst:             hts_tpool_next_result_wait
        - Src:             'bgzf.c:1412,35'
          Dst:             hts_tpool_result_data
        - Src:             'bgzf.c:1413,9'
          Dst:             __assert_fail
        - Src:             'bgzf.c:1421,33'
          Dst:             hts_realloc_p
        - Src:             'bgzf.c:1430,13'
          Dst:             bgzf_idx_flush
        - Src:             'bgzf.c:1433,13'
          Dst:             hwrite
        - Src:             'bgzf.c:1438,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1440,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1452,17'
          Dst:             hflush
        - Src:             'bgzf.c:1456,9'
          Dst:             hts_tpool_delete_result
        - Src:             'bgzf.c:1459,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1460,9'
          Dst:             pool_free
        - Src:             'bgzf.c:1462,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1465,9'
          Dst:             hflush
        - Src:             'bgzf.c:1468,5'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1473,5'
          Dst:             hts_tpool_process_destroy
    - functionName:    bgzf_mt_reader
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1600
      functionLinenumberEnd: 1740
      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:1625,9'
          Branch Sides:    []
        - Branch String:   'bgzf.c:1704,9'
          Branch Sides:    []
      Callsites:
        - Src:             'bgzf.c:1605,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1606,19'
          Dst:             pool_alloc
        - Src:             'bgzf.c:1607,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1615,12'
          Dst:             bgzf_mt_read_block
        - Src:             'bgzf.c:1617,13'
          Dst:             hts_tpool_dispatch3
        - Src:             'bgzf.c:1617,13'
          Dst:             bgzf_decode_func
        - Src:             'bgzf.c:1617,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1617,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1619,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1624,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1627,13'
          Dst:             bgzf_mt_seek
        - Src:             'bgzf.c:1628,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1632,13'
          Dst:             bgzf_mt_eof
        - Src:             'bgzf.c:1637,13'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1641,13'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1642,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1643,13'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1649,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1652,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1653,13'
          Dst:             pool_alloc
        - Src:             'bgzf.c:1654,9'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1656,13'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1669,13'
          Dst:             hts_tpool_dispatch3
        - Src:             'bgzf.c:1669,13'
          Dst:             bgzf_nul_func
        - Src:             'bgzf.c:1669,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1669,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1671,13'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1672,13'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1675,9'
          Dst:             hts_tpool_process_ref_decr
        - Src:             'bgzf.c:1684,9'
          Dst:             hts_tpool_dispatch3
        - Src:             'bgzf.c:1684,9'
          Dst:             bgzf_nul_func
        - Src:             'bgzf.c:1684,9'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1684,9'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1686,9'
          Dst:             job_cleanup
        - Src:             'bgzf.c:1687,9'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1691,9'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1701,9'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1703,13'
          Dst:             pthread_cond_wait
        - Src:             'bgzf.c:1706,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1710,13'
          Dst:             bgzf_mt_seek
        - Src:             'bgzf.c:1711,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1715,13'
          Dst:             bgzf_mt_eof
        - Src:             'bgzf.c:1716,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1721,13'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1722,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1726,13'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1727,13'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1728,13'
          Dst:             hts_tpool_process_destroy
        - Src:             'bgzf.c:1734,5'
          Dst:             pthread_mutex_lock
        - Src:             'bgzf.c:1736,5'
          Dst:             pthread_cond_signal
        - Src:             'bgzf.c:1737,5'
          Dst:             pthread_mutex_unlock
        - Src:             'bgzf.c:1738,5'
          Dst:             hts_tpool_process_destroy
    - functionName:    bgzf_mt_read_block
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1488
      functionLinenumberEnd: 1541
      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:1498,21'
          Dst:             htell
        - Src:             'bgzf.c:1502,27'
          Dst:             load_block_from_cache
        - Src:             'bgzf.c:1503,13'
          Dst:             hpeek
        - Src:             'bgzf.c:1507,42'
          Dst:             check_header
        - Src:             'bgzf.c:1517,13'
          Dst:             hread
        - Src:             'bgzf.c:1521,20'
          Dst:             unpackInt16
        - Src:             'bgzf.c:1529,13'
          Dst:             hread
    - functionName:    bgzf_raw_read
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1312
      functionLinenumberEnd: 1315
      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:1313,19'
          Dst:             hread
    - functionName:    bgzf_peek
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1295
      functionLinenumberEnd: 1309
      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:1298,13'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:1299,13'
          Dst:             hts_log
    - functionName:    bgzf_read
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1243
      functionLinenumberEnd: 1292
      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:1247,5'
          Dst:             __assert_fail
        - Src:             'bgzf.c:1252,23'
          Dst:             bgzf_read_block
        - Src:             'bgzf.c:1254,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1264,37'
          Dst:             bgzf_htell
        - Src:             'bgzf.c:1269,17'
          Dst:             hts_log
        - Src:             'bgzf.c:1284,33'
          Dst:             bgzf_htell
    - functionName:    bgzf_hopen
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 541
      functionLinenumberEnd: 555
      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:543,9'
          Dst:             strchr
        - Src:             'bgzf.c:544,14'
          Dst:             bgzf_read_init
        - Src:             'bgzf.c:546,16'
          Dst:             strchr
        - Src:             'bgzf.c:546,37'
          Dst:             strchr
        - Src:             'bgzf.c:547,14'
          Dst:             bgzf_write_init
        - Src:             'bgzf.c:550,12'
          Dst:             __errno_location
        - Src:             'bgzf.c:553,17'
          Dst:             ed_is_big
    - functionName:    bgzf_read_init
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 385
      functionLinenumberEnd: 424
      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:388,17'
          Dst:             hpeek
        - Src:             'bgzf.c:391,17'
          Dst:             calloc
        - Src:             'bgzf.c:395,30'
          Dst:             hts_malloc_p
        - Src:             'bgzf.c:399,60'
          Dst:             memcmp
        - Src:             'bgzf.c:400,46'
          Dst:             memcmp
        - Src:             'bgzf.c:401,9'
          Dst:             hts_log
        - Src:             'bgzf.c:402,9'
          Dst:             razf_info
        - Src:             'bgzf.c:405,9'
          Dst:             __errno_location
        - Src:             'bgzf.c:414,26'
          Dst:             kh_init_bgzf_cache
    - functionName:    bgzf_write_init
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 437
      functionLinenumberEnd: 494
      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:439,17'
          Dst:             calloc
        - Src:             'bgzf.c:451,26'
          Dst:             mode2level
        - Src:             'bgzf.c:459,30'
          Dst:             hts_malloc_p
        - Src:             'bgzf.c:465,10'
          Dst:             strchr
        - Src:             'bgzf.c:469,36'
          Dst:             calloc
        - Src:             'bgzf.c:475,19'
          Dst:             deflateInit2_
        - Src:             'bgzf.c:477,13'
          Dst:             bgzf_zerr
        - Src:             'bgzf.c:477,13'
          Dst:             hts_log
        - Src:             'bgzf.c:484,5'
          Dst:             __errno_location
        - Src:             'bgzf.c:484,5'
          Dst:             strerror
        - Src:             'bgzf.c:484,5'
          Dst:             hts_log
    - functionName:    bgzf_dopen
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 519
      functionLinenumberEnd: 538
      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:521,9'
          Dst:             strchr
        - Src:             'bgzf.c:523,20'
          Dst:             hdopen
        - Src:             'bgzf.c:524,14'
          Dst:             bgzf_read_init
        - Src:             'bgzf.c:525,24'
          Dst:             hclose_abruptly
        - Src:             'bgzf.c:527,16'
          Dst:             strchr
        - Src:             'bgzf.c:527,37'
          Dst:             strchr
        - Src:             'bgzf.c:529,20'
          Dst:             hdopen
        - Src:             'bgzf.c:530,14'
          Dst:             bgzf_write_init
        - Src:             'bgzf.c:534,12'
          Dst:             __errno_location
        - Src:             'bgzf.c:536,17'
          Dst:             ed_is_big
    - functionName:    bgzf_open
      functionSourceFile: '/src/htslib/bgzf.c'
      linkageType:     InternalLinkage
      functionLinenumber: 497
      functionLinenumberEnd: 516
      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:499,9'
          Dst:             strchr
        - Src:             'bgzf.c:501,20'
          Dst:             hopen
        - Src:             'bgzf.c:502,14'
          Dst:             bgzf_read_init
        - Src:             'bgzf.c:503,24'
          Dst:             hclose_abruptly
        - Src:             'bgzf.c:505,16'
          Dst:             strchr
        - Src:             'bgzf.c:505,37'
          Dst:             strchr
        - Src:             'bgzf.c:507,20'
          Dst:             hopen
        - Src:             'bgzf.c:508,14'
          Dst:             bgzf_write_init
        - Src:             'bgzf.c:512,12'
          Dst:             __errno_location
        - Src:             'bgzf.c:514,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: 400
      functionLinenumberEnd: 466
      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:405,21'
          Dst:             calloc
        - Src:             'faidx.c:408,17'
          Dst:             kh_init_s
        - Src:             'faidx.c:411,18'
          Dst:             calloc
        - Src:             'faidx.c:414,17'
          Dst:             hgetln
        - Src:             'faidx.c:421,30'
          Dst:             isspace_c
        - Src:             'faidx.c:428,17'
          Dst:             __isoc99_sscanf
        - Src:             'faidx.c:431,17'
          Dst:             hts_log
        - Src:             'faidx.c:435,17'
          Dst:             __isoc99_sscanf
        - Src:             'faidx.c:439,21'
          Dst:             hts_log
        - Src:             'faidx.c:441,21'
          Dst:             hts_log
        - Src:             'faidx.c:448,13'
          Dst:             fai_insert_index
        - Src:             'faidx.c:456,9'
          Dst:             __errno_location
        - Src:             'faidx.c:456,9'
          Dst:             strerror
        - Src:             'faidx.c:456,9'
          Dst:             hts_log
        - Src:             'faidx.c:464,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: 147
      functionDepth:   0
      returnType:      int
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
        - size_t
        - size_t
        - size_t
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          222
      EdgeCount:       34
      CyclomaticComplexity: 11
      functionsReached:
        - hts_log
        - hts_realloc_p
        - kh_put_s
        - strdup
      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:118,22'
          Dst:             strdup
        - Src:             'faidx.c:120,17'
          Dst:             kh_put_s
        - Src:             'faidx.c:124,9'
          Dst:             hts_log
        - Src:             'faidx.c:132,21'
          Dst:             hts_realloc_p
        - Src:             'faidx.c:133,13'
          Dst:             hts_log
    - functionName:    fai_destroy
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 469
      functionLinenumberEnd: 477
      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:474,5'
          Dst:             kh_destroy_s
        - Src:             'faidx.c:475,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:    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:    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:    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:         52
      ICount:          537
      EdgeCount:       68
      CyclomaticComplexity: 18
      functionsReached:
        - __ac_FNV1a_hash_string
        - realloc
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - 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: 467
      functionLinenumberEnd: 472
      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:    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: 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:    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: 370
      functionLinenumberEnd: 396
      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:377,13'
          Dst:             kh_get_s
        - Src:             'faidx.c:378,9'
          Dst:             __assert_fail
        - Src:             'faidx.c:382,13'
          Dst:             snprintf
        - Src:             'faidx.c:386,13'
          Dst:             snprintf
        - Src:             'faidx.c:392,13'
          Dst:             hputs
        - Src:             'faidx.c:393,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: 150
      functionLinenumberEnd: 367
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         154
      ICount:          799
      EdgeCount:       200
      CyclomaticComplexity: 48
      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:167,9'
          Branch Sides:    []
        - Branch String:   'faidx.c:169,17'
          Branch Sides:    []
      Callsites:
        - Src:             'faidx.c:159,21'
          Dst:             calloc
        - Src:             'faidx.c:160,17'
          Dst:             kh_init_s
        - Src:             'faidx.c:166,17'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:172,29'
          Dst:             hts_log
        - Src:             'faidx.c:182,29'
          Dst:             hts_log
        - Src:             'faidx.c:192,34'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:195,29'
          Dst:             hts_log
        - Src:             'faidx.c:207,25'
          Dst:             __ctype_b_loc
        - Src:             'faidx.c:207,25'
          Dst:             hts_log
        - Src:             'faidx.c:215,25'
          Dst:             fai_insert_index
        - Src:             'faidx.c:224,26'
          Dst:             __ctype_b_loc
        - Src:             'faidx.c:225,25'
          Dst:             kputc
        - Src:             'faidx.c:229,31'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:231,17'
          Dst:             kputsn
        - Src:             'faidx.c:234,21'
          Dst:             hts_log
        - Src:             'faidx.c:239,44'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:242,30'
          Dst:             bgzf_utell
        - Src:             'faidx.c:259,52'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:260,39'
          Dst:             bgzf_utell
        - Src:             'faidx.c:264,25'
          Dst:             hts_log
        - Src:             'faidx.c:275,25'
          Dst:             isgraph_
        - Src:             'faidx.c:276,31'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:291,21'
          Dst:             hts_log
        - Src:             'faidx.c:301,33'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:302,35'
          Dst:             bgzf_utell
        - Src:             'faidx.c:305,21'
          Dst:             hts_log
        - Src:             'faidx.c:313,25'
          Dst:             hts_log
        - Src:             'faidx.c:329,25'
          Dst:             isgraph_
        - Src:             'faidx.c:330,31'
          Dst:             bgzf_getc_
        - Src:             'faidx.c:335,21'
          Dst:             hts_log
        - Src:             'faidx.c:340,21'
          Dst:             hts_log
        - Src:             'faidx.c:343,21'
          Dst:             hts_log
        - Src:             'faidx.c:353,13'
          Dst:             fai_insert_index
        - Src:             'faidx.c:356,9'
          Dst:             hts_log
        - Src:             'faidx.c:365,5'
          Dst:             fai_destroy
    - functionName:    fai_path
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1062
      functionLinenumberEnd: 1090
      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:1065,9'
          Dst:             hts_log
        - Src:             'faidx.c:1067,25'
          Dst:             strstr
        - Src:             'faidx.c:1070,19'
          Dst:             strdup
        - Src:             'faidx.c:1072,17'
          Dst:             hts_log
        - Src:             'faidx.c:1074,17'
          Dst:             hisremote
        - Src:             'faidx.c:1075,23'
          Dst:             hts_idx_locatefn
        - Src:             'faidx.c:1077,21'
          Dst:             hts_log
        - Src:             'faidx.c:1079,21'
          Dst:             hts_idx_check_local
        - Src:             'faidx.c:1080,25'
          Dst:             fai_build3
        - Src:             'faidx.c:1081,25'
          Dst:             hts_log
    - functionName:    fai_build3
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 577
      functionLinenumberEnd: 578
      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:578,12'
          Dst:             fai_build3_core
    - functionName:    fai_build3_core
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 481
      functionLinenumberEnd: 574
      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:490,12'
          Dst:             bgzf_open
        - Src:             'faidx.c:493,9'
          Dst:             __errno_location
        - Src:             'faidx.c:493,9'
          Dst:             strerror
        - Src:             'faidx.c:493,9'
          Dst:             hts_log
        - Src:             'faidx.c:498,13'
          Dst:             bgzf_index_build_init
        - Src:             'faidx.c:499,13'
          Dst:             hts_log
        - Src:             'faidx.c:504,11'
          Dst:             fai_build_core
        - Src:             'faidx.c:508,13'
          Dst:             hts_log
        - Src:             'faidx.c:520,13'
          Dst:             ksprintf
        - Src:             'faidx.c:525,13'
          Dst:             ksprintf
        - Src:             'faidx.c:530,13'
          Dst:             bgzf_index_dump
        - Src:             'faidx.c:531,13'
          Dst:             hts_log
        - Src:             'faidx.c:536,11'
          Dst:             bgzf_close
        - Src:             'faidx.c:540,9'
          Dst:             __errno_location
        - Src:             'faidx.c:540,9'
          Dst:             strerror
        - Src:             'faidx.c:540,9'
          Dst:             hts_log
        - Src:             'faidx.c:544,10'
          Dst:             hopen
        - Src:             'faidx.c:547,9'
          Dst:             __errno_location
        - Src:             'faidx.c:547,9'
          Dst:             strerror
        - Src:             'faidx.c:547,9'
          Dst:             hts_log
        - Src:             'faidx.c:551,9'
          Dst:             fai_save
        - Src:             'faidx.c:552,9'
          Dst:             __errno_location
        - Src:             'faidx.c:552,9'
          Dst:             strerror
        - Src:             'faidx.c:552,9'
          Dst:             hts_log
        - Src:             'faidx.c:556,9'
          Dst:             hclose
        - Src:             'faidx.c:557,9'
          Dst:             __errno_location
        - Src:             'faidx.c:557,9'
          Dst:             strerror
        - Src:             'faidx.c:557,9'
          Dst:             hts_log
        - Src:             'faidx.c:563,5'
          Dst:             fai_destroy
        - Src:             'faidx.c:567,18'
          Dst:             __errno_location
        - Src:             'faidx.c:570,5'
          Dst:             bgzf_close
        - Src:             'faidx.c:571,5'
          Dst:             fai_destroy
        - Src:             'faidx.c:572,5'
          Dst:             __errno_location
    - functionName:    fai_thread_pool
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1058
      functionLinenumberEnd: 1059
      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:1059,12'
          Dst:             bgzf_thread_pool
    - functionName:    fai_set_cache_size
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1053
      functionLinenumberEnd: 1055
      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:1054,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: 1049
      functionLinenumberEnd: 1050
      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:1050,12'
          Dst:             hts_parse_region
        - Src:             'faidx.c:1050,12'
          Dst:             fai_name2id
    - functionName:    faidx_has_seq
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1040
      functionLinenumberEnd: 1044
      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:1041,21'
          Dst:             kh_get_s
    - functionName:    faidx_fetch_qual
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1032
      functionLinenumberEnd: 1036
      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:1034,17'
          Dst:             faidx_fetch_qual64
    - functionName:    faidx_fetch_qual64
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1019
      functionLinenumberEnd: 1029
      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:1023,9'
          Dst:             faidx_adjust_position
        - Src:             'faidx.c:1028,12'
          Dst:             fai_retrieve
    - functionName:    faidx_adjust_position
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 942
      functionLinenumberEnd: 975
      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:947,12'
          Dst:             kh_get_s
        - Src:             'faidx.c:952,9'
          Dst:             hts_log
    - functionName:    fai_retrieve
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 737
      functionLinenumberEnd: 818
      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:743,9'
          Dst:             hts_log
        - Src:             'faidx.c:749,9'
          Dst:             hts_log
        - Src:             'faidx.c:756,11'
          Dst:             bgzf_useek
        - Src:             'faidx.c:763,9'
          Dst:             hts_log
        - Src:             'faidx.c:768,25'
          Dst:             hts_add_sat3
        - Src:             'faidx.c:768,14'
          Dst:             hts_malloc
        - Src:             'faidx.c:779,17'
          Dst:             bgzf_read_small
        - Src:             'faidx.c:790,13'
          Dst:             bgzf_read_small
        - Src:             'faidx.c:797,17'
          Dst:             bgzf_read_small
        - Src:             'faidx.c:804,17'
          Dst:             bgzf_read_small
        - Src:             'faidx.c:813,5'
          Dst:             hts_log
    - functionName:    faidx_fetch_seq
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1011
      functionLinenumberEnd: 1015
      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:1013,17'
          Dst:             faidx_fetch_seq64
    - functionName:    faidx_fetch_seq64
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 998
      functionLinenumberEnd: 1008
      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:1002,9'
          Dst:             faidx_adjust_position
        - Src:             'faidx.c:1007,12'
          Dst:             fai_retrieve
    - functionName:    fai_adjust_region
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 979
      functionLinenumberEnd: 995
      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:987,9'
          Dst:             faidx_adjust_position
        - Src:             'faidx.c:988,9'
          Dst:             hts_log
    - functionName:    faidx_seq_len
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 934
      functionLinenumberEnd: 936
      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:935,21'
          Dst:             faidx_seq_len64
    - functionName:    faidx_seq_len64
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 927
      functionLinenumberEnd: 931
      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:928,17'
          Dst:             kh_get_s
    - functionName:    faidx_iseq
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 922
      functionLinenumberEnd: 923
      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: 917
      functionLinenumberEnd: 918
      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: 912
      functionLinenumberEnd: 913
      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: 904
      functionLinenumberEnd: 908
      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:906,17'
          Dst:             fai_fetchqual64
    - functionName:    fai_fetchqual64
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 892
      functionLinenumberEnd: 902
      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:896,9'
          Dst:             fai_get_val
        - Src:             'faidx.c:901,12'
          Dst:             fai_retrieve
    - functionName:    fai_get_val
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 821
      functionLinenumberEnd: 849
      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:827,10'
          Dst:             fai_parse_region
        - Src:             'faidx.c:828,9'
          Dst:             hts_log
        - Src:             'faidx.c:834,12'
          Dst:             faidx_iseq
        - Src:             'faidx.c:834,12'
          Dst:             kh_get_s
        - Src:             'faidx.c:837,9'
          Dst:             abort
    - functionName:    fai_fetch
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 885
      functionLinenumberEnd: 889
      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:887,17'
          Dst:             fai_fetch64
    - functionName:    fai_fetch64
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 872
      functionLinenumberEnd: 882
      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:876,9'
          Dst:             fai_get_val
        - Src:             'faidx.c:881,12'
          Dst:             fai_retrieve
    - functionName:    fai_line_length
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 858
      functionLinenumberEnd: 869
      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:863,9'
          Dst:             fai_get_val
    - functionName:    fai_load_format
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 731
      functionLinenumberEnd: 732
      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:732,12'
          Dst:             fai_load3_format
    - functionName:    fai_load3_format
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 726
      functionLinenumberEnd: 727
      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:727,12'
          Dst:             fai_load3_core
    - functionName:    fai_load3_core
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 589
      functionLinenumberEnd: 710
      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:607,13'
          Dst:             ksprintf
        - Src:             'faidx.c:611,13'
          Dst:             ksprintf
        - Src:             'faidx.c:615,10'
          Dst:             hopen
        - Src:             'faidx.c:620,22'
          Dst:             bgzf_open
        - Src:             'faidx.c:623,13'
          Dst:             hts_log
        - Src:             'faidx.c:627,13'
          Dst:             bgzf_compression
        - Src:             'faidx.c:628,23'
          Dst:             hopen
        - Src:             'faidx.c:630,46'
          Dst:             __errno_location
        - Src:             'faidx.c:631,21'
          Dst:             __errno_location
        - Src:             'faidx.c:631,21'
          Dst:             strerror
        - Src:             'faidx.c:631,21'
          Dst:             hts_log
        - Src:             'faidx.c:632,21'
          Dst:             bgzf_close
        - Src:             'faidx.c:637,23'
          Dst:             hclose
        - Src:             'faidx.c:640,21'
          Dst:             __errno_location
        - Src:             'faidx.c:640,21'
          Dst:             strerror
        - Src:             'faidx.c:640,21'
          Dst:             hts_log
        - Src:             'faidx.c:644,23'
          Dst:             hclose
        - Src:             'faidx.c:647,21'
          Dst:             __errno_location
        - Src:             'faidx.c:647,21'
          Dst:             strerror
        - Src:             'faidx.c:647,21'
          Dst:             hts_log
        - Src:             'faidx.c:653,9'
          Dst:             bgzf_close
        - Src:             'faidx.c:657,38'
          Dst:             __errno_location
        - Src:             'faidx.c:658,13'
          Dst:             __errno_location
        - Src:             'faidx.c:658,13'
          Dst:             strerror
        - Src:             'faidx.c:658,13'
          Dst:             hts_log
        - Src:             'faidx.c:662,9'
          Dst:             hts_log
        - Src:             'faidx.c:664,13'
          Dst:             fai_build3_core
        - Src:             'faidx.c:668,14'
          Dst:             hopen
        - Src:             'faidx.c:670,13'
          Dst:             __errno_location
        - Src:             'faidx.c:670,13'
          Dst:             strerror
        - Src:             'faidx.c:670,13'
          Dst:             hts_log
        - Src:             'faidx.c:675,11'
          Dst:             fai_read
        - Src:             'faidx.c:677,9'
          Dst:             hts_log
        - Src:             'faidx.c:681,11'
          Dst:             hclose
        - Src:             'faidx.c:684,9'
          Dst:             __errno_location
        - Src:             'faidx.c:684,9'
          Dst:             strerror
        - Src:             'faidx.c:684,9'
          Dst:             hts_log
        - Src:             'faidx.c:688,17'
          Dst:             bgzf_open
        - Src:             'faidx.c:690,9'
          Dst:             hts_log
        - Src:             'faidx.c:695,14'
          Dst:             bgzf_index_load
        - Src:             'faidx.c:696,13'
          Dst:             hts_log
        - Src:             'faidx.c:705,14'
          Dst:             fai_destroy
        - Src:             'faidx.c:706,13'
          Dst:             hclose_abruptly
    - functionName:    fai_load
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 720
      functionLinenumberEnd: 721
      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:721,12'
          Dst:             fai_load3
    - functionName:    fai_load3
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 714
      functionLinenumberEnd: 715
      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:715,12'
          Dst:             fai_load3_core
    - functionName:    fai_build
      functionSourceFile: '/src/htslib/faidx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 582
      functionLinenumberEnd: 583
      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:583,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: 1582
      functionLinenumberEnd: 1584
      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: 1568
      functionLinenumberEnd: 1570
      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_name2id_wrapper
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 646
      functionLinenumberEnd: 647
      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:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:647,12'
          Dst:             tbx_name2id
    - functionName:    tbx_name2id
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 93
      functionLinenumberEnd: 94
      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:94,12'
          Dst:             get_tid
    - functionName:    get_tid
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 66
      functionLinenumberEnd: 90
      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:70,37'
          Dst:             kh_init_s2i
        - Src:             'tbx.c:75,13'
          Dst:             kh_put_s2i
        - Src:             'tbx.c:79,28'
          Dst:             strdup
        - Src:             'tbx.c:84,17'
          Dst:             kh_del_s2i
        - Src:             'tbx.c:88,16'
          Dst:             kh_get_s2i
    - functionName:    tbx_itr_querys1
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 651
      functionLinenumberEnd: 652
      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:652,12'
          Dst:             hts_itr_querys
        - Src:             'tbx.c:652,12'
          Dst:             tbx_name2id_wrapper
        - Src:             'tbx.c:652,12'
          Dst:             hts_itr_query
        - Src:             'tbx.c:652,12'
          Dst:             tbx_readrec
    - functionName:    tbx_readrec
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 355
      functionLinenumberEnd: 374
      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:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'tbx.c:362,15'
          Dst:             bgzf_getline
        - Src:             'tbx.c:368,13'
          Dst:             get_intv
    - functionName:    get_intv
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 317
      functionLinenumberEnd: 346
      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:331,9'
          Branch Sides:    []
      Callsites:
        - Src:             'tbx.c:318,9'
          Dst:             tbx_parse1
        - Src:             'tbx.c:324,25'
          Dst:             get_tid
        - Src:             'tbx.c:339,13'
          Dst:             hts_is_utf16_text
        - Src:             'tbx.c:340,13'
          Dst:             hts_log
        - Src:             'tbx.c:342,13'
          Dst:             hts_log
    - functionName:    tbx_parse1
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 98
      functionLinenumberEnd: 314
      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:117,34'
          Dst:             strtoll
        - Src:             'tbx.c:132,33'
          Dst:             strtoll
        - Src:             'tbx.c:145,25'
          Dst:             hts_log
        - Src:             'tbx.c:155,37'
          Dst:             strtoll
        - Src:             'tbx.c:163,38'
          Dst:             strtol
        - Src:             'tbx.c:164,39'
          Dst:             toupper_c
        - Src:             'tbx.c:182,33'
          Dst:             strchr
        - Src:             'tbx.c:191,33'
          Dst:             svlen_on_ref_for_vcf_alt
        - Src:             'tbx.c:195,41'
          Dst:             strcmp
        - Src:             'tbx.c:196,41'
          Dst:             strcmp
        - Src:             'tbx.c:208,29'
          Dst:             strstr
        - Src:             'tbx.c:211,33'
          Dst:             strstr
        - Src:             'tbx.c:215,45'
          Dst:             strtoll
        - Src:             'tbx.c:220,37'
          Dst:             hts_log
        - Src:             'tbx.c:232,29'
          Dst:             strstr
        - Src:             'tbx.c:235,33'
          Dst:             strstr
        - Src:             'tbx.c:239,33'
          Dst:             strchr
        - Src:             'tbx.c:242,39'
          Dst:             atoll
        - Src:             'tbx.c:258,39'
          Dst:             strchr
        - Src:             'tbx.c:259,38'
          Dst:             strcmp
        - Src:             'tbx.c:265,38'
          Dst:             strcmp
        - Src:             'tbx.c:285,39'
          Dst:             atoll
        - Src:             'tbx.c:288,38'
          Dst:             strchr
    - 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_seqnames
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 616
      functionLinenumberEnd: 642
      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:621,16'
          Dst:             calloc
        - Src:             'tbx.c:624,41'
          Dst:             calloc
        - Src:             'tbx.c:634,9'
          Dst:             __assert_fail
        - Src:             'tbx.c:639,9'
          Dst:             __assert_fail
    - functionName:    tbx_index_load
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 611
      functionLinenumberEnd: 612
      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:612,12'
          Dst:             index_load
    - functionName:    index_load
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 554
      functionLinenumberEnd: 598
      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:559,19'
          Dst:             calloc
        - Src:             'tbx.c:562,16'
          Dst:             hts_idx_load3
        - Src:             'tbx.c:568,12'
          Dst:             hts_idx_get_meta
        - Src:             'tbx.c:571,24'
          Dst:             le_to_i32
        - Src:             'tbx.c:572,20'
          Dst:             le_to_i32
        - Src:             'tbx.c:573,20'
          Dst:             le_to_i32
        - Src:             'tbx.c:574,20'
          Dst:             le_to_i32
        - Src:             'tbx.c:575,27'
          Dst:             le_to_i32
        - Src:             'tbx.c:576,27'
          Dst:             le_to_i32
        - Src:             'tbx.c:577,12'
          Dst:             le_to_u32
        - Src:             'tbx.c:585,13'
          Dst:             get_tid
        - Src:             'tbx.c:586,13'
          Dst:             __errno_location
        - Src:             'tbx.c:586,13'
          Dst:             strerror
        - Src:             'tbx.c:586,13'
          Dst:             hts_log
        - Src:             'tbx.c:584,32'
          Dst:             strlen
        - Src:             'tbx.c:593,5'
          Dst:             hts_log
        - Src:             'tbx.c:596,5'
          Dst:             tbx_destroy
    - functionName:    tbx_destroy
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 514
      functionLinenumberEnd: 525
      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:522,5'
          Dst:             hts_idx_destroy
        - Src:             'tbx.c:523,5'
          Dst:             kh_destroy_s2i
    - functionName:    tbx_index_load2
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 606
      functionLinenumberEnd: 607
      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:607,12'
          Dst:             index_load
    - functionName:    tbx_index_load3
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 601
      functionLinenumberEnd: 602
      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:602,12'
          Dst:             index_load
    - functionName:    tbx_index_build
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 549
      functionLinenumberEnd: 550
      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:550,12'
          Dst:             tbx_index_build3
    - functionName:    tbx_index_build3
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 528
      functionLinenumberEnd: 541
      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:532,15'
          Dst:             bgzf_open
        - Src:             'tbx.c:533,22'
          Dst:             bgzf_mt
        - Src:             'tbx.c:534,10'
          Dst:             bgzf_compression
        - Src:             'tbx.c:534,43'
          Dst:             bgzf_close
        - Src:             'tbx.c:535,11'
          Dst:             tbx_index
        - Src:             'tbx.c:536,5'
          Dst:             bgzf_close
        - Src:             'tbx.c:538,11'
          Dst:             hts_idx_save_as
        - Src:             'tbx.c:539,5'
          Dst:             tbx_destroy
    - functionName:    tbx_index
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 439
      functionLinenumberEnd: 511
      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:457,13'
          Branch Sides:    []
      Callsites:
        - Src:             'tbx.c:449,19'
          Dst:             calloc
        - Src:             'tbx.c:454,19'
          Dst:             bgzf_getline
        - Src:             'tbx.c:459,21'
          Dst:             adjust_max_ref_len_sam
        - Src:             'tbx.c:461,21'
          Dst:             adjust_max_ref_len_vcf
        - Src:             'tbx.c:473,21'
          Dst:             hts_adjust_csi_settings
        - Src:             'tbx.c:486,24'
          Dst:             hts_idx_init
        - Src:             'tbx.c:490,15'
          Dst:             get_intv
        - Src:             'tbx.c:492,13'
          Dst:             hts_idx_push
        - Src:             'tbx.c:498,33'
          Dst:             hts_idx_init
        - Src:             'tbx.c:500,35'
          Dst:             kh_init_s2i
        - Src:             'tbx.c:502,9'
          Dst:             hts_idx_finish
        - Src:             'tbx.c:503,9'
          Dst:             tbx_set_meta
        - Src:             'tbx.c:509,5'
          Dst:             tbx_destroy
    - functionName:    adjust_max_ref_len_sam
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 427
      functionLinenumberEnd: 436
      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:430,9'
          Dst:             strncmp
        - Src:             'tbx.c:431,11'
          Dst:             strstr
        - Src:             'tbx.c:434,11'
          Dst:             strtoll
    - functionName:    adjust_max_ref_len_vcf
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 414
      functionLinenumberEnd: 423
      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:417,9'
          Dst:             strncmp
        - Src:             'tbx.c:418,11'
          Dst:             strstr
        - Src:             'tbx.c:421,11'
          Dst:             strtoll
    - functionName:    tbx_set_meta
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 377
      functionLinenumberEnd: 408
      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:386,12'
          Dst:             hts_malloc_p
        - Src:             'tbx.c:391,14'
          Dst:             strlen
        - Src:             'tbx.c:394,12'
          Dst:             hts_malloc_ps
        - Src:             'tbx.c:396,9'
          Dst:             ed_is_big
        - Src:             'tbx.c:398,20'
          Dst:             ed_swap_4
        - Src:             'tbx.c:401,17'
          Dst:             strlen
        - Src:             'tbx.c:406,5'
          Dst:             hts_idx_set_meta
    - functionName:    tbx_index_build2
      functionSourceFile: '/src/htslib/tbx.c'
      linkageType:     InternalLinkage
      functionLinenumber: 544
      functionLinenumberEnd: 545
      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:545,12'
          Dst:             tbx_index_build3
    - 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:    var_put_u64_safe
      functionSourceFile: '/src/htslib/cram/../htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 66
      functionLinenumberEnd: 89
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          117
      EdgeCount:       22
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    var_get_u64
      functionSourceFile: '/src/htslib/cram/../htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 240
      functionLinenumberEnd: 264
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          147
      EdgeCount:       30
      CyclomaticComplexity: 8
      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:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_alloc.h:95,9'
          Dst:             __errno_location
    - functionName:    u16_to_le
      functionSourceFile: '/src/htslib/cram/../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:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    i16_to_le
      functionSourceFile: '/src/htslib/cram/../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:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htslib/hts_endian.h:275,5'
          Dst:             u16_to_le
    - 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:    5
      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:    4
      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: 4188
      functionLinenumberEnd: 4193
      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:4192,16'
          Dst:             ksprintf
    - functionName:    cram_codec_decoder2encoder
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 4034
      functionLinenumberEnd: 4186
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         98
      ICount:          597
      EdgeCount:       125
      CyclomaticComplexity: 29
      functionsReached:
        - cram_codec_decoder2encoder
      functionUses:    3
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:4037,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_codecs.c:4145,13'
          Dst:             cram_codec_decoder2encoder
        - Src:             'cram/cram_codecs.c:4161,13'
          Dst:             cram_codec_decoder2encoder
        - Src:             'cram/cram_codecs.c:4162,13'
          Dst:             cram_codec_decoder2encoder
    - functionName:    cram_const_encode_store
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1029
      functionLinenumberEnd: 1049
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          142
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - block_append
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1034,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:1035,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:1042,5'
          Dst:             block_append
    - functionName:    cram_external_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 559
      functionLinenumberEnd: 563
      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: 566
      functionLinenumberEnd: 587
      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:571,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:572,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:579,5'
          Dst:             block_append
    - functionName:    cram_external_decode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 354
      functionLinenumberEnd: 371
      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:359,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_external_encode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 527
      functionLinenumberEnd: 529
      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: 374
      functionLinenumberEnd: 391
      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:379,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_external_encode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 539
      functionLinenumberEnd: 541
      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: 395
      functionLinenumberEnd: 411
      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:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:400,9'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_codecs.c:404,10'
          Dst:             cram_extract_block
    - functionName:    cram_external_encode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 551
      functionLinenumberEnd: 557
      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:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:552,5'
          Dst:             block_append
    - functionName:    cram_external_decode_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 415
      functionLinenumberEnd: 434
      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:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:421,9'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_codecs.c:425,10'
          Dst:             cram_extract_block
        - Src:             'cram/cram_codecs.c:429,5'
          Dst:             block_append
    - functionName:    cram_varint_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 851
      functionLinenumberEnd: 855
      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_varint_encode_store
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 858
      functionLinenumberEnd: 879
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          159
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - block_append
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:863,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:864,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:872,5'
          Dst:             block_append
    - functionName:    cram_varint_decode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 648
      functionLinenumberEnd: 667
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          104
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_get_block_by_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:653,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_varint_encode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 824
      functionLinenumberEnd: 826
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          46
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_varint_decode_sint
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 670
      functionLinenumberEnd: 689
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          104
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_get_block_by_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:675,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_varint_encode_sint
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 831
      functionLinenumberEnd: 833
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          46
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_varint_decode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 692
      functionLinenumberEnd: 711
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          103
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_get_block_by_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:697,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_varint_encode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 838
      functionLinenumberEnd: 840
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          44
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_varint_decode_slong
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 714
      functionLinenumberEnd: 733
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          103
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_get_block_by_id
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:719,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_varint_encode_slong
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 845
      functionLinenumberEnd: 847
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         3
      ICount:          44
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_huffman_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3102
      functionLinenumberEnd: 3109
      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: 3116
      functionLinenumberEnd: 3177
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         51
      ICount:          476
      EdgeCount:       66
      CyclomaticComplexity: 17
      functionsReached:
        - block_append
        - hts_malloc_pse
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:3128,17'
          Dst:             hts_malloc_pse
        - Src:             'cram/cram_codecs.c:3135,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:3136,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:3167,5'
          Dst:             block_append
    - functionName:    cram_huffman_decode_char0
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2650
      functionLinenumberEnd: 2661
      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: 2993
      functionLinenumberEnd: 2994
      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: 2664
      functionLinenumberEnd: 2696
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          228
      EdgeCount:       37
      CyclomaticComplexity: 10
      functionsReached:
        - cram_not_enough_bits
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2674,17'
          Dst:             cram_not_enough_bits
    - functionName:    cram_huffman_encode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2998
      functionLinenumberEnd: 3026
      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:3006,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:3022,14'
          Dst:             store_bits_MSB
    - functionName:    cram_huffman_decode_int0
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2699
      functionLinenumberEnd: 2708
      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: 3029
      functionLinenumberEnd: 3030
      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: 2712
      functionLinenumberEnd: 2746
      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:2724,17'
          Dst:             cram_not_enough_bits
    - functionName:    cram_huffman_encode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3034
      functionLinenumberEnd: 3063
      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:3043,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:3059,14'
          Dst:             store_bits_MSB
    - functionName:    cram_huffman_decode_long0
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2749
      functionLinenumberEnd: 2758
      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: 3066
      functionLinenumberEnd: 3067
      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: 2762
      functionLinenumberEnd: 2796
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         26
      ICount:          219
      EdgeCount:       33
      CyclomaticComplexity: 9
      functionsReached:
        - cram_not_enough_bits
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2774,17'
          Dst:             cram_not_enough_bits
    - functionName:    cram_huffman_encode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3071
      functionLinenumberEnd: 3100
      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:3080,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:3096,14'
          Dst:             store_bits_MSB
    - functionName:    cram_beta_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1246
      functionLinenumberEnd: 1248
      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: 1187
      functionLinenumberEnd: 1208
      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:1191,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:1192,9'
          Dst:             block_append
    - functionName:    cram_beta_decode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1093
      functionLinenumberEnd: 1109
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          122
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - cram_not_enough_bits
        - get_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1098,13'
          Dst:             cram_not_enough_bits
        - Src:             'cram/cram_codecs.c:1102,24'
          Dst:             get_bits_MSB
    - functionName:    cram_beta_encode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1223
      functionLinenumberEnd: 1231
      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:1228,14'
          Dst:             store_bits_MSB
    - functionName:    cram_beta_decode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1075
      functionLinenumberEnd: 1091
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          122
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - cram_not_enough_bits
        - get_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1080,13'
          Dst:             cram_not_enough_bits
        - Src:             'cram/cram_codecs.c:1084,24'
          Dst:             get_bits_MSB
    - functionName:    cram_beta_encode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1211
      functionLinenumberEnd: 1219
      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:1216,14'
          Dst:             store_bits_MSB
    - functionName:    cram_beta_decode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1111
      functionLinenumberEnd: 1132
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         27
      ICount:          157
      EdgeCount:       34
      CyclomaticComplexity: 9
      functionsReached:
        - cram_not_enough_bits
        - get_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1116,13'
          Dst:             cram_not_enough_bits
        - Src:             'cram/cram_codecs.c:1121,26'
          Dst:             get_bits_MSB
        - Src:             'cram/cram_codecs.c:1124,17'
          Dst:             get_bits_MSB
    - functionName:    cram_beta_encode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1235
      functionLinenumberEnd: 1243
      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:1240,14'
          Dst:             store_bits_MSB
    - functionName:    cram_xpack_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1615
      functionLinenumberEnd: 1624
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          54
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - cram_free_block
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1621,5'
          Dst:             cram_free_block
    - functionName:    cram_xpack_encode_store
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1541
      functionLinenumberEnd: 1581
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          320
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached:
        - block_append
        - cram_free_block
        - cram_new_block
        - strlen
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1545,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:1546,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:1552,22'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:1573,5'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:1575,5'
          Dst:             cram_free_block
    - functionName:    cram_xpack_decode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1347
      functionLinenumberEnd: 1359
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         14
      ICount:          102
      EdgeCount:       17
      CyclomaticComplexity: 5
      functionsReached:
        - get_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1353,40'
          Dst:             get_bits_MSB
    - functionName:    cram_xpack_encode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1585
      functionLinenumberEnd: 1592
      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:1590,14'
          Dst:             store_bits_MSB
    - functionName:    cram_xpack_decode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1362
      functionLinenumberEnd: 1378
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          120
      EdgeCount:       21
      CyclomaticComplexity: 6
      functionsReached:
        - cram_not_enough_bits
        - get_bits_MSB
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1367,13'
          Dst:             cram_not_enough_bits
        - Src:             'cram/cram_codecs.c:1371,40'
          Dst:             get_bits_MSB
    - functionName:    cram_xpack_encode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1596
      functionLinenumberEnd: 1603
      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:1601,14'
          Dst:             store_bits_MSB
    - functionName:    cram_xpack_decode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1411
      functionLinenumberEnd: 1432
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         15
      ICount:          110
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached:
        - cram_xpack_decode_expand_char
      functionUses:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1419,9'
          Dst:             cram_xpack_decode_expand_char
    - functionName:    cram_xpack_encode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1607
      functionLinenumberEnd: 1613
      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:    2
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1608,5'
          Dst:             block_append
    - functionName:    cram_byte_array_len_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3496
      functionLinenumberEnd: 3507
      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: 3510
      functionLinenumberEnd: 3548
      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:3516,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:3517,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:3522,13'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:3528,13'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:3535,5'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:3536,5'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:3538,5'
          Dst:             cram_free_block
        - Src:             'cram/cram_codecs.c:3539,5'
          Dst:             cram_free_block
        - Src:             'cram/cram_codecs.c:3545,16'
          Dst:             cram_free_block
        - Src:             'cram/cram_codecs.c:3546,16'
          Dst:             cram_free_block
    - functionName:    cram_byte_array_len_encode
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3483
      functionLinenumberEnd: 3493
      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: 3746
      functionLinenumberEnd: 3750
      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: 3753
      functionLinenumberEnd: 3786
      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:3758,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:3759,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:3779,5'
          Dst:             block_append
    - functionName:    cram_byte_array_stop_encode
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3737
      functionLinenumberEnd: 3744
      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:3738,5'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:3739,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:    30
      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:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_io.h:244,12'
          Dst:             block_resize
    - functionName:    cram_xpack_decode_expand_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1380
      functionLinenumberEnd: 1409
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         17
      ICount:          163
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - block_grow
        - cram_new_block
        - hts_unpack
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1391,49'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:1395,5'
          Dst:             block_grow
        - Src:             'cram/cram_codecs.c:1402,5'
          Dst:             hts_unpack
    - 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:    8
      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: 230
      functionLinenumberEnd: 238
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         15
      ICount:          91
      EdgeCount:       19
      CyclomaticComplexity: 6
      functionsReached: []
      functionUses:    9
      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:    6
      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:    14
      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: 3971
      functionLinenumberEnd: 4019
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         25
      ICount:          141
      EdgeCount:       25
      CyclomaticComplexity: 2
      functionsReached:
        - cram_codec_to_id
        - hts_log
      functionUses:    9
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:3974,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_codecs.c:4000,17'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_codecs.c:4001,17'
          Dst:             cram_codec_to_id
        - Src:             'cram/cram_codecs.c:4013,9'
          Dst:             hts_log
    - functionName:    cram_encoding2str
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3814
      functionLinenumberEnd: 3835
      functionDepth:   0
      returnType:      'N/A'
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         19
      ICount:          92
      EdgeCount:       36
      CyclomaticComplexity: 19
      functionsReached: []
      functionUses:    3
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:3815,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cram_byte_array_stop_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3792
      functionLinenumberEnd: 3808
      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: 3591
      functionLinenumberEnd: 3627
      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:3595,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_byte_array_stop_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3689
      functionLinenumberEnd: 3734
      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:3701,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_codecs.c:3709,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:3731,5'
          Dst:             hts_log
    - functionName:    cram_byte_array_stop_decode_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3631
      functionLinenumberEnd: 3670
      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:3637,9'
          Dst:             cram_get_block_by_id
        - Src:             'cram/cram_codecs.c:3659,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:3660,9'
          Dst:             block_grow
    - functionName:    cram_byte_array_stop_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3672
      functionLinenumberEnd: 3676
      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: 3678
      functionLinenumberEnd: 3682
      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:3679,12'
          Dst:             ksprintf
    - functionName:    cram_byte_array_len_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3554
      functionLinenumberEnd: 3583
      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:3567,39'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_codecs.c:3571,39'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_codecs.c:3578,9'
          Dst:             cram_byte_array_len_encode_free
    - functionName:    cram_encoder_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3935
      functionLinenumberEnd: 3964
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - int
        - 'N/A'
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         33
      ICount:          171
      EdgeCount:       43
      CyclomaticComplexity: 12
      functionsReached:
        - abort
        - cram_encoding2str
        - hts_log
      functionUses:    42
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:3955,13'
          Dst:             cram_encoding2str
        - Src:             'cram/cram_codecs.c:3955,13'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:3961,9'
          Dst:             cram_encoding2str
        - Src:             'cram/cram_codecs.c:3961,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:3962,9'
          Dst:             abort
    - functionName:    cram_external_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 593
      functionLinenumberEnd: 633
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         29
      ICount:          154
      EdgeCount:       35
      CyclomaticComplexity: 8
      functionsReached:
        - abort
      functionUses:    0
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:605,9'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_codecs.c:625,13'
          Dst:             abort
    - functionName:    cram_huffman_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3183
      functionLinenumberEnd: 3368
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         136
      ICount:          929
      EdgeCount:       178
      CyclomaticComplexity: 44
      functionsReached:
        - __assert_fail
        - calloc
        - code_sort
        - hts_log
        - hts_malloc_p
        - hts_realloc_p
        - qsort
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:3202,25'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_codecs.c:3205,25'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_codecs.c:3211,9'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:3224,29'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_codecs.c:3227,29'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_codecs.c:3233,13'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:3240,5'
          Dst:             __assert_fail
        - Src:             'cram/cram_codecs.c:3242,17'
          Dst:             hts_realloc_p
        - Src:             'cram/cram_codecs.c:3245,12'
          Dst:             calloc
        - Src:             'cram/cram_codecs.c:3286,19'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_codecs.c:3292,5'
          Dst:             qsort
        - Src:             'cram/cram_codecs.c:3292,5'
          Dst:             code_sort
        - Src:             'cram/cram_codecs.c:3362,5'
          Dst:             hts_log
    - functionName:    cram_beta_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1254
      functionLinenumberEnd: 1335
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         65
      ICount:          360
      EdgeCount:       84
      CyclomaticComplexity: 21
      functionsReached: []
      functionUses:    0
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:1308,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cram_varint_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 885
      functionLinenumberEnd: 930
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         24
      ICount:          174
      EdgeCount:       29
      CyclomaticComplexity: 7
      functionsReached: []
      functionUses:    0
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:910,5'
          Branch Sides:    []
      Callsites:       []
    - functionName:    cram_const_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1055
      functionLinenumberEnd: 1069
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          64
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    0
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_xpack_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1630
      functionLinenumberEnd: 1666
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         21
      ICount:          179
      EdgeCount:       27
      CyclomaticComplexity: 8
      functionsReached:
        - cram_encoder_init
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1650,30'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_codecs.c:1661,9'
          Dst:             fprintf
    - functionName:    cram_xrle_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2416
      functionLinenumberEnd: 2449
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          133
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - cram_encoder_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2435,29'
          Dst:             cram_encoder_init
        - Src:             'cram/cram_codecs.c:2438,29'
          Dst:             cram_encoder_init
    - functionName:    cram_xdelta_encode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2029
      functionLinenumberEnd: 2055
      functionDepth:   0
      returnType:      'N/A'
      argCount:        6
      argTypes:
        - 'N/A'
        - int
        - int
        - 'N/A'
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         12
      ICount:          107
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - cram_encoder_init
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2049,31'
          Dst:             cram_encoder_init
    - functionName:    cram_xdelta_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2014
      functionLinenumberEnd: 2023
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          54
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - cram_free_block
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2020,5'
          Dst:             cram_free_block
    - functionName:    cram_xdelta_encode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1970
      functionLinenumberEnd: 1971
      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:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_xdelta_encode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1975
      functionLinenumberEnd: 1976
      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:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_xdelta_encode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1980
      functionLinenumberEnd: 2012
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         18
      ICount:          218
      EdgeCount:       23
      CyclomaticComplexity: 7
      functionsReached:
        - hts_malloc_p
        - le_int2
        - zigzag16
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1981,17'
          Dst:             hts_malloc_p
        - Src:             'cram/cram_codecs.c:1993,34'
          Dst:             le_int2
        - Src:             'cram/cram_codecs.c:1994,51'
          Dst:             zigzag16
        - Src:             'cram/cram_codecs.c:1999,26'
          Dst:             le_int2
        - Src:             'cram/cram_codecs.c:2000,34'
          Dst:             le_int2
        - Src:             'cram/cram_codecs.c:2001,51'
          Dst:             zigzag16
    - functionName:    cram_xdelta_encode_store
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1934
      functionLinenumberEnd: 1966
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         17
      ICount:          197
      EdgeCount:       22
      CyclomaticComplexity: 7
      functionsReached:
        - block_append
        - cram_free_block
        - cram_new_block
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1938,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:1939,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:1945,22'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:1958,5'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:1960,5'
          Dst:             cram_free_block
    - functionName:    cram_xdelta_encode_flush
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1838
      functionLinenumberEnd: 1931
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         29
      ICount:          314
      EdgeCount:       34
      CyclomaticComplexity: 7
      functionsReached:
        - cram_free_block
        - cram_new_block
        - zigzag16
        - zigzag32
        - zigzag8
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:1844,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_codecs.c:1840,21'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:1878,40'
          Dst:             zigzag16
        - Src:             'cram/cram_codecs.c:1885,40'
          Dst:             zigzag16
        - Src:             'cram/cram_codecs.c:1898,40'
          Dst:             zigzag32
        - Src:             'cram/cram_codecs.c:1911,40'
          Dst:             zigzag8
        - Src:             'cram/cram_codecs.c:1928,5'
          Dst:             cram_free_block
    - functionName:    zigzag16
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1680
      functionLinenumberEnd: 1680
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - short
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          14
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    4
      BranchProfiles:  []
      Callsites:       []
    - functionName:    zigzag32
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1681
      functionLinenumberEnd: 1681
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          11
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    zigzag8
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1679
      functionLinenumberEnd: 1679
      functionDepth:   0
      returnType:      char
      argCount:        1
      argTypes:
        - char
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          14
      EdgeCount:       1
      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:    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:    le_int2
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1716
      functionLinenumberEnd: 1719
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - short
      constantsTouched: []
      argNames:
        - ''
      BBCount:         3
      ICount:          17
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - i16_to_le
      functionUses:    4
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1718,5'
          Dst:             i16_to_le
    - functionName:    cram_xrle_encode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2399
      functionLinenumberEnd: 2410
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         12
      ICount:          81
      EdgeCount:       15
      CyclomaticComplexity: 5
      functionsReached:
        - cram_free_block
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2407,5'
          Dst:             cram_free_block
    - functionName:    cram_xrle_encode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2363
      functionLinenumberEnd: 2365
      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:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_xrle_encode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2369
      functionLinenumberEnd: 2371
      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:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_xrle_encode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2375
      functionLinenumberEnd: 2397
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         22
      ICount:          141
      EdgeCount:       29
      CyclomaticComplexity: 9
      functionsReached:
        - block_append
        - cram_new_block
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2377,35'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:2379,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:2386,9'
          Dst:             block_append
    - functionName:    cram_xrle_encode_store
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2307
      functionLinenumberEnd: 2360
      functionDepth:   0
      returnType:      int
      argCount:        4
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - int
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          326
      EdgeCount:       42
      CyclomaticComplexity: 13
      functionsReached:
        - block_append
        - cram_free_block
        - cram_new_block
        - strlen
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2313,20'
          Dst:             strlen
        - Src:             'cram/cram_codecs.c:2314,9'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:2319,13'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:2332,13'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:2338,13'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:2347,5'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:2348,5'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:2349,5'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:2351,5'
          Dst:             cram_free_block
        - Src:             'cram/cram_codecs.c:2352,5'
          Dst:             cram_free_block
        - Src:             'cram/cram_codecs.c:2353,5'
          Dst:             cram_free_block
    - functionName:    cram_xrle_encode_flush
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2260
      functionLinenumberEnd: 2304
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         20
      ICount:          194
      EdgeCount:       26
      CyclomaticComplexity: 8
      functionsReached:
        - hts_malloc_ps
        - hts_rle_encode
        - var_put_u64
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2275,15'
          Dst:             hts_malloc_ps
        - Src:             'cram/cram_codecs.c:2279,14'
          Dst:             var_put_u64
        - Src:             'cram/cram_codecs.c:2281,15'
          Dst:             hts_rle_encode
    - 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:    var_put_u64
      functionSourceFile: '/src/htslib/cram/../htscodecs/htscodecs/varint.h'
      linkageType:     InternalLinkage
      functionLinenumber: 95
      functionLinenumberEnd: 177
      functionDepth:   0
      returnType:      int
      argCount:        3
      argTypes:
        - 'N/A'
        - 'N/A'
        - size_t
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
      BBCount:         36
      ICount:          614
      EdgeCount:       47
      CyclomaticComplexity: 13
      functionsReached:
        - var_put_u64_safe
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/../htscodecs/htscodecs/varint.h:97,16'
          Dst:             var_put_u64_safe
    - functionName:    cram_xpack_encode_flush
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1518
      functionLinenumberEnd: 1538
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          93
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached:
        - hts_pack
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1523,20'
          Dst:             hts_pack
    - functionName:    cram_const_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 970
      functionLinenumberEnd: 973
      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_const_encode
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1024
      functionLinenumberEnd: 1025
      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:    1
      BranchProfiles:  []
      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:    code_sort
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2625
      functionLinenumberEnd: 2633
      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_byte_array_len_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3435
      functionLinenumberEnd: 3480
      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:3454,37'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_codecs.c:3464,37'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_codecs.c:3476,5'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:3478,5'
          Dst:             cram_byte_array_len_decode_free
    - functionName:    cram_byte_array_len_decode
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3376
      functionLinenumberEnd: 3401
      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:3388,9'
          Dst:             fprintf
    - functionName:    cram_byte_array_len_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3403
      functionLinenumberEnd: 3413
      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: 3415
      functionLinenumberEnd: 3428
      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:3417,10'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:3421,12'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:3422,10'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:3425,12'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:3426,10'
          Dst:             ksprintf
    - functionName:    cram_decoder_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 3879
      functionLinenumberEnd: 3892
      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:    8
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:3889,9'
          Dst:             cram_encoding2str
        - Src:             'cram/cram_codecs.c:3889,9'
          Dst:             hts_log
    - functionName:    cram_external_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 466
      functionLinenumberEnd: 524
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         38
      ICount:          218
      EdgeCount:       48
      CyclomaticComplexity: 12
      functionsReached:
        - hts_log
      functionUses:    0
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:481,9'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_codecs.c:521,5'
          Dst:             hts_log
    - functionName:    cram_huffman_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2821
      functionLinenumberEnd: 2990
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         109
      ICount:          721
      EdgeCount:       147
      CyclomaticComplexity: 40
      functionsReached:
        - __errno_location
        - calloc
        - code_sort
        - hts_log
        - qsort
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2832,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:2838,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:2842,9'
          Dst:             __errno_location
        - Src:             'cram/cram_codecs.c:2847,9'
          Dst:             __errno_location
        - Src:             'cram/cram_codecs.c:2851,9'
          Dst:             calloc
        - Src:             'cram/cram_codecs.c:2900,13'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:2911,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:2917,5'
          Dst:             qsort
        - Src:             'cram/cram_codecs.c:2917,5'
          Dst:             code_sort
        - Src:             'cram/cram_codecs.c:2986,5'
          Dst:             hts_log
    - functionName:    cram_beta_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1149
      functionLinenumberEnd: 1184
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         34
      ICount:          219
      EdgeCount:       45
      CyclomaticComplexity: 13
      functionsReached:
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1164,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:1178,9'
          Dst:             hts_log
    - functionName:    cram_subexp_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2515
      functionLinenumberEnd: 2543
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          132
      EdgeCount:       17
      CyclomaticComplexity: 6
      functionsReached:
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2520,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:2537,9'
          Dst:             hts_log
    - functionName:    cram_gamma_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2587
      functionLinenumberEnd: 2618
      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:2592,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:2615,5'
          Dst:             hts_log
    - functionName:    cram_varint_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 767
      functionLinenumberEnd: 821
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         37
      ICount:          221
      EdgeCount:       46
      CyclomaticComplexity: 11
      functionsReached:
        - hts_log
      functionUses:    0
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:780,5'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_codecs.c:818,5'
          Dst:             hts_log
    - functionName:    cram_const_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 988
      functionLinenumberEnd: 1021
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         32
      ICount:          192
      EdgeCount:       42
      CyclomaticComplexity: 12
      functionsReached:
        - fprintf
        - hts_log
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1003,9'
          Dst:             hts_log
        - Src:             'cram/cram_codecs.c:1015,9'
          Dst:             fprintf
    - functionName:    cram_xpack_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1460
      functionLinenumberEnd: 1516
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         48
      ICount:          348
      EdgeCount:       65
      CyclomaticComplexity: 19
      functionsReached:
        - calloc
        - cram_decoder_init
        - cram_xpack_decode_free
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1465,15'
          Dst:             calloc
        - Src:             'cram/cram_codecs.c:1476,9'
          Dst:             fprintf
        - Src:             'cram/cram_codecs.c:1501,28'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_codecs.c:1510,9'
          Dst:             fprintf
        - Src:             'cram/cram_codecs.c:1511,9'
          Dst:             cram_xpack_decode_free
    - functionName:    cram_xrle_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2191
      functionLinenumberEnd: 2258
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         47
      ICount:          376
      EdgeCount:       63
      CyclomaticComplexity: 18
      functionsReached:
        - calloc
        - cram_decoder_init
        - cram_xrle_decode_free
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2197,15'
          Dst:             calloc
        - Src:             'cram/cram_codecs.c:2208,9'
          Dst:             fprintf
        - Src:             'cram/cram_codecs.c:2233,27'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_codecs.c:2243,27'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_codecs.c:2255,5'
          Dst:             fprintf
        - Src:             'cram/cram_codecs.c:2256,5'
          Dst:             cram_xrle_decode_free
    - functionName:    cram_xdelta_decode_init
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1788
      functionLinenumberEnd: 1836
      functionDepth:   0
      returnType:      'N/A'
      argCount:        7
      argTypes:
        - 'N/A'
        - 'N/A'
        - int
        - int
        - int
        - int
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         31
      ICount:          237
      EdgeCount:       41
      CyclomaticComplexity: 12
      functionsReached:
        - calloc
        - cram_decoder_init
        - cram_xdelta_decode_free
        - fprintf
      functionUses:    0
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1793,15'
          Dst:             calloc
        - Src:             'cram/cram_codecs.c:1822,29'
          Dst:             cram_decoder_init
        - Src:             'cram/cram_codecs.c:1830,9'
          Dst:             fprintf
        - Src:             'cram/cram_codecs.c:1831,9'
          Dst:             cram_xdelta_decode_free
    - functionName:    cram_xdelta_decode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1687
      functionLinenumberEnd: 1688
      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_xdelta_decode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1691
      functionLinenumberEnd: 1706
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         10
      ICount:          96
      EdgeCount:       12
      CyclomaticComplexity: 4
      functionsReached:
        - unzigzag32
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1701,22'
          Dst:             unzigzag32
    - functionName:    cram_xdelta_decode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1712
      functionLinenumberEnd: 1713
      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_xdelta_decode_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1723
      functionLinenumberEnd: 1763
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         16
      ICount:          194
      EdgeCount:       18
      CyclomaticComplexity: 4
      functionsReached:
        - block_append
        - fprintf
        - le_int2
        - unzigzag16
      functionUses:    1
      BranchProfiles:
        - Branch String:   'cram/cram_codecs.c:1744,9'
          Branch Sides:    []
      Callsites:
        - Src:             'cram/cram_codecs.c:1746,25'
          Dst:             unzigzag16
        - Src:             'cram/cram_codecs.c:1748,17'
          Dst:             le_int2
        - Src:             'cram/cram_codecs.c:1749,13'
          Dst:             block_append
        - Src:             'cram/cram_codecs.c:1754,13'
          Dst:             fprintf
    - functionName:    cram_xdelta_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1765
      functionLinenumberEnd: 1772
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          50
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_xdelta_decode_size
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1774
      functionLinenumberEnd: 1776
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_xdelta_decode_expand_char
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1775,5'
          Dst:             cram_xdelta_decode_expand_char
    - functionName:    cram_xdelta_get_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1779
      functionLinenumberEnd: 1781
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          28
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_xdelta_decode_expand_char
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1780,5'
          Dst:             cram_xdelta_decode_expand_char
    - functionName:    cram_xdelta_decode_expand_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1708
      functionLinenumberEnd: 1709
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         1
      ICount:          8
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    unzigzag16
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1684
      functionLinenumberEnd: 1684
      functionDepth:   0
      returnType:      short
      argCount:        1
      argTypes:
        - short
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          15
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    unzigzag32
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1685
      functionLinenumberEnd: 1685
      functionDepth:   0
      returnType:      int
      argCount:        1
      argTypes:
        - int
      constantsTouched: []
      argNames:
        - ''
      BBCount:         1
      ICount:          12
      EdgeCount:       1
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_xrle_decode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2066
      functionLinenumberEnd: 2068
      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_xrle_decode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2071
      functionLinenumberEnd: 2073
      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_xrle_decode_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2128
      functionLinenumberEnd: 2137
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         6
      ICount:          69
      EdgeCount:       7
      CyclomaticComplexity: 3
      functionsReached:
        - cram_xrle_decode_expand_char
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2131,5'
          Dst:             cram_xrle_decode_expand_char
    - functionName:    cram_xrle_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2175
      functionLinenumberEnd: 2185
      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_xrle_decode_size
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2118
      functionLinenumberEnd: 2120
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_xrle_decode_expand_char
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2119,5'
          Dst:             cram_xrle_decode_expand_char
    - functionName:    cram_xrle_get_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2123
      functionLinenumberEnd: 2125
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          28
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_xrle_decode_expand_char
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2124,5'
          Dst:             cram_xrle_decode_expand_char
    - functionName:    cram_xrle_decode_expand_char
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2077
      functionLinenumberEnd: 2116
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         21
      ICount:          228
      EdgeCount:       28
      CyclomaticComplexity: 9
      functionsReached:
        - cram_new_block
        - hts_rle_decode
        - var_get_u64
      functionUses:    3
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2082,49'
          Dst:             cram_new_block
        - Src:             'cram/cram_codecs.c:2106,14'
          Dst:             var_get_u64
        - Src:             'cram/cram_codecs.c:2109,5'
          Dst:             hts_rle_decode
    - functionName:    cram_xpack_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1434
      functionLinenumberEnd: 1444
      functionDepth:   0
      returnType:      void
      argCount:        1
      argTypes:
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
      BBCount:         9
      ICount:          50
      EdgeCount:       11
      CyclomaticComplexity: 4
      functionsReached: []
      functionUses:    2
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_xpack_decode_size
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1446
      functionLinenumberEnd: 1448
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          30
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_xpack_decode_expand_char
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1447,5'
          Dst:             cram_xpack_decode_expand_char
    - functionName:    cram_xpack_get_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 1451
      functionLinenumberEnd: 1453
      functionDepth:   0
      returnType:      'N/A'
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          28
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - cram_xpack_decode_expand_char
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:1452,5'
          Dst:             cram_xpack_decode_expand_char
    - functionName:    cram_const_decode_byte
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 936
      functionLinenumberEnd: 946
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         8
      ICount:          59
      EdgeCount:       9
      CyclomaticComplexity: 3
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_const_decode_int
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 949
      functionLinenumberEnd: 956
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          50
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_const_decode_long
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 960
      functionLinenumberEnd: 967
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         5
      ICount:          49
      EdgeCount:       5
      CyclomaticComplexity: 2
      functionsReached: []
      functionUses:    1
      BranchProfiles:  []
      Callsites:       []
    - functionName:    cram_const_decode_size
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 975
      functionLinenumberEnd: 976
      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:    cram_const_describe
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 979
      functionLinenumberEnd: 981
      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:980,12'
          Dst:             ksprintf
    - functionName:    cram_varint_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 735
      functionLinenumberEnd: 738
      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_varint_decode_size
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 740
      functionLinenumberEnd: 749
      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:744,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_varint_get_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 751
      functionLinenumberEnd: 752
      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:752,12'
          Dst:             cram_get_block_by_id
    - functionName:    cram_varint_describe
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 755
      functionLinenumberEnd: 760
      functionDepth:   0
      returnType:      int
      argCount:        2
      argTypes:
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
      BBCount:         3
      ICount:          33
      EdgeCount:       3
      CyclomaticComplexity: 2
      functionsReached:
        - ksprintf
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:756,12'
          Dst:             ksprintf
    - functionName:    cram_gamma_decode
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2549
      functionLinenumberEnd: 2571
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         13
      ICount:          130
      EdgeCount:       16
      CyclomaticComplexity: 5
      functionsReached:
        - cram_not_enough_bits
        - get_zero_bits_MSB
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2557,14'
          Dst:             get_zero_bits_MSB
        - Src:             'cram/cram_codecs.c:2558,13'
          Dst:             cram_not_enough_bits
    - functionName:    cram_gamma_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2573
      functionLinenumberEnd: 2576
      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: 2578
      functionLinenumberEnd: 2580
      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:2579,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: 2455
      functionLinenumberEnd: 2497
      functionDepth:   0
      returnType:      int
      argCount:        5
      argTypes:
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
        - 'N/A'
      constantsTouched: []
      argNames:
        - ''
        - ''
        - ''
        - ''
        - ''
      BBCount:         25
      ICount:          241
      EdgeCount:       32
      CyclomaticComplexity: 9
      functionsReached:
        - cram_not_enough_bits
        - get_one_bits_MSB
      functionUses:    1
      BranchProfiles:  []
      Callsites:
        - Src:             'cram/cram_codecs.c:2466,13'
          Dst:             get_one_bits_MSB
        - Src:             'cram/cram_codecs.c:2467,22'
          Dst:             cram_not_enough_bits
    - functionName:    cram_subexp_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2499
      functionLinenumberEnd: 2502
      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: 2504
      functionLinenumberEnd: 2508
      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:2505,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: 1134
      functionLinenumberEnd: 1137
      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: 1139
      functionLinenumberEnd: 1142
      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:1140,12'
          Dst:             ksprintf
    - functionName:    cram_huffman_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 2635
      functionLinenumberEnd: 2642
      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: 2645
      functionLinenumberEnd: 2646
      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: 2798
      functionLinenumberEnd: 2811
      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:2800,10'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:2802,14'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:2805,10'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:2807,14'
          Dst:             ksprintf
        - Src:             'cram/cram_codecs.c:2810,10'
          Dst:             ksprintf
    - functionName:    cram_external_decode_free
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 436
      functionLinenumberEnd: 439
      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: 442
      functionLinenumberEnd: 451
      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:446,9'
          Dst:             cram_get_block_by_id
    - functionName:    cram_external_get_block
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 453
      functionLinenumberEnd: 454
      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:454,12'
          Dst:             cram_get_block_by_id
    - functionName:    cram_external_describe
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 457
      functionLinenumberEnd: 459
      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:458,12'
          Dst:             ksprintf
    - functionName:    cram_external_encode_slong
      functionSourceFile: '/src/htslib/cram/cram_codecs.c'
      linkageType:     InternalLinkage
      functionLinenumber: 545
      functionLinenumberEnd: 547
      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: 533
      functionLinenumberEnd: 535
      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:       []
...
