{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.02070550248026848,
        "class": 0
      }
    ],
    "prob": 0.020705502,
    "class": 0,
    "models": [
      {
        "m": "az",
        "prob": 0.020705502,
        "class": 0
      },
      {
        "m": "az/scripts",
        "prob": 0.0041242717,
        "class": 0
      },
      {
        "m": "az/php",
        "prob": 0.00022478493,
        "class": 0
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-09T09:49:37Z"
  },
  "path": "CommandInterface.php",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O(C)Md",
        "k": {
          "source.functions[0]": "getHelp",
          "source.functions[1]": "run"
        },
        "id": 0,
        "ms": {
          "file": {
            "size": 135.0
          },
          "text": {
            "space_count": 14.0,
            "total_lines": 10.0,
            "char_entropy": 4.66,
            "unique_chars": 34.0,
            "avg_line_length": 12.5,
            "max_line_length": 31.0,
            "empty_line_ratio": 0.3,
            "last_line_length": 1.0,
            "most_common_char": "n",
            "whitespace_ratio": 0.18,
            "most_common_ratio": 0.07,
            "identifier_density": 0.7,
            "line_length_stddev": 14.01,
            "max_inline_whitespace_run": 1.0,
            "normalized_function_count": 0.63,
            "normalized_unique_identifiers": 2.11,
            "identifiers_to_functions_ratio": 3.5
          },
          "strings": {},
          "comments": {},
          "functions": {
            "total": 2.0,
            "one_liners": 2.0,
            "avg_name_length": 5.0,
            "no_params_count": 2.0,
            "avg_length_lines": 1.0,
            "max_length_lines": 1.0,
            "min_length_lines": 1.0,
            "density_per_100_lines": 20.0,
            "code_in_functions_ratio": 0.2
          },
          "identifiers": {
            "total": 7.0,
            "avg_length": 6.86,
            "max_length": 16.0,
            "min_length": 3.0,
            "avg_entropy": 2.38,
            "reuse_ratio": 1.0,
            "unique_count": 7.0,
            "length_stddev": 4.05,
            "all_lowercase_ratio": 0.29
          }
        },
        "sz": 135,
        "ts": [
          {
            "c": 0.800000011920929,
            "d": "Very short file (under 12 lines)",
            "e": [
              "text.total_lines = 10.00"
            ],
            "i": "metadata/file/text/metrics::file-under-12-lines",
            "l": 1
          },
          {
            "a": "T1505.003",
            "d": "PHP open tag",
            "e": [
              "\u003c?php"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/request::php-tag",
            "l": 1,
            "m": "B0030"
          }
        ],
        "sha": "31430ce1e0621e47db5ccb83538ab08795d7c543dacda69f7fa982b37f668a98",
        "path": "/data/samples/bad/datasets/php-malware-analysis/phpd.local/extracted/phpd.local/src/Command/CommandInterface.php",
        "type": "php"
      }
    ],
    "tv": "a9555"
  }
}