{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9306244850158691,
        "class": 0
      }
    ],
    "prob": 0.9306245,
    "class": 0,
    "version": "v16.16",
    "thresholds": [
      0.9815004,
      0.99404883
    ],
    "analyzed_at": "2026-04-30T15:20:45Z"
  },
  "path": "yaml_saver.rb",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "Md(Pa)",
        "x": 1,
        "id": 0,
        "is": [
          "require",
          "require",
          "require",
          "dump",
          "to_a",
          "reject",
          "load",
          "message",
          "rewind",
          "read",
          "gsub!",
          "load",
          "warn",
          "each",
          "add",
          "each",
          "each",
          "each",
          "respond_to?",
          "ivars",
          "new",
          "tap",
          "each_pair",
          "to_sym",
          "add",
          "warn",
          "http/cookie_jar",
          "psych",
          "yaml"
        ],
        "ms": {
          "text": {
            "digit_ratio": 0.01,
            "space_count": 568.0,
            "total_lines": 76.0,
            "char_entropy": 4.62,
            "unique_chars": 77.0,
            "escape_density": 0.05,
            "import_density": 38.16,
            "string_density": 0.24,
            "avg_line_length": 25.5,
            "max_line_length": 79.0,
            "empty_line_ratio": 0.09,
            "last_line_length": 3.0,
            "most_common_char": "e",
            "whitespace_ratio": 0.32,
            "most_common_ratio": 0.07,
            "identifier_density": 0.97,
            "line_length_stddev": 21.42,
            "octal_escape_count": 1.0,
            "dynamic_import_ratio": 0.1,
            "normalized_import_count": 3.33,
            "normalized_string_count": 2.06,
            "repeated_char_sequences": 18.0,
            "max_inline_whitespace_run": 4.0,
            "normalized_function_count": 0.34,
            "imports_to_functions_ratio": 9.67,
            "strings_to_functions_ratio": 6.0,
            "suspicious_identifier_ratio": 0.03,
            "normalized_unique_identifiers": 5.76,
            "identifiers_to_functions_ratio": 12.0
          },
          "imports": {
            "total": 29.0,
            "stdlib_count": 2.0,
            "stdlib_ratio": 0.07,
            "unique_modules": 21.0,
            "dynamic_imports": 3.0,
            "third_party_count": 27.0,
            "third_party_ratio": 0.93
          },
          "strings": {
            "total": 18.0,
            "avg_length": 17.72,
            "max_length": 46.0,
            "avg_entropy": 2.79,
            "total_bytes": 319.0,
            "entropy_stddev": 1.2
          },
          "comments": {
            "chars": 439.0,
            "lines": 14.0,
            "total": 15.0,
            "hack_count": 1.0,
            "to_code_ratio": 0.23,
            "empty_comments": 1.0
          },
          "functions": {
            "total": 3.0,
            "length_stddev": 21.21,
            "avg_name_length": 7.67,
            "no_params_count": 3.0,
            "avg_length_lines": 18.0,
            "max_length_lines": 48.0,
            "min_length_lines": 3.0,
            "high_entropy_names": 1.0,
            "density_per_100_lines": 3.95,
            "code_in_functions_ratio": 0.71
          },
          "identifiers": {
            "total": 74.0,
            "avg_length": 5.42,
            "max_length": 15.0,
            "min_length": 1.0,
            "avg_entropy": 2.12,
            "reuse_ratio": 0.49,
            "unique_count": 36.0,
            "length_stddev": 2.84,
            "sequential_names": 1.0,
            "single_char_count": 1.0,
            "single_char_ratio": 0.03,
            "high_entropy_count": 1.0,
            "high_entropy_ratio": 0.03,
            "all_lowercase_ratio": 0.94
          }
        },
        "ss": [
          [
            28,
            "http/cookie_jar"
          ],
          [
            29,
            "http/cookie_jar"
          ],
          [
            54,
            "psych"
          ],
          [
            55,
            "psych"
          ],
          [
            100,
            "1.9.2"
          ],
          [
            101,
            "1.9.2"
          ],
          [
            116,
            "yaml"
          ],
          [
            117,
            "yaml"
          ],
          [
            575,
            "session?"
          ],
          [
            722,
            "undefined class/module Mechanize::"
          ],
          [
            934,
            "^(    [^ ].*:) !ruby/object:Mechanize::Cookie$"
          ],
          [
            983,
            "\\\\1"
          ],
          [
            986,
            "1"
          ],
          [
            1075,
            "could not rewind the stream for conversion"
          ],
          [
            1076,
            "could not rewind the stream for conversion"
          ],
          [
            1505,
            "ivars"
          ],
          [
            1883,
            "incompatible YAML cookie data discarded"
          ],
          [
            1884,
            "incompatible YAML cookie data discarded"
          ]
        ],
        "sz": 2014,
        "ts": [
          {
            "c": 0.8999999761581421,
            "d": "File has 30 or more lines",
            "e": [
              "text.total_lines = 76.00"
            ],
            "i": "metadata/package/metrics::file-has-30-plus-lines",
            "l": 1
          },
          {
            "c": 0.949999988079071,
            "d": "imports http/cookie_jar",
            "e": [
              "http/cookie_jar"
            ],
            "i": "metadata/import/ruby::http/cookie_jar",
            "l": 2
          },
          {
            "c": 0.949999988079071,
            "d": "imports psych",
            "e": [
              "psych"
            ],
            "i": "metadata/import/ruby::psych",
            "l": 2
          },
          {
            "c": 0.949999988079071,
            "d": "imports yaml",
            "e": [
              "yaml"
            ],
            "i": "metadata/import/ruby::yaml",
            "l": 2
          }
        ],
        "sha": "9930cdaa7c7bd004252a7758a19406e5359c79e5ee5bce198948ffeb2415ba7c",
        "path": "/data/samples/good/rubygems/http-cookie-1.0.2/lib/http/cookie_jar/yaml_saver.rb",
        "type": "ruby"
      }
    ],
    "tv": "13343"
  }
}