{
  "ml": {
    "v": "7",
    "id": 926,
    "lvl": -1,
    "conf": 0,
    "prob": 0.00001566608807479497,
    "type": "go",
    "version": "v18.18",
    "analyzed_at": "2026-09-15T09:23:20Z"
  },
  "path": "lib/sequel/adapters/shared/access.rb",
  "raw": {
    "rev": "e86a6",
    "files": [
      {
        "id": 1543,
        "ctx": [
          {
            "b": "boQPsz*C#jePV2Ox(mMny?X05A:-=BaARTDwEn=+wPq\u003cbA+eP#wO+^%x)a5gcOv28B-.tlB1.9wB.\u003eGdwNxv/w]?K9uW3jaxKt^\u003eC4CYnwNw\u003e-wm5?+B-8pG3uxY$B.L(cuVGZ]vrujbwGSuMe?.u?x(4\u0026zB-85mwnbT\u0026wN]dZwmYU2x\u003ez6\u003cA=SPn3t\u003cY(B.\u003eRiq!o@\u003ewO.X@az(4cB.\u003eRil1sy",
            "ln": 0,
            "col": 1,
            "line": 1
          },
          {
            "b": "azbUjz6in8ax8chaAqKnA^ohyarR^HarR)KB8JghA+eW3wGUz7v@DsiaA7\u003cmBzbkdBywS{wGUA0wft#cwO@S3A=k[tBzbkdw].*baAR43y?kjaarR^HarUiaw/#b9zEEx[uVYZ=y?k2bA=k/4BywS{wH[%Cz^NP{vR/Q83lQDlarR^Hay/C6vru6/BywS{wHIUsuJ",
            "ln": 609,
            "col": 47,
            "line": 22
          },
          {
            "b": "y?k45arR^HarUlkwc@U^arR^Har@0{v}f7\u003eB0bQDwPF#oD2NsqlVm9+By/Fnw]zYjvqWh@B-.LozEWY#zdNQbx(mMayH}^j3lQDlarR!qwO96awPzG[y*Rd4x(dp0D0+t#D0+GeBzkVhA%:3jarR^HarV1(Ab]VfvrcT2yH}=ljW70gA=\u003e}AauBP",
            "ln": 823,
            "col": 28,
            "line": 26
          },
          {
            "b": "arR^HarR)Kx(+zfx)a69ayPslBzbkdvrc16zdNQbefFUGay!?$cV*FPz/PRoCwhejayMylBAh8kxdLfDzY\u003c7ex(^\u0026dvqVz{arR^Har@0$A=M8sazCBgvixSkA+PA7azC)txk8K2zy#nsarR^Hay]4}ay/C6vru6/BywS{wNw\u003e!c#JEgwH[%mB1wCL",
            "ln": 1309,
            "col": 1,
            "line": 42
          },
          {
            "b": "ayMx/B.\u003e\u003epC42ifwGUC[v{%I3wGV8dwGT(ZADL#owN({5A=k]dA==NHw]zYjBzbxfazbt0y?aV5B0bKnBrCWzaxix7wIke?j%iQsBwu%{y^SbUB98Chx(n2[x(v/@BzkVhed9HxarR^HEj/bLwO3g03lQDlarR!qwO95}vrt{!vrl0!wPz*fA:J\u0026#",
            "ln": 2189,
            "col": 63,
            "line": 53
          },
          {
            "b": "qBK8AswR{6arR^HarUlkwc@U^arR^Hay]4}ay]IhA9)r%wmZ0)B8=1ABywS{wH[%xA48bparR^HarR^Jl@D/Saw2r@moyVSDVsgDBy!/[wmYU2x\u003ez6\u003cAWU\u003cBtrlUgzdM#}E0^5EwObv[y\u0026\u003c2#zE^s6uV6p?wHIUevR/QbaA8j6i+98AB.#2qt}4jJawU-PbysAMz//L$B7n({zdc^[vpB4:d0e)by?k5za{]CnarR^HwO#2=arR^HarR1larR^Har@0{v}f7\u003eB0b1iwPI-pBrCm9C4z!8at#5dvRG{bx(n37xjV9aBA}?pefG1LaA.:pazC.nwOkN{ayPd#aztXjwEoL5arR^HboR8wwGVbpwPw]cB8AvEaA.:tzF78ez/PziBzb92atU+}vRG}9e^.",
            "ln": 2366,
            "col": 24,
            "line": 56
          }
        ],
        "mol": "H₂(DbOs)",
        "pid": 12,
        "rel": "fetched",
        "sha": "31dab72cf3d9411bd8d04a6a6b4ce11f66d51140a1a9e79f9157428d9a4f7cac",
        "via": "https://rubygems.org/downloads/sequel-5.5.0.gem",
        "path": "pkg:gem/sequel@5.5.0!!data.tar.gz!!lib/sequel/adapters/shared/access.rb",
        "risk": 2,
        "size": 8896,
        "type": "ruby",
        "depth": 4,
        "facts": {
          "imp": [
            [
              "",
              "require_relative"
            ],
            [
              "",
              "require_relative"
            ],
            [
              "",
              "set_shared_adapter_scheme"
            ],
            [
              "",
              "include"
            ],
            [
              "",
              "create_table"
            ],
            [
              "",
              "from"
            ],
            [
              "",
              "drop_table"
            ],
            [
              "",
              "quote_identifier"
            ],
            [
              "",
              "type_literal"
            ],
            [
              "",
              "raise"
            ],
            [
              "",
              "is_a?"
            ],
            [
              "",
              "run"
            ],
            [
              "",
              "sql"
            ],
            [
              "",
              "into"
            ],
            [
              "",
              "freeze"
            ],
            [
              "",
              "quote_identifier"
            ],
            [
              "",
              "default_index_name"
            ],
            [
              "",
              "quote_schema_table"
            ],
            [
              "",
              "include"
            ],
            [
              "",
              "new"
            ],
            [
              "",
              "def_sql_method"
            ],
            [
              "",
              "include"
            ],
            [
              "",
              "include"
            ],
            [
              "",
              "freeze"
            ],
            [
              "",
              "each_value"
            ],
            [
              "",
              "freeze"
            ],
            [
              "",
              "freeze"
            ],
            [
              "",
              "freeze"
            ],
            [
              "",
              "freeze"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "inject"
            ],
            [
              "",
              "reverse"
            ],
            [
              "",
              "conditions"
            ],
            [
              "",
              "with_merged_expression"
            ],
            [
              "",
              "default"
            ],
            [
              "",
              "new"
            ],
            [
              "",
              "to_s"
            ],
            [
              "",
              "fetch"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "complex_expression_sql_append"
            ],
            [
              "",
              "complex_expression_sql_append"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "to_s"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "each"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "raise"
            ],
            [
              "",
              "inspect"
            ],
            [
              "",
              "to_s"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "clone"
            ],
            [
              "",
              "gsub"
            ],
            [
              "",
              "clone"
            ],
            [
              "",
              "strftime"
            ],
            [
              "",
              "strftime"
            ],
            [
              "",
              "empty?"
            ],
            [
              "",
              "length"
            ],
            [
              "",
              "source_list_append"
            ],
            [
              "",
              "identifier_append"
            ],
            [
              "",
              "each"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "literal_append"
            ],
            [
              "",
              "to_s"
            ],
            [
              "",
              "../utils/emulate_offset_with_reverse_and_count"
            ],
            [
              "",
              "../utils/unmodified_identifiers"
            ]
          ],
          "mbr": [
            "CAST_TYPES.fetch",
            "CAST_TYPES.fetch.to_s",
            "Dataset.def_sql_method",
            "EXTRACT_MAP.each_value",
            "Module.new",
            "args.each",
            "ce.default",
            "ce.with_merged_expression",
            "ce.with_merged_expression.conditions",
            "ce.with_merged_expression.conditions.reverse",
            "ce.with_merged_expression.conditions.reverse.inject",
            "d.strftime",
            "ds.into",
            "ds.into.sql",
            "ds.is_a?",
            "format.to_s",
            "j.empty?",
            "j.length",
            "js.each",
            "op.to_s",
            "part.inspect",
            "string.gsub",
            "t.strftime",
            "v.to_s"
          ],
          "tgt": [
            "clone",
            "complex_expression_sql_append",
            "conditions",
            "create_table",
            "def_sql_method",
            "default",
            "default_index_name",
            "drop_table",
            "each",
            "each_value",
            "empty?",
            "fetch",
            "freeze",
            "from",
            "gsub",
            "identifier_append",
            "include",
            "inject",
            "inspect",
            "into",
            "is_a?",
            "length",
            "literal_append",
            "new",
            "quote_identifier",
            "quote_schema_table",
            "raise",
            "require_relative",
            "reverse",
            "run",
            "set_shared_adapter_scheme",
            "source_list_append",
            "sql",
            "strftime",
            "to_s",
            "type_literal",
            "with_merged_expression"
          ],
          "funcs": [
            [
              "database_type",
              329
            ],
            [
              "rename_table",
              703
            ],
            [
              "serial_primary_key_options",
              906
            ],
            [
              "alter_table_set_column_type_sql",
              1017
            ],
            [
              "create_table_as",
              1426
            ],
            [
              "database_error_regexps",
              2316
            ],
            [
              "drop_index_sql",
              2391
            ],
            [
              "type_literal_generic_bignum_symbol",
              2694
            ],
            [
              "type_literal_generic_trueclass",
              2840
            ],
            [
              "type_literal_generic_file",
              2960
            ],
            [
              "case_expression_sql_append",
              3846
            ],
            [
              "cast_sql_append",
              4154
            ],
            [
              "complex_expression_sql_append",
              4329
            ],
            [
              "constant_sql_append",
              5743
            ],
            [
              "cross_join",
              6097
            ],
            [
              "escape_like",
              6254
            ],
            [
              "into",
              6398
            ],
            [
              "supports_derived_column_lists?",
              6515
            ],
            [
              "supports_intersect_except?",
              6632
            ],
            [
              "supports_is_true?",
              6734
            ],
            [
              "supports_join_using?",
              6835
            ],
            [
              "supports_multiple_column_in?",
              6968
            ],
            [
              "truncate",
              7097
            ],
            [
              "literal_date",
              7212
            ],
            [
              "literal_datetime",
              7323
            ],
            [
              "literal_false",
              7481
            ],
            [
              "literal_true",
              7561
            ],
            [
              "native_function_name",
              7658
            ],
            [
              "select_from_sql",
              7890
            ],
            [
              "select_into_sql",
              8130
            ],
            [
              "select_join_sql",
              8343
            ],
            [
              "select_limit_sql",
              8558
            ],
            [
              "quoted_identifier_append",
              8795
            ]
          ],
          "metrics": {
            "ast": {
              "op.eq": 1,
              "op.add": 1,
              "op.lor": 1,
              "op.mul": 1,
              "op.shl": 32,
              "op.land": 1,
              "op.lnot": 1,
              "max_depth": 18,
              "op.concat": 32,
              "call_count": 67,
              "node_count": 1593,
              "member_count": 24,
              "max_array_len": 1,
              "op_density.eq": 0,
              "op_density.add": 0,
              "op_density.lor": 0,
              "op_density.mul": 0,
              "op_density.shl": 0.02,
              "op_density.land": 0,
              "op_density.lnot": 0,
              "max_concat_chain": 2,
              "member_depth_max": 5,
              "op_density.concat": 0.02
            },
            "file": {
              "size": 8896,
              "entropy": 4.62
            },
            "text": {
              "lines": 286,
              "top_char": 101,
              "max_ws_run": 2,
              "digit_ratio": 0,
              "space_count": 2477,
              "char_entropy": 4.62,
              "unique_chars": 87,
              "top_char_null": 0,
              "lines_over_200": 1,
              "string_density": 0.17,
              "top_char_ratio": 0.08,
              "avg_line_length": 30.1,
              "max_line_length": 204,
              "empty_line_ratio": 0.14,
              "last_line_length": 3,
              "whitespace_ratio": 0.31,
              "identifier_density": 1.06,
              "line_length_stddev": 31.15,
              "normalized_string_count": 2.84,
              "repeated_char_sequences": 51,
              "suspicious_string_ratio": 0.02,
              "suspicious_comment_ratio": 0.05,
              "trailing_whitespace_lines": 8,
              "suspicious_identifier_ratio": 0.07,
              "normalized_unique_identifiers": 16.54
            },
            "binds": {
              "count": 14
            },
            "binary": {
              "peak_region_bytes": 3072,
              "peak_region_entropy": 5.08
            },
            "source": {
              "class_count": 4,
              "function_count": 33
            },
            "imports": {
              "count": 2,
              "relative": 2,
              "relative_ratio": 1,
              "third_party_count": 2,
              "third_party_ratio": 1
            },
            "strings": {
              "sql": 1,
              "bytes": 598,
              "count": 48,
              "avg_length": 12.46,
              "max_length": 116,
              "path_count": 2,
              "avg_entropy": 1.44,
              "entropy_stddev": 1.51
            },
            "comments": {
              "chars": 1878,
              "count": 40,
              "lines": 40,
              "high_entropy": 2,
              "to_code_ratio": 0.16
            },
            "functions": {
              "count": 37
            },
            "identifiers": {
              "count": 304,
              "unique": 135,
              "avg_length": 10.9,
              "max_length": 34,
              "min_length": 1,
              "avg_entropy": 2.53,
              "reuse_ratio": 0.44,
              "length_stddev": 8.31,
              "sequential_names": 10,
              "single_char_count": 10,
              "single_char_ratio": 0.07,
              "high_entropy_count": 18,
              "high_entropy_ratio": 0.13,
              "all_lowercase_ratio": 0.71,
              "all_uppercase_ratio": 0.04
            }
          }
        },
        "traits": [
          {
            "id": "metadata/lang/natural::lang-english--atom-1",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\""
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-2",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\""
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-4",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\""
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-5",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\""
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-6",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\""
          },
          {
            "id": "metadata/lang/natural::lang-english--atom-7",
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\""
          },
          {
            "id": "micro-behaviors/os/module/load::ruby-require-relative",
            "conf": 0.9,
            "crit": 3,
            "desc": "Ruby loads a relative source module"
          },
          {
            "id": "micro-behaviors/data/db/sql::sql-drop-object",
            "conf": 0.8,
            "crit": 3,
            "desc": "DROP SQL object syntax reference"
          }
        ]
      }
    ]
  }
}