{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9383016228675842,
        "class": 0
      }
    ],
    "prob": 0.9383016,
    "class": 0,
    "version": "v16.16",
    "thresholds": [
      0.9815004,
      0.99404883
    ],
    "analyzed_at": "2026-04-30T10:52:34Z"
  },
  "path": "async_callback_spec.rb",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "H(F)Md(Pa)",
        "x": 1,
        "id": 0,
        "is": [
          "require",
          "expand_path",
          "join",
          "dirname",
          "describe",
          "extend",
          "ffi_lib",
          "callback",
          "attach_function",
          "it",
          "new",
          "testAsyncCallback",
          "to",
          "expect",
          "be",
          "to",
          "expect",
          "eq",
          "it",
          "new",
          "testAsyncCallback",
          "to",
          "expect",
          "be",
          "to",
          "expect",
          "eq",
          "File.expand_path(File.join(File.dirname(__FILE__), \"spec_helper\"))"
        ],
        "ms": {
          "text": {
            "digit_ratio": 0.02,
            "space_count": 161.0,
            "total_lines": 35.0,
            "char_entropy": 4.85,
            "unique_chars": 57.0,
            "import_density": 80.0,
            "string_density": 0.37,
            "avg_line_length": 23.94,
            "max_line_length": 74.0,
            "empty_line_ratio": 0.14,
            "last_line_length": 3.0,
            "most_common_char": "e",
            "whitespace_ratio": 0.22,
            "most_common_ratio": 0.08,
            "identifier_density": 1.37,
            "line_length_stddev": 19.57,
            "dynamic_import_ratio": 0.04,
            "normalized_import_count": 4.73,
            "normalized_string_count": 2.2,
            "max_inline_whitespace_run": 1.0,
            "trailing_whitespace_lines": 3.0,
            "suspicious_identifier_ratio": 0.1,
            "normalized_unique_identifiers": 4.09
          },
          "imports": {
            "total": 28.0,
            "unique_modules": 17.0,
            "dynamic_imports": 1.0,
            "third_party_count": 28.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 13.0,
            "avg_length": 13.69,
            "max_length": 26.0,
            "avg_entropy": 2.94,
            "total_bytes": 178.0,
            "entropy_stddev": 0.6
          },
          "comments": {
            "chars": 64.0,
            "lines": 2.0,
            "total": 4.0,
            "to_code_ratio": 0.06,
            "empty_comments": 2.0
          },
          "functions": {},
          "identifiers": {
            "total": 48.0,
            "avg_length": 5.95,
            "max_length": 17.0,
            "min_length": 1.0,
            "avg_entropy": 1.88,
            "reuse_ratio": 0.44,
            "unique_count": 21.0,
            "length_stddev": 4.28,
            "sequential_names": 2.0,
            "single_char_count": 2.0,
            "single_char_ratio": 0.1,
            "all_lowercase_ratio": 0.9,
            "all_uppercase_ratio": 0.05,
            "double_underscore_count": 1.0,
            "underscore_prefix_count": 1.0
          }
        },
        "ss": [
          [
            132,
            "spec_helper"
          ],
          [
            133,
            "spec_helper"
          ],
          [
            158,
            "async callback"
          ],
          [
            159,
            "async callback"
          ],
          [
            283,
            "int"
          ],
          [
            291,
            "void"
          ],
          [
            339,
            "testAsyncCallback"
          ],
          [
            379,
            "int"
          ],
          [
            387,
            "void"
          ],
          [
            405,
            "int (0x7fffffff) argument"
          ],
          [
            406,
            "int (0x7fffffff) argument"
          ],
          [
            644,
            "called a second time"
          ],
          [
            645,
            "called a second time"
          ]
        ],
        "sz": 873,
        "ts": [
          {
            "c": 0.8999999761581421,
            "d": "File has 30 or more lines",
            "e": [
              "text.total_lines = 35.00"
            ],
            "i": "metadata/package/metrics::file-has-30-plus-lines",
            "l": 1
          },
          {
            "a": "T1059",
            "c": 0.800000011920929,
            "d": "Self-reference via __FILE__",
            "e": [
              "__FILE__"
            ],
            "i": "micro-behaviors/fs/read/self::self-file-reference",
            "l": 3
          },
          {
            "c": 0.949999988079071,
            "d": "imports File.expand_path(File.join(File.dirname(__FILE__), \"spec_helper\"))",
            "e": [
              "File.expand_path(File.join(File.dirname(__FILE__), \"spec_helper\"))"
            ],
            "i": "metadata/import/ruby::file/expand_path-file/join-file/dirname-__file__-spec_helper",
            "l": 2
          }
        ],
        "sha": "d09824cbe71c99c6564c2406bf49600aa1a5f14acbe9cad66b4e64e65c08e2a3",
        "path": "async_callback_spec.rb",
        "type": "ruby"
      }
    ],
    "tv": "f6eaa"
  }
}