{
  "ml": {
    "analyzed_at": "2026-11-09T17:21:44Z",
    "files": [
      {
        "lvl": -1,
        "prob": 0.34340602,
        "id": 0
      },
      {
        "lvl": -1,
        "id": 1
      },
      {
        "lvl": -1,
        "id": 2
      },
      {
        "lvl": -1,
        "id": 3
      },
      {
        "lvl": -1,
        "id": 4
      },
      {
        "lvl": -1,
        "id": 5
      },
      {
        "lvl": -1,
        "id": 6
      },
      {
        "lvl": -1,
        "id": 7
      },
      {
        "lvl": -1,
        "id": 8
      },
      {
        "lvl": -1,
        "id": 9
      },
      {
        "lvl": -1,
        "id": 10
      },
      {
        "lvl": -1,
        "id": 11
      },
      {
        "lvl": -1,
        "id": 12
      },
      {
        "lvl": -1,
        "id": 13
      },
      {
        "lvl": -1,
        "id": 14
      },
      {
        "lvl": -1,
        "id": 15
      },
      {
        "lvl": -1,
        "id": 16
      },
      {
        "lvl": -1,
        "id": 17
      },
      {
        "lvl": -1,
        "id": 18
      }
    ],
    "lvl": -1,
    "mods": [
      {
        "cls": 0
      }
    ],
    "prob": 0.34340602,
    "v": "7",
    "version": "v20.20"
  },
  "path": "knx-0.2.1.tar.gz",
  "raw": {
    "files": [
      {
        "depth": 0,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 29696,
              "peak_region_entropy": 7.83
            },
            "file": {
              "entropy": 7.99,
              "size": 30194
            }
          }
        },
        "id": 0,
        "ident": {
          "name": {
            "value": "knx",
            "source": "file.basename",
            "verified": false
          },
          "trust": "unsigned",
          "version": {
            "value": "0.2.1",
            "source": "file.basename",
            "verified": false
          }
        },
        "mol": "H₆(Cm₂Cr₅Db₆OsPo)Md₄(In₂Pa₄Pt₂)",
        "path": "knx-0.2.1.tar.gz",
        "risk": 20,
        "sha": "de7db7c431f3bf194919b966560292dbbd5efb7d561f8ee056d84298e2a6380c",
        "size": 30194,
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/file/naming::uppercase-readme-md-basename"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown section headings",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/file/profile/markup::at-least-four-markdown-section-headings"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Markdown-style heading precedes a code fence",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/file/profile/markup::markdown-heading-before-fenced-block"
          },
          {
            "conf": 0.4,
            "crit": 3,
            "desc": "Analyzed layer contains at most three strings",
            "from": [
              {
                "file": 12
              }
            ],
            "id": "metadata/file/profile/string-population::analyzed-layer-string-count-at-most-three"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Contains the sourceText identifier",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/file/string/identity::source-text-token"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports hex.dart",
            "from": [
              {
                "file": 12
              }
            ],
            "id": "metadata/import/npm/hex/dart::hex/dart"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports telegram.dart",
            "from": [
              {
                "file": 12
              }
            ],
            "id": "metadata/import/npm/telegram/dart::telegram/dart"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Comma-operator sequence of numeric literals",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/javascript-features::js-numeric-comma-sequence"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Caret or XOR expression text",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "metadata/lang/source/syntax/operator::caret-or-xor-expression-text"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "README code fence opens with import",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/documentation/package-metadata::readme-code-fence-opens-with-import"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript or TypeScript file under src",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "metadata/package/files/name::javascript-src-tree-member"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript-family source file under lib",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "metadata/package/files/runtime::javascript-family-lib-tree-artifact"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Archive ships a root-level test tree",
            "id": "metadata/package/testing/presence/path::archive-test-directory-member-path"
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "Bare test() statement call",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/package/testing/presence/scripted::node-test-call"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "References the Telegram service name",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "micro-behaviors/communications/http/services/telegram::telegram-service-name-reference"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References a public code-forge URL",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "micro-behaviors/communications/http/url/forge::public-code-forge-url"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "X25519 or Curve25519 algorithm reference",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "micro-behaviors/crypto/asymmetric/curve25519::x25519-key-exchange-term"
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "MD5 or SHA digest API call",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest::source-digest-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls a SHA-256 hashing function",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "micro-behaviors/crypto/hash/digest::source-sha256-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References an HMAC API",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "micro-behaviors/crypto/hash/hmac::hmac-api-reference",
            "mbc": "C0029"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "JavaScript AES-CTR algorithm marker",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "micro-behaviors/crypto/symmetric/aes/ctr::aes-ctr-algorithm-marker"
          },
          {
            "atk": "T1027",
            "conf": 0.94,
            "crit": 3,
            "desc": "Buffer element XOR assignment",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "micro-behaviors/crypto/symmetric/xor/loop::js-buffer-xor-loop",
            "mbc": "B0032"
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "Spaced subtraction between identifiers",
            "id": "micro-behaviors/data/arithmetic::js-identifier-subtraction"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Source contains low-bit mask syntax",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/data/arithmetic::lsb-bit-mask-source"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "Calls a property using bracket notation",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/data/control-flow/dispatch::js-computed-property-call"
          },
          {
            "conf": 0.96,
            "crit": 3,
            "desc": "Loop numeric bound is 32 or greater",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "micro-behaviors/data/control-flow/loop::numeric-loop-bound-at-least-32"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Computed property access with addition",
            "id": "micro-behaviors/data/property/access::js-addition-indexed-access"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Substring bound adds two to index",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "micro-behaviors/data/string/access::two-character-substring-source"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Constructs JavaScript regexes at multiple sites",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/data/string/search::repeated-js-regexp-construction"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "JavaScript Function constructor in source text",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "micro-behaviors/metaprogramming/generation::js-function-ctor-call-text"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "References the userPassword attribute",
            "from": [
              {
                "file": 17
              }
            ],
            "id": "micro-behaviors/os/security/directory-service::ldap-user-password-attribute"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Backtick shell command-substitution syntax",
            "id": "micro-behaviors/process/create/shell/spawn::backtick-command-substitution"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Path contains a test-directory name token",
            "from": [],
            "id": "metadata/file/naming::test-directory-component"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports address.dart",
            "from": [
              {
                "file": 13
              }
            ],
            "id": "metadata/import/npm/address/dart::address/dart"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:async",
            "from": [
              {
                "file": 10
              }
            ],
            "id": "metadata/import/npm/dart-async::dart-async"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:convert",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "metadata/import/npm/dart-convert::dart-convert"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:math",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "metadata/import/npm/dart-math::dart-math"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:typed_data",
            "from": [
              {
                "file": 15
              }
            ],
            "id": "metadata/import/npm/dart-typed_data::dart-typed_data"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dpt.dart",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/npm/dpt/dart::dpt/dart"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports knx_crypto.dart",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/npm/knx_crypto/dart::knx_crypto/dart"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports package:knx/knx.dart",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/import/npm/package-knx/knx/dart::package-knx/knx/dart"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports package:pointycastle/export.dart",
            "from": [
              {
                "file": 11
              }
            ],
            "id": "metadata/import/npm/package-pointycastle/export/dart::package-pointycastle/export/dart"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports package:test/test.dart",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/import/npm/package-test/test/dart::package-test/test/dart"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ETS",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/shell/ets::ets"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Reading",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/shell/reading::reading"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Payload/data member-name reference",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/lang/source/syntax/member::message-payload-data-member-name"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Type member-name reference",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/lang/source/syntax/member::message-type-member-name"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Binary stored under a test fixture directory",
            "id": "metadata/package/testing/presence/corpus::binary-test-fixture-member"
          },
          {
            "conf": 0.6,
            "crit": 2,
            "desc": "expect() function call",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/package/testing/presence/fixture::expect-call"
          },
          {
            "conf": 0.96,
            "crit": 2,
            "desc": "Package test directory member",
            "id": "metadata/package/testing/presence/fixture::package-test-directory-member"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "File path or name indicates test code",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/package/testing/presence/harness::tests-path-filename"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Test path basename",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/package/testing/presence/path::test-path-basename"
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Has tokens that explain long string blobs",
            "from": [
              {
                "file": 13,
                "line": 135,
                "off": 4075
              }
            ],
            "id": "metadata/build/bundler/javascript-bundle-markers::js-multi-line-blob-recognized-text",
            "uses": [
              4
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "from": [],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7"
          }
        ],
        "type": "pub"
      },
      {
        "ctx": [
          {
            "col": 22,
            "line": 3,
            "ln": 28,
            "s": " blocks in pure Dart. No Flutter, no `dart:io`: the same code runs on the\nDart VM, in Flutter apps and on the web.\n\nUsed in production by [Busclear](https://busclear.de), a KNX bus monitor for Home Assistant,\nRaspberry Pi and the apps. For bus connections (KNXnet/IP tunnel, routing, serial FT1.2 with\nthe Weinzierl kBerry) see [`knx_io`](../knx_io).\n\n## Contents\n\n`package:knx/knx.dart`\n\n- Group and individual addresses: parse and format, 3-level, 2-level and free style.\n- cEMI: L_Data fr"
          },
          {
            "col": 59,
            "line": 31,
            "ln": 1506,
            "s": "reSession`).\n- Data Secure for group telegrams (`DataSecure`).\n\n## Example\n\n```dart\nimport 'package:knx/knx.dart';\n\nvoid main() {\n  final ga = parseGroupAddress('1/2/3', GroupStyle.threeLevel)!;\n  // L_Data.req: switch "
          },
          {
            "col": 34,
            "line": 42,
            "ln": 1783,
            "s": "ga, TelegramType.write, small: 1);\n  print(hexOf(cemi));\n}\n```\n\n## Status\n\nPre-1.0: names may still change between minor versions; the changelog says what to do.\nNot affiliated with or certified by the KNX Association.\n\n## Licence\n\nBSD 3-Clause (`LICENSE`). The KNX Secure code follows the structure of\n[xknx](https://github.com/XKNX/xknx) (MIT) and is checked against its test vectors; see `NOTICE`.\n"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 2184,
              "peak_region_entropy": 5.12
            },
            "file": {
              "entropy": 5.13,
              "size": 2184
            },
            "text": {
              "avg_line_length": 38.71,
              "char_entropy": 5.13,
              "digit_ratio": 0.02,
              "empty_line_ratio": 0.25,
              "last_line_length": 97,
              "line_length_stddev": 36.52,
              "lines": 55,
              "max_line_length": 97,
              "max_whitespace_run": 1,
              "space_count": 263,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.09,
              "unique_chars": 76,
              "whitespace_ratio": 0.15
            }
          }
        },
        "id": 1,
        "mol": "H(Cm)Md₂(Pa)",
        "path": "knx-0.2.1.tar.gz!!README.md",
        "pid": 0,
        "risk": 4,
        "sha": "8d039743a23087bafdb17a009215c1964e003b79769d1b395faacded44d6531b",
        "sid": 6662855850,
        "size": 2184,
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "id": "metadata/file/naming::uppercase-readme-md-basename"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown section headings",
            "id": "metadata/file/profile/markup::at-least-four-markdown-section-headings",
            "spans": [
              [
                380,
                11
              ],
              [
                1570,
                10
              ],
              [
                1847,
                9
              ],
              [
                2003,
                10
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Markdown-style heading precedes a code fence",
            "id": "metadata/file/profile/markup::markdown-heading-before-fenced-block",
            "spans": [
              [
                1570,
                15
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "README code fence opens with import",
            "id": "metadata/package/documentation/package-metadata::readme-code-fence-opens-with-import",
            "spans": [
              [
                1582,
                15
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References a public code-forge URL",
            "id": "micro-behaviors/communications/http/url/forge::public-code-forge-url",
            "spans": [
              [
                2093,
                19
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                76,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                127,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                217,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                325,
                0
              ]
            ]
          }
        ],
        "type": "markdown"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "/// KNX protocol building blocks without Flutter and without `dart:io`, so they run on the Dart VM,\n/// in Flutter apps and on the web: group and individual addresses, cEMI L_Data frames and group\n/// telegrams, KNXnet/IP service identifiers and frame headers, datapoint types (values and units; texts\n/// are up to the caller), and the silence rule for cyclic senders.\nlibrary;\n\nexport 'src/address.dart';\nexport 'src/cemi.dart';\nexport 'src/cycle.dart';\nexport 'src/dpt.dart';\nexport 'src/dpt_guess.dart';\nexport 'src/hex.dart';\nexport 'src/knxip.dart';\nexport 'src/tap_merge.dart';\nexport 'src/telegram.dart';\n"
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "///"
            ],
            [
              "",
              "dart:io"
            ],
            [
              "",
              "///"
            ],
            [
              "",
              "///"
            ],
            [
              "",
              "values"
            ],
            [
              "",
              "texts"
            ],
            [
              "",
              "///"
            ],
            [
              "",
              "and"
            ],
            [
              "",
              "library"
            ]
          ],
          "metrics": {
            "ast": {
              "call_count": 9,
              "max_depth": 6,
              "node_count": 130
            },
            "binary": {
              "peak_region_bytes": 613,
              "peak_region_entropy": 4.68
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_unknown": 1
            },
            "file": {
              "entropy": 4.68,
              "size": 613
            },
            "identifiers": {
              "all_lowercase_ratio": 0.68,
              "all_uppercase_ratio": 0.02,
              "avg_entropy": 2.03,
              "avg_length": 5.38,
              "count": 63,
              "length_stddev": 2.53,
              "max_length": 11,
              "min_length": 1,
              "repeated_char_names": 1,
              "reuse_ratio": 0.75,
              "single_char_count": 1,
              "single_char_ratio": 0.02,
              "unique": 47
            },
            "strings": {
              "avg_entropy": 3.39,
              "avg_length": 14.89,
              "bytes": 134,
              "count": 9,
              "entropy_stddev": 0.21,
              "max_length": 18
            },
            "text": {
              "avg_line_length": 39.87,
              "char_entropy": 4.68,
              "empty_line_ratio": 0.07,
              "identifier_density": 4.2,
              "last_line_length": 27,
              "line_length_stddev": 32.83,
              "lines": 15,
              "max_line_length": 104,
              "max_whitespace_run": 1,
              "normalized_string_count": 2.32,
              "normalized_unique_identifiers": 12.03,
              "space_count": 66,
              "string_density": 0.6,
              "suspicious_identifier_ratio": 0.02,
              "top_char": 114,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 46,
              "whitespace_ratio": 0.13
            }
          },
          "tgt": [
            "///",
            "and",
            "dart:io",
            "library",
            "texts",
            "values"
          ]
        },
        "id": 2,
        "mol": "H(Po)",
        "path": "knx-0.2.1.tar.gz!!lib/knx.dart",
        "pid": 0,
        "risk": 1,
        "sha": "49f42b8397aff8f793f40c4371d1bafdd3029983e289cbbdcab8f10214dd491c",
        "sid": 6662855844,
        "size": 613,
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Backtick shell command-substitution syntax",
            "id": "micro-behaviors/process/create/shell/spawn::backtick-command-substitution",
            "spans": [
              [
                61,
                9
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                87,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                49,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                350,
                0
              ]
            ]
          }
        ],
        "type": "shell"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "/// KNX Secure building blocks (AN158/AN159), without Flutter and without `dart:io`: AES-128-CCM in KNX\n/// block formatting, key derivation and X25519 (`knx_crypto.dart`), the IP Secure session handshake and\n/// secure wrapper (`IpSecureSession`), and Data Secure for group telegrams (`DataSecure`). Reading ETS\n/// keyrings is up to the caller.\nlibrary;\n\nexport 'src/secure/data_secure.dart';\nexport 'src/secure/ip_secure.dart';\nexport 'src/secure/knx_crypto.dart';\n"
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "///"
            ],
            [
              "",
              "AN158/AN159"
            ],
            [
              "",
              "without"
            ],
            [
              "",
              "dart:io"
            ],
            [
              "",
              "///"
            ],
            [
              "",
              "`knx_crypto.dart`"
            ],
            [
              "",
              "knx_crypto.dart"
            ],
            [
              "",
              "the"
            ],
            [
              "",
              "///"
            ],
            [
              "",
              "`IpSecureSession`"
            ],
            [
              "",
              "IpSecureSession"
            ],
            [
              "",
              "and"
            ],
            [
              "",
              "`DataSecure`"
            ],
            [
              "",
              "DataSecure"
            ],
            [
              "",
              "///"
            ],
            [
              "",
              "library"
            ],
            [
              "",
              "ETS"
            ],
            [
              "",
              "Reading"
            ]
          ],
          "metrics": {
            "ast": {
              "call_count": 17,
              "max_depth": 8,
              "node_count": 135
            },
            "binary": {
              "peak_region_bytes": 468,
              "peak_region_entropy": 5.03
            },
            "calls": {
              "dynamic_target_count": 3
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_unknown": 1
            },
            "file": {
              "entropy": 5.03,
              "size": 468
            },
            "identifiers": {
              "all_lowercase_ratio": 0.53,
              "all_uppercase_ratio": 0.08,
              "avg_entropy": 2.09,
              "avg_length": 6.1,
              "count": 51,
              "has_digit_ratio": 0.08,
              "high_entropy_count": 1,
              "high_entropy_ratio": 0.03,
              "length_stddev": 3.54,
              "max_length": 15,
              "min_length": 1,
              "numeric_suffix_count": 2,
              "repeated_char_names": 1,
              "reuse_ratio": 0.78,
              "single_char_count": 2,
              "single_char_ratio": 0.05,
              "unique": 40
            },
            "imports": {
              "count": 2,
              "third_party_count": 2,
              "third_party_ratio": 1
            },
            "strings": {
              "avg_entropy": 3.57,
              "avg_length": 26,
              "bytes": 78,
              "count": 3,
              "entropy_stddev": 0.24,
              "max_length": 27
            },
            "text": {
              "avg_line_length": 51,
              "char_entropy": 5.03,
              "digit_ratio": 0.04,
              "empty_line_ratio": 0.11,
              "identifier_density": 5.67,
              "import_density": 22.22,
              "last_line_length": 36,
              "line_length_stddev": 38.97,
              "lines": 9,
              "max_line_length": 104,
              "max_whitespace_run": 1,
              "normalized_import_count": 0.67,
              "normalized_string_count": 1,
              "normalized_unique_identifiers": 12.62,
              "space_count": 47,
              "string_density": 0.33,
              "suspicious_identifier_ratio": 0.03,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 55,
              "whitespace_ratio": 0.12
            }
          },
          "tgt": [
            ".",
            "///",
            "AN158/AN159",
            "DataSecure",
            "IpSecureSession",
            "`DataSecure`",
            "`IpSecureSession`",
            "`knx_crypto.dart`",
            "and",
            "dart:io",
            "knx_crypto.dart",
            "library",
            "the",
            "without"
          ]
        },
        "id": 3,
        "mol": "H(Po)",
        "path": "knx-0.2.1.tar.gz!!lib/secure.dart",
        "pid": 0,
        "risk": 2,
        "sha": "b782023a8d0f01089d1a614fd2d4c7e99d9741f2b98c3278532fb8b41c34752e",
        "sid": 6662855855,
        "size": 468,
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Backtick shell command-substitution syntax",
            "id": "micro-behaviors/process/create/shell/spawn::backtick-command-substitution",
            "spans": [
              [
                74,
                9
              ],
              [
                153,
                17
              ],
              [
                229,
                17
              ],
              [
                286,
                12
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports ETS",
            "id": "metadata/import/shell/ets::ets",
            "spans": [
              [
                309,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports Reading",
            "id": "metadata/import/shell/reading::reading",
            "spans": [
              [
                301,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                173,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                62,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                265,
                0
              ]
            ]
          }
        ],
        "type": "shell"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import 'dart:typed_data';\n\n/// Minimally parsed cEMI data frame (L_Data.ind / L_Data.con) â also for individual addressing\n/// (device diagnostics), not only group telegrams.\nclass CemiFrame {\n  const CemiFrame({\n    required this.code,\n    required this.ctrl1,\n    required this.ctrl2,\n    required this.source,\n    required "
          },
          {
            "col": 21,
            "line": 12,
            "ln": 366,
            "s": "du,\n  });\n\n  static const ind = 0x29;\n  static const con = 0x2E;\n  static const req = 0x11;\n\n  final int code;\n  final int ctrl1;\n  final int ctrl2;\n  fin"
          },
          {
            "col": 10,
            "line": 22,
            "ln": 524,
            "s": "nt source;\n  final int destination;\n\n  /// From the TPCI byte on: TPCI, APCI, data.\n  final Uint8List tpdu;\n\n  bool get isConfirmation =\u003e code == c"
          },
          {
            "col": 22,
            "line": 31,
            "ln": 748,
            "s": "or =\u003e isConfirmation \u0026\u0026 ctrl1 \u0026 0x01 != 0;\n\n  bool get groupAddressed =\u003e ctrl2 \u0026 0x80 != 0;\n\n  int get tpci =\u003e tpdu.isEmpty ? 0 : tpdu[0];\n\n  /// Con"
          },
          {
            "col": 35,
            "line": 40,
            "ln": 1035,
            "s": "rol TPDUs.\n  int? get apci =\u003e isControl || tpdu.length \u003c 2 ? null : ((tpdu[0] \u0026 0x03) \u003c\u003c 8) | tpdu[1];\n\n  /// Payload after the APCI.\n  List\u003cint\u003e get "
          },
          {
            "col": 17,
            "line": 48,
            "ln": 1367,
            "s": "+ c[1];\n    if (c.length \u003c i + 8) return null;\n    final npdu = c[i + 6];\n    final end = (i + 7 + npdu + 1).clamp(i + 8, c.length);\n    return CemiFrame(\n      code: c[0],\n      ctrl1: c[i],\n      ctrl2: c[i + 1],\n      source: (c[i + 2] \u003c\u003c 8) | c[i + 3"
          },
          {
            "col": 3,
            "line": 63,
            "ln": 1742,
            "s": "/ Whether [cemi] is a complete L_Data.req up to and including the TPCI. Checks the lengths before\n/// anything reads into the frame: the additional"
          },
          {
            "col": 18,
            "line": 75,
            "ln": 2378,
            "s": "t.fromList([\n    CemiFrame.req, 0x00,\n    // Standard frame, no repetition, broadcast, priority system/low\n    system ? 0xB0 : 0xBC,\n    (group ? 0x80 : 0x00) | 0x60, // hop count 6\n    0x00, 0x00, // the gateway sets the source\n    destination \u003e\u003e 8, destination \u0026 0xFF,\n    tpdu.length - 1, // NPDU length without TPCI byte\n    ...tpdu,\n  ]);\n}"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "CemiFrame",
              1245
            ]
          ],
          "imp": [
            [
              "",
              "CemiFrame"
            ],
            [
              "",
              "source"
            ],
            [
              "",
              "destination"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "c.sublist"
            ],
            [
              "",
              "isLDataRequest"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "dart:typed_data"
            ]
          ],
          "mbr": [
            "CemiFrame.req",
            "Uint8List.fromList",
            "c.length",
            "c.sublist",
            "cemi.length",
            "tpdu.length"
          ],
          "metrics": {
            "ast": {
              "call_count": 8,
              "max_array_length": 14,
              "max_concat_chain": 4,
              "max_depth": 14,
              "max_member_depth": 2,
              "member_count": 6,
              "node_count": 720,
              "op.add": 15,
              "op.band": 2,
              "op.bor": 4,
              "op.ge": 1,
              "op.gt": 1,
              "op.land": 1,
              "op.lor": 2,
              "op.lt": 4,
              "op.ne": 3,
              "op.shl": 3,
              "op.shr": 1,
              "op.sub": 1,
              "op_density.add": 0.02,
              "op_density.band": 0,
              "op_density.bor": 0.01,
              "op_density.ge": 0,
              "op_density.gt": 0,
              "op_density.land": 0,
              "op_density.lor": 0,
              "op_density.lt": 0.01,
              "op_density.ne": 0,
              "op_density.shl": 0,
              "op_density.shr": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 2724,
              "peak_region_entropy": 4.95
            },
            "binds": {
              "count": 3
            },
            "comments": {
              "chars": 832,
              "count": 17,
              "high_entropy": 2,
              "lines": 17,
              "to_code_ratio": 0.25
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_unknown": 1
            },
            "file": {
              "entropy": 4.99,
              "size": 2724
            },
            "functions": {
              "avg_length_lines": 15,
              "avg_name_length": 9,
              "avg_param_name_length": 5,
              "avg_params": 2,
              "code_ratio": 0.18,
              "count": 2,
              "density": 1.18,
              "max_length_lines": 15,
              "max_params": 2,
              "min_length_lines": 15,
              "single_char_params": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.69,
              "avg_entropy": 2.21,
              "avg_length": 6.05,
              "base64_like_names": 1,
              "count": 168,
              "has_digit_ratio": 0.07,
              "length_stddev": 3.29,
              "max_length": 14,
              "min_length": 1,
              "numeric_suffix_count": 2,
              "reuse_ratio": 0.25,
              "sequential_names": 2,
              "single_char_count": 2,
              "single_char_ratio": 0.05,
              "unique": 42
            },
            "imports": {
              "count": 1,
              "third_party_count": 1,
              "third_party_ratio": 1
            },
            "source": {
              "class_count": 1,
              "function_count": 1
            },
            "strings": {
              "avg_entropy": 2.96,
              "avg_length": 15,
              "bytes": 15,
              "count": 1,
              "max_length": 15
            },
            "text": {
              "avg_line_length": 31.05,
              "char_entropy": 4.99,
              "digit_ratio": 0.06,
              "empty_line_ratio": 0.16,
              "identifier_density": 1.98,
              "identifiers_to_functions_ratio": 42,
              "import_density": 1.18,
              "imports_to_functions_ratio": 1,
              "last_line_length": 1,
              "line_length_stddev": 27.11,
              "lines": 85,
              "max_line_length": 117,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0,
              "normalized_function_count": 0.11,
              "normalized_import_count": 0.11,
              "normalized_string_count": 0.11,
              "normalized_unique_identifiers": 6.55,
              "space_count": 531,
              "string_density": 0.01,
              "strings_to_functions_ratio": 1,
              "suspicious_comment_ratio": 0.12,
              "suspicious_identifier_ratio": 0.07,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.06,
              "unique_chars": 80,
              "whitespace_ratio": 0.23
            }
          },
          "tgt": [
            "CemiFrame",
            "Uint8List.fromList",
            "c.sublist",
            "destination",
            "isLDataRequest",
            "source"
          ]
        },
        "id": 4,
        "mol": "H(Db)Md(Pa₂)",
        "path": "knx-0.2.1.tar.gz!!lib/src/cemi.dart",
        "pid": 0,
        "risk": 3,
        "sha": "ae92158770081624bdb35318ca86dcc484b8335921376816e534c8781e97fa9e",
        "sid": 6662855854,
        "size": 2724,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/file/extension/identity::dart-source-basename"
              }
            ],
            "crit": "notable",
            "id": "micro-behaviors/os/module/require::esm-side-effect-package-import",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.4,
            "crit": 3,
            "desc": "Analyzed layer contains at most three strings",
            "id": "metadata/file/profile/string-population::analyzed-layer-string-count-at-most-three"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript or TypeScript file under src",
            "id": "metadata/package/files/name::javascript-src-tree-member"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript-family source file under lib",
            "id": "metadata/package/files/runtime::javascript-family-lib-tree-artifact"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Computed property access with addition",
            "id": "micro-behaviors/data/property/access::js-addition-indexed-access",
            "spans": [
              [
                1431,
                8
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:typed_data",
            "id": "metadata/import/npm/dart-typed_data::dart-typed_data",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                572,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                1790,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                99,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                228,
                0
              ]
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import 'telegram.dart';\n\n/// A group address that usually sends regularly but has gone silent.\nclass CycleSilence {\n  const CycleSilence(this.address, {required this.last, required this.interval});\n\n  /// Group address (raw, 16 bit).\n  f"
          },
          {
            "col": 9,
            "line": 11,
            "ln": 297,
            "s": "DateTime last;\n\n  /// Usual interval: median of the gaps between its telegrams.\n  final Duration interval;\n\n  /// How long it may stay silent befor"
          },
          {
            "col": 25,
            "line": 28,
            "ln": 860,
            "s": "Duration(minutes: 15);\n\n/// How long an address with the median [interval] may stay silent.\nDuration cycleLimit(Duration interval) =\u003e interval * 3 \u003c"
          },
          {
            "col": 78,
            "line": 31,
            "ln": 1029,
            "s": "cleMinSilence : interval * 3;\n\n/// Silence rule for cyclic senders: addresses that send regularly according to the\n/// history (median interval at most"
          },
          {
            "col": 58,
            "line": 34,
            "ln": 1201,
            "s": "at least\n/// [cycleMinTelegrams] telegrams) but have now been silent for longer than\n/// [cycleLimit].\n///\n/// [times] maps each group address to th"
          },
          {
            "col": 43,
            "line": 39,
            "ln": 1424,
            "s": "the lists are sorted in place). Read\n/// requests and the caller's own telegrams must already be left out, see\n/// [cycleSilencesOf]. The result keep"
          },
          {
            "col": 53,
            "line": 42,
            "ln": 1649,
            "s": " times, DateTime now) {\n  final result = \u003cCycleSilence\u003e[];\n  final nowMicros = now.microsecondsSinceEpoch;\n  for (final MapEntry(key: ga, value: list) in times.entries) {\n    if (list.length \u003c cycleMinTelegrams) continue;\n    list.sort();\n    final gaps = [for (var i = 1; i \u003c list.length; i++) list[i] - list[i - 1]]..sort();\n    final median = Duration(microseconds: gaps[gaps.length ~/ 2]);\n    if (median \u003e cycleMaxInterval || median \u003c const Durati"
          },
          {
            "col": 21,
            "line": 52,
            "ln": 2213,
            "s": "leLimit(median)) {\n      result.add(CycleSilence(ga, last: DateTime.fromMicrosecondsSinceEpoch(list"
          },
          {
            "col": 38,
            "line": 59,
            "ln": 2407,
            "s": "nly what other devices sent (no read\n/// requests, nothing [Telegram.outgoing]).\nList\u003cCycleSilence\u003e "
          },
          {
            "col": 6,
            "line": 63,
            "ln": 2610,
            "s": " (final t in telegrams) {\n    if (t.outgoing || t.type == TelegramType.read) continue;\n    (times[t.destination] ??= []).add(t.time.microsecondsSinceE"
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "Duration"
            ],
            [
              "",
              "Duration"
            ],
            [
              "",
              "Duration"
            ],
            [
              "",
              "cycleSilences"
            ],
            [
              "",
              "list.sort"
            ],
            [
              "",
              "Duration"
            ],
            [
              "",
              "Duration"
            ],
            [
              "",
              "cycleLimit"
            ],
            [
              "",
              "result.add"
            ],
            [
              "",
              "CycleSilence"
            ],
            [
              "",
              "DateTime.fromMicrosecondsSinceEpoch"
            ],
            [
              "",
              "cycleSilencesOf"
            ],
            [
              "",
              "telegram.dart"
            ]
          ],
          "mbr": [
            "DateTime.fromMicrosecondsSinceEpoch",
            "TelegramType.read",
            "gaps.length",
            "list.last",
            "list.length",
            "list.sort",
            "result.add",
            "t.destination",
            "t.outgoing",
            "t.time",
            "t.time.microsecondsSinceEpoch",
            "t.type"
          ],
          "metrics": {
            "ast": {
              "call_count": 19,
              "max_depth": 17,
              "max_member_depth": 3,
              "member_count": 12,
              "node_count": 536,
              "op.bnot": 1,
              "op.coalesce": 1,
              "op.eq": 1,
              "op.gt": 6,
              "op.lor": 2,
              "op.lt": 10,
              "op.mul": 2,
              "op.shr": 2,
              "op.sub": 3,
              "op_density.bnot": 0,
              "op_density.coalesce": 0,
              "op_density.eq": 0,
              "op_density.gt": 0.01,
              "op_density.lor": 0,
              "op_density.lt": 0.02,
              "op_density.mul": 0,
              "op_density.shr": 0,
              "op_density.sub": 0.01
            },
            "binary": {
              "peak_region_bytes": 2809,
              "peak_region_entropy": 4.8
            },
            "binds": {
              "count": 6
            },
            "comments": {
              "chars": 1158,
              "count": 21,
              "lines": 21,
              "to_code_ratio": 0.45
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_unknown": 1
            },
            "file": {
              "entropy": 4.77,
              "size": 2809
            },
            "functions": {
              "count": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.67,
              "avg_entropy": 2.35,
              "avg_length": 7.49,
              "count": 136,
              "high_entropy_count": 3,
              "high_entropy_ratio": 0.06,
              "length_stddev": 5.13,
              "max_length": 26,
              "min_length": 1,
              "reuse_ratio": 0.38,
              "sequential_names": 2,
              "single_char_count": 2,
              "single_char_ratio": 0.04,
              "unique": 51
            },
            "imports": {
              "count": 1,
              "third_party_count": 1,
              "third_party_ratio": 1
            },
            "source": {
              "class_count": 1
            },
            "strings": {
              "avg_entropy": 3.09,
              "avg_length": 13,
              "bytes": 13,
              "count": 1,
              "max_length": 13
            },
            "text": {
              "avg_line_length": 40.31,
              "char_entropy": 4.77,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.16,
              "identifier_density": 2,
              "import_density": 1.47,
              "last_line_length": 1,
              "line_length_stddev": 31.23,
              "lines": 68,
              "max_line_length": 107,
              "max_whitespace_run": 1,
              "normalized_import_count": 0.12,
              "normalized_string_count": 0.12,
              "normalized_unique_identifiers": 8.38,
              "space_count": 395,
              "string_density": 0.01,
              "suspicious_identifier_ratio": 0.04,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.09,
              "unique_chars": 67,
              "whitespace_ratio": 0.16
            }
          },
          "tgt": [
            "CycleSilence",
            "DateTime.fromMicrosecondsSinceEpoch",
            "Duration",
            "cycleLimit",
            "cycleSilences",
            "cycleSilencesOf",
            "list.sort",
            "result.add"
          ]
        },
        "id": 5,
        "mol": "H(Cm)Md₂(InPa₂)",
        "path": "knx-0.2.1.tar.gz!!lib/src/cycle.dart",
        "pid": 0,
        "risk": 4,
        "sha": "85bc47e1872f789d44017714119ee2a981f7587c2d9cf612d5643e86b504c118",
        "sid": 6662855849,
        "size": 2809,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/file/extension/identity::dart-source-basename"
              }
            ],
            "crit": "notable",
            "id": "micro-behaviors/os/module/require::esm-side-effect-package-import",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.4,
            "crit": 3,
            "desc": "Analyzed layer contains at most three strings",
            "id": "metadata/file/profile/string-population::analyzed-layer-string-count-at-most-three"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports telegram.dart",
            "id": "metadata/import/npm/telegram/dart::telegram/dart",
            "spans": [
              [
                7,
                13
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript or TypeScript file under src",
            "id": "metadata/package/files/name::javascript-src-tree-member"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript-family source file under lib",
            "id": "metadata/package/files/runtime::javascript-family-lib-tree-artifact"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "References the Telegram service name",
            "id": "micro-behaviors/communications/http/services/telegram::telegram-service-name-reference",
            "spans": [
              [
                8,
                8
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                345,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                1474,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                45,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4",
            "spans": [
              [
                1249,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                1077,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                908,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                137,
                0
              ]
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import 'dart:typed_data';\n\n/// Datapoint type, e.g. 9.001. [sub] is `null` if only the main type is known.\nclass Dpt {\n  const Dpt(this.main, [this.sub]);\n\n  final int main;\n  final int? sub;\n\n  /// Parses \"DPST-9-1\", \"DPT-1\", \"9.001\" or \"9.1\".\n  static Dpt? tryParse(String s) {\n    final m = RegExp(r'(\\d+)(?:[-.](\\d+))?').firstMatch(s.split(',').first);\n    if (m == null) return null;\n    return Dpt(int.parse(m[1]!), m[2] == null ? nu"
          },
          {
            "col": 21,
            "line": 21,
            "ln": 605,
            "s": "\u003e Object.hash(main, sub);\n\n  @override\n  String toString() =\u003e sub == null ? '$main.xxx' : '$main.${sub.toString().padLeft(3, '0')}';\n}\n\n/// Decodes a 2-"
          },
          {
            "col": 28,
            "line": 28,
            "ln": 808,
            "s": " b) {\n  var mantissa = ((b[0] \u0026 0x07) \u003c\u003c 8) | b[1];\n  if (b[0] \u0026 0x80 != 0) mantissa -= 2048;\n  final exponent = (b[0] \u003e\u003e 3) \u0026 0x0F;\n  return 0.01 * mantissa * (1 \u003c\u003c exponent);\n}\n\n/// Encodes a 2"
          },
          {
            "col": 22,
            "line": 36,
            "ln": 1075,
            "s": "(double value) {\n  final scaled = value * 100;\n  for (var e = 0; e \u003c= 15; e++) {\n    final m = (scaled / (1 \u003c\u003c e)).round();\n    if (m \u003e= -2048 \u0026\u0026 m \u003c= 2047) {\n      final raw = m \u0026 0xFFF;\n      return [((raw \u003e\u003e 11) \u0026 1) \u003c\u003c 7 | e \u003c\u003c 3 | (raw \u003e\u003e 8) \u0026 0x07, raw \u0026 0xFF];\n    }\n  }\n  return null;\n}\n\n/// Numeric value of a group telegram's payload for charts and thresholds, according to [dpt] or, without\n/// a type, heuristically: short values as a number, 1 byte"
          },
          {
            "col": 48,
            "line": 55,
            "ln": 1960,
            "s": "mList(data));\n  return switch ((dpt?.main, data.length)) {\n    (5, 1) when dpt!.sub == 1 =\u003e data[0] * 100 / 255,\n    (5 || 6 || null, 1) =\u003e dpt?.main "
          },
          {
            "col": 9,
            "line": 117,
            "ln": 3679,
            "s": "GGBB\" or \"r, g, b\" for DPT 232. Result: either `small` (â¤ 6 bit, in the APCI) or `data`. `null` for\n/"
          },
          {
            "col": 45,
            "line": 143,
            "ln": 5246,
            "s": "dix: 16);\n        return (small: null, data: [v \u003e\u003e 16, (v \u003e\u003e 8) \u0026 0xFF, v \u0026 0xFF]);\n      }\n      final rgb = input.split(RegExp(r'[,;\\s]+')).where((p) =\u003e p.i"
          },
          {
            "col": 24,
            "line": 168,
            "ln": 6236,
            "s": "();\n      return r \u003e= 0 \u0026\u0026 r \u003c= 0xFFFF ? (small: null, data: [r \u003e\u003e 8, r \u0026 0xFF]) : null;\n    case 8:\n "
          },
          {
            "col": 24,
            "line": 174,
            "ln": 6498,
            "s": "();\n      return r \u003e= 0 \u0026\u0026 r \u003c= 0xFFFFFFFF\n          ? (small: null, data: [for (var i = 3; i \u003e= 0; i--) (r \u003e\u003e (8 * i)) \u0026 0xFF])\n          : null;\n    case 13:\n      final r = v.round();\n      return r \u003e= -214"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "tryParse",
              247
            ],
            [
              "_",
              2409
            ],
            [
              "_",
              2753
            ],
            [
              "anonymous",
              4081
            ],
            [
              "anonymous",
              5394
            ],
            [
              "anonymous",
              5482
            ],
            [
              "_",
              6006
            ]
          ],
          "imp": [
            [
              "",
              "RegExp.firstMatch"
            ],
            [
              "",
              "RegExp"
            ],
            [
              "",
              "s.split"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "double"
            ],
            [
              "",
              "encodeDpt9"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "ByteData.sublistView"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "bd.getInt8.toDouble"
            ],
            [
              "",
              "bd.getInt8"
            ],
            [
              "",
              "dptUnit"
            ],
            [
              "",
              "canEncodeDpt"
            ],
            [
              "",
              "input.codeUnits.any"
            ],
            [
              "",
              "List.filled"
            ],
            [
              "",
              "RegExp.firstMatch"
            ],
            [
              "",
              "RegExp.firstMatch"
            ],
            [
              "",
              "RegExp.firstMatch"
            ],
            [
              "",
              "RegExp"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "RegExp.firstMatch"
            ],
            [
              "",
              "RegExp"
            ],
            [
              "",
              "RegExp.firstMatch"
            ],
            [
              "",
              "RegExp"
            ],
            [
              "",
              "final"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "RegExp"
            ],
            [
              "",
              "rgb.every"
            ],
            [
              "",
              "RegExp"
            ],
            [
              "",
              "v.toInt"
            ],
            [
              "",
              "v.round"
            ],
            [
              "",
              "v.round"
            ],
            [
              "",
              "v.round"
            ],
            [
              "",
              "v.round"
            ],
            [
              "",
              "v.round"
            ],
            [
              "",
              "ByteData.setFloat32"
            ],
            [
              "",
              "ByteData.setFloat32"
            ],
            [
              "",
              "ByteData"
            ],
            [
              "",
              "data.buffer.asUint8List"
            ],
            [
              "",
              "v.round"
            ],
            [
              "",
              "dart:typed_data"
            ]
          ],
          "mbr": [
            "ByteData.setFloat32",
            "ByteData.sublistView",
            "List.filled",
            "RegExp.firstMatch",
            "Uint8List.fromList",
            "bd.getInt8",
            "bd.getInt8.toDouble",
            "d.main",
            "d.sub",
            "data.buffer",
            "data.buffer.asUint8List",
            "data.isEmpty",
            "data.length",
            "dpt.main",
            "dpt.sub",
            "input.codeUnits",
            "input.codeUnits.any",
            "input.length",
            "int.parse",
            "int.tryParse",
            "p.isNotEmpty",
            "rgb.every",
            "rgb.length",
            "s.split",
            "s.split.first",
            "v.round",
            "v.toInt"
          ],
          "metrics": {
            "ast": {
              "call_count": 88,
              "max_array_length": 3,
              "max_depth": 46,
              "max_member_depth": 3,
              "max_numeric_sequence": 3,
              "member_count": 27,
              "node_count": 3071,
              "op.band": 15,
              "op.bor": 3,
              "op.coalesce": 2,
              "op.div": 4,
              "op.eq": 12,
              "op.ge": 12,
              "op.gt": 15,
              "op.land": 14,
              "op.le": 12,
              "op.lor": 11,
              "op.lt": 9,
              "op.mod": 1,
              "op.mul": 8,
              "op.ne": 5,
              "op.shl": 5,
              "op.shr": 9,
              "op.sub": 7,
              "op_density.band": 0,
              "op_density.bor": 0,
              "op_density.coalesce": 0,
              "op_density.div": 0,
              "op_density.eq": 0,
              "op_density.ge": 0,
              "op_density.gt": 0,
              "op_density.land": 0,
              "op_density.le": 0,
              "op_density.lor": 0,
              "op_density.lt": 0,
              "op_density.mod": 0,
              "op_density.mul": 0,
              "op_density.ne": 0,
              "op_density.shl": 0,
              "op_density.shr": 0,
              "op_density.sub": 0,
              "sequence_count": 28
            },
            "binary": {
              "peak_region_bytes": 5120,
              "peak_region_entropy": 5.36
            },
            "binds": {
              "count": 22
            },
            "comments": {
              "chars": 1135,
              "count": 15,
              "high_entropy": 3,
              "lines": 15,
              "to_code_ratio": 0.08,
              "xxx_count": 2
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_unknown": 1
            },
            "file": {
              "entropy": 5.15,
              "size": 7312
            },
            "functions": {
              "anonymous": 6,
              "avg_length_lines": 2.71,
              "avg_name_length": 8,
              "avg_param_name_length": 2,
              "avg_params": 0.71,
              "code_ratio": 0.1,
              "count": 2,
              "density": 3.54,
              "length_stddev": 2.91,
              "max_length_lines": 9,
              "max_params": 2,
              "min_length_lines": 1,
              "no_params_count": 3,
              "one_liners": 5,
              "single_char_params": 4
            },
            "identifiers": {
              "all_lowercase_ratio": 0.61,
              "all_uppercase_ratio": 0.01,
              "avg_entropy": 2.03,
              "avg_length": 5.58,
              "base64_like_names": 10,
              "count": 469,
              "has_digit_ratio": 0.15,
              "high_entropy_count": 1,
              "high_entropy_ratio": 0.01,
              "length_stddev": 3.08,
              "max_length": 15,
              "min_length": 1,
              "numeric_suffix_count": 13,
              "reuse_ratio": 0.21,
              "sequential_names": 12,
              "single_char_count": 13,
              "single_char_ratio": 0.13,
              "underscore_prefix_count": 5,
              "unique": 100
            },
            "imports": {
              "count": 1,
              "third_party_count": 1,
              "third_party_ratio": 1
            },
            "source": {
              "class_count": 1,
              "function_count": 1
            },
            "strings": {
              "avg_entropy": 1.41,
              "avg_length": 5.8,
              "bytes": 342,
              "count": 59,
              "empty_count": 2,
              "entropy_stddev": 1.23,
              "max_length": 42
            },
            "text": {
              "anonymous_function_ratio": 0.86,
              "avg_line_length": 35.93,
              "char_entropy": 5.15,
              "digit_ratio": 0.12,
              "empty_line_ratio": 0.08,
              "identifier_density": 2.37,
              "identifiers_to_functions_ratio": 14.29,
              "import_density": 0.51,
              "imports_to_functions_ratio": 0.14,
              "last_line_length": 1,
              "line_length_stddev": 31.12,
              "lines": 198,
              "max_line_length": 111,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0,
              "normalized_function_count": 0.5,
              "normalized_import_count": 0.07,
              "normalized_string_count": 4.19,
              "normalized_unique_identifiers": 13.11,
              "repeated_char_sequences": 8,
              "space_count": 1655,
              "string_density": 0.3,
              "strings_to_functions_ratio": 8.43,
              "suspicious_comment_ratio": 0.2,
              "suspicious_identifier_ratio": 0.22,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.04,
              "unique_chars": 102,
              "whitespace_ratio": 0.25
            }
          },
          "tgt": [
            "ByteData",
            "ByteData.setFloat32",
            "ByteData.sublistView",
            "Dpt",
            "List.filled",
            "RegExp",
            "RegExp.firstMatch",
            "Uint8List.fromList",
            "bd.getInt8",
            "bd.getInt8.toDouble",
            "canEncodeDpt",
            "data.buffer.asUint8List",
            "double",
            "dptNumericValue",
            "dptUnit",
            "encodeDpt9",
            "final",
            "input.codeUnits.any",
            "int.parse",
            "rgb.every",
            "s.split",
            "v.round",
            "v.toInt"
          ]
        },
        "id": 6,
        "mol": "H₂(CmDb₂)Md₂(Pa₂Pt)",
        "path": "knx-0.2.1.tar.gz!!lib/src/dpt.dart",
        "pid": 0,
        "risk": 5,
        "sha": "573395a08308cdfa0f7b9a1248387902e159f36ab95b7f14ded6e02d87e71c45",
        "sid": 6662855845,
        "size": 7312,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/file/extension/identity::dart-source-basename"
              }
            ],
            "crit": "notable",
            "id": "micro-behaviors/os/module/require::esm-side-effect-package-import",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Comma-operator sequence of numeric literals",
            "id": "metadata/lang/javascript-features::js-numeric-comma-sequence"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript or TypeScript file under src",
            "id": "metadata/package/files/name::javascript-src-tree-member"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript-family source file under lib",
            "id": "metadata/package/files/runtime::javascript-family-lib-tree-artifact"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "References the Telegram service name",
            "id": "micro-behaviors/communications/http/services/telegram::telegram-service-name-reference",
            "spans": [
              [
                1400,
                8
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Source contains low-bit mask syntax",
            "id": "micro-behaviors/data/arithmetic::lsb-bit-mask-source",
            "spans": [
              [
                1288,
                5
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Constructs JavaScript regexes at multiple sites",
            "id": "micro-behaviors/data/string/search::repeated-js-regexp-construction",
            "spans": [
              [
                294,
                6
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:typed_data",
            "id": "metadata/import/npm/dart-typed_data::dart-typed_data",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                83,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                1430,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                1124,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                131,
                0
              ]
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import 'dart:typed_data';\n\nimport 'dpt.dart';\nimport 'telegram.dart';\n\n/// Guessed datapoint type of a group address without a project.\n///\n/// Based purely on overheard telegrams (length, value range) and possibly the name someone\n/// assigned. For learning without an ETS project, plain-text display and later the survey of\n/// foreign installations.\nclass DptGuess {\n  const DptGuess(this.dpt, {this.fromName = false});\n\n  final Dpt dpt;\n\n  /// The name determined the subtype (e.g. \""
          },
          {
            "col": 67,
            "line": 16,
            "ln": 508,
            "s": ").\n  final bool fromName;\n\n  @override\n  String toString() =\u003e '$dpt${fromName ? ' (Name)' : ''}';\n}\n\n/// Guesses the DPT from [samples] (read telegrams do not count). [name] refines the subtype, e.g.\n/// \"Rollladen\" â 1.008, \"Temperatur\" â 9.001. `null` if ther"
          },
          {
            "col": 40,
            "line": 25,
            "ln": 838,
            "s": "amples, {String? name}) {\n  final values = [\n    for (final t in samples)\n      if (t.type != TelegramType.read) t,\n  ];\n  if (values.isEmpty) return null;\n  final hint = _hint(name);\n\n "
          },
          {
            "col": 27,
            "line": 33,
            "ln": 1049,
            "s": "t.isSmall)) {\n    final max = values.map((t) =\u003e t.data.isEmpty ? 0 : t.data[0]).reduce((a, b) =\u003e a \u003e b ? a : b);\n    if (max \u003e 1) return DptGuess(Dpt(3, hint == _Hint.blind ? 8 : 7), fromName: hint == _Hint.blind);\n    final sub = switch (hint)"
          },
          {
            "col": 67,
            "line": 47,
            "ln": 1628,
            "s": "reduce((a, b) =\u003e a \u003e b ? a : b);\n  final last = values.lastWhere((t) =\u003e !t.isSmall \u0026\u0026 t.data.length == length).data;\n  switch (length) {\n    case 1:\n      return swi"
          },
          {
            "col": 26,
            "line": 82,
            "ln": 3016,
            "s": "ss(Dpt(16, 0));\n  }\n  return null;\n}\n\n/// Types that match a payload length (0 = â¤ 6 bit), for the selection while learning. The guessed\n/// type "
          },
          {
            "col": 54,
            "line": 106,
            "ln": 4157,
            "s": "const Dpt(11, 1);\n  if ((d[0] \u0026 0x1F) \u003c 24 \u0026\u0026 d[1] \u003c 60 \u0026\u0026 d[2] \u003c 60) return const Dpt(10, 1);\n  ret"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "anonymous",
              1042
            ],
            [
              "anonymous",
              1090
            ],
            [
              "anonymous",
              1136
            ],
            [
              "anonymous",
              1590
            ],
            [
              "anonymous",
              1635
            ],
            [
              "anonymous",
              1693
            ],
            [
              "_",
              2084
            ],
            [
              "_",
              2340
            ],
            [
              "_",
              3743
            ],
            [
              "anonymous",
              5763
            ]
          ],
          "imp": [
            [
              "",
              "guessDpt"
            ],
            [
              "",
              "values.every"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "values.map.reduce"
            ],
            [
              "",
              "values.map"
            ],
            [
              "",
              "values.lastWhere"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "_threeBytes"
            ],
            [
              "",
              "ByteData.sublistView.getFloat32"
            ],
            [
              "",
              "ByteData.sublistView"
            ],
            [
              "",
              "f.abs"
            ],
            [
              "",
              "f.abs"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "DptGuess"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptCandidates"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "payloadLength"
            ],
            [
              "",
              "_threeBytes"
            ],
            [
              "",
              "name"
            ],
            [
              "",
              "name.trim"
            ],
            [
              "",
              "name.toLowerCase"
            ],
            [
              "",
              "name.toLowerCase"
            ],
            [
              "",
              "name.toLowerCase"
            ],
            [
              "",
              "_Hint.values.where"
            ],
            [
              "",
              "dart:typed_data"
            ],
            [
              "",
              "dpt.dart"
            ],
            [
              "",
              "telegram.dart"
            ]
          ],
          "mbr": [
            "ByteData.sublistView",
            "ByteData.sublistView.getFloat32",
            "TelegramType.read",
            "_Hint.angle",
            "_Hint.blind",
            "_Hint.co2",
            "_Hint.counter",
            "_Hint.energy",
            "_Hint.humidity",
            "_Hint.lux",
            "_Hint.power",
            "_Hint.scene",
            "_Hint.temperature",
            "_Hint.values",
            "_Hint.values.where",
            "_Hint.wind",
            "f.abs",
            "f.isFinite",
            "n.contains",
            "name.toLowerCase",
            "name.trim",
            "name.trim.isEmpty",
            "t.data",
            "t.data.isEmpty",
            "t.data.length",
            "t.isSmall",
            "t.type",
            "values.every",
            "values.isEmpty",
            "values.last",
            "values.last.time",
            "values.last.time.year",
            "values.lastWhere",
            "values.lastWhere.data",
            "values.map",
            "values.map.reduce"
          ],
          "metrics": {
            "ast": {
              "call_count": 98,
              "max_array_length": 10,
              "max_depth": 24,
              "max_member_depth": 4,
              "member_count": 36,
              "node_count": 2256,
              "op.band": 1,
              "op.coalesce": 1,
              "op.eq": 7,
              "op.ge": 2,
              "op.gt": 14,
              "op.land": 10,
              "op.le": 3,
              "op.lnot": 1,
              "op.lor": 2,
              "op.lt": 8,
              "op.mod": 1,
              "op.ne": 4,
              "op.sub": 1,
              "op_density.band": 0,
              "op_density.coalesce": 0,
              "op_density.eq": 0,
              "op_density.ge": 0,
              "op_density.gt": 0.01,
              "op_density.land": 0,
              "op_density.le": 0,
              "op_density.lnot": 0,
              "op_density.lor": 0,
              "op_density.lt": 0,
              "op_density.mod": 0,
              "op_density.ne": 0,
              "op_density.sub": 0,
              "sequence_count": 1
            },
            "binary": {
              "peak_region_bytes": 5860,
              "peak_region_entropy": 4.92
            },
            "binds": {
              "count": 6
            },
            "comments": {
              "chars": 980,
              "count": 15,
              "high_entropy": 1,
              "lines": 15,
              "to_code_ratio": 0.1
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_unknown": 1
            },
            "file": {
              "entropy": 5.04,
              "size": 5860
            },
            "functions": {
              "anonymous": 10,
              "avg_length_lines": 1.6,
              "avg_param_name_length": 1,
              "avg_params": 0.9,
              "code_ratio": 0.08,
              "count": 1,
              "density": 5.99,
              "length_stddev": 1.28,
              "max_length_lines": 5,
              "max_params": 2,
              "min_length_lines": 1,
              "no_params_count": 3,
              "one_liners": 8,
              "single_char_params": 9
            },
            "identifiers": {
              "all_lowercase_ratio": 0.7,
              "all_uppercase_ratio": 0.01,
              "avg_entropy": 2.05,
              "avg_length": 5.54,
              "base64_like_names": 1,
              "count": 346,
              "has_digit_ratio": 0.02,
              "high_entropy_count": 1,
              "high_entropy_ratio": 0.01,
              "length_stddev": 3.02,
              "max_length": 14,
              "min_length": 1,
              "numeric_suffix_count": 2,
              "reuse_ratio": 0.24,
              "sequential_names": 7,
              "single_char_count": 8,
              "single_char_ratio": 0.1,
              "underscore_prefix_count": 5,
              "unique": 82
            },
            "imports": {
              "count": 3,
              "third_party_count": 3,
              "third_party_ratio": 1
            },
            "references": {
              "declared_count": 1,
              "security_hold_count": 0,
              "unavailable_command_count": 0,
              "unresolved_count": 1,
              "unresolved_extension_count": 0
            },
            "source": {
              "class_count": 1
            },
            "strings": {
              "avg_entropy": 2.4,
              "avg_length": 7.12,
              "bytes": 484,
              "count": 68,
              "entropy_stddev": 0.6,
              "max_length": 17
            },
            "text": {
              "anonymous_function_ratio": 1,
              "avg_line_length": 34.09,
              "char_entropy": 5.04,
              "digit_ratio": 0.07,
              "empty_line_ratio": 0.08,
              "identifier_density": 2.07,
              "identifiers_to_functions_ratio": 8.2,
              "import_density": 1.8,
              "imports_to_functions_ratio": 0.3,
              "last_line_length": 1,
              "line_length_stddev": 30.76,
              "lines": 167,
              "max_line_length": 115,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0,
              "normalized_function_count": 0.77,
              "normalized_import_count": 0.23,
              "normalized_string_count": 5.26,
              "normalized_unique_identifiers": 11.11,
              "space_count": 1095,
              "string_density": 0.41,
              "strings_to_functions_ratio": 6.8,
              "suspicious_comment_ratio": 0.07,
              "suspicious_identifier_ratio": 0.1,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.06,
              "unique_chars": 90,
              "whitespace_ratio": 0.22
            }
          },
          "tgt": [
            "ByteData.sublistView",
            "ByteData.sublistView.getFloat32",
            "Dpt",
            "DptGuess",
            "_Hint.values.where",
            "_threeBytes",
            "dptCandidates",
            "f.abs",
            "guessDpt",
            "name",
            "name.toLowerCase",
            "name.trim",
            "payloadLength",
            "values.every",
            "values.lastWhere",
            "values.map",
            "values.map.reduce"
          ]
        },
        "id": 7,
        "mol": "K(Te)H₂(CmDb)Md₂(InPa₂)",
        "path": "knx-0.2.1.tar.gz!!lib/src/dpt_guess.dart",
        "pid": 0,
        "risk": 5,
        "sha": "16748f74691eb3c1d9cb0a15ef8fe075dbcd31f81a2248a6b81ba637509f92f2",
        "sid": 6662855841,
        "size": 5860,
        "supp": [
          {
            "by": [
              {
                "id": "tree-sitter",
                "spans": [
                  [
                    809,
                    52
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/lang/source/shape::javascript-literal-tables-pure-helpers",
            "kind": "unless"
          },
          {
            "by": [
              {
                "id": "metadata/file/extension/identity::dart-source-basename"
              }
            ],
            "crit": "notable",
            "id": "micro-behaviors/os/module/require::esm-side-effect-package-import",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports telegram.dart",
            "id": "metadata/import/npm/telegram/dart::telegram/dart",
            "spans": [
              [
                53,
                13
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript or TypeScript file under src",
            "id": "metadata/package/files/name::javascript-src-tree-member"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript-family source file under lib",
            "id": "metadata/package/files/runtime::javascript-family-lib-tree-artifact"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "References the Telegram service name",
            "id": "micro-behaviors/communications/http/services/telegram::telegram-service-name-reference",
            "spans": [
              [
                54,
                8
              ]
            ]
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "Calls a property using bracket notation",
            "id": "micro-behaviors/data/control-flow/dispatch::js-computed-property-call",
            "spans": [
              [
                629,
                16
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Parser string density \u003c=0.9 strings/line",
            "id": "metadata/file/profile/string-population::source-strings-per-line-at-most-0-9"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Source whitespace ratio \u003e=20%",
            "id": "metadata/file/profile/text-shape::source-whitespace-at-least-twenty-percent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:typed_data",
            "id": "metadata/import/npm/dart-typed_data::dart-typed_data",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dpt.dart",
            "id": "metadata/import/npm/dpt/dart::dpt/dart",
            "spans": [
              [
                34,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Payload/data member-name reference",
            "id": "metadata/lang/source/syntax/member::message-payload-data-member-name",
            "spans": [
              [
                1097,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Type member-name reference",
            "id": "metadata/lang/source/syntax/member::message-type-member-name",
            "spans": [
              [
                922,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "for loop (content)",
            "id": "micro-behaviors/data/control-flow/analysis::for-loop-content",
            "spans": [
              [
                886,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                645,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                215,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                202,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                3064,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                246,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                387,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Alpine Dart SDK package",
            "id": "well-known/tool/sysadmin/alpine-packages/package::alpine-dart-sdk-package"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Known benign global-object alias context",
            "id": "metadata/lang/source/declaration::js-assign-common-root-known-benign-context",
            "uses": [
              6
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 8,
        "path": "knx-0.2.1.tar.gz!!lib/src/knxip.dart",
        "pid": 0,
        "risk": 0,
        "sha": "6a6ed9140f5f3875421a3cdf6ae8a083b7460d979741bfe0d7686e731d07470e",
        "sid": 6662855848,
        "size": 2500,
        "type": "javascript"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import 'dart:convert';\nimport 'dart:typed_data';\n\nimport 'knx_crypto.dart';\n\n/// Result of receiving a frame.\nenum SecureResult {\n  /// Not a Data Secure frame.\n  plain"
          },
          {
            "col": 1,
            "line": 10,
            "ln": 170,
            "s": "\n  /// Decrypted or verified.\n  decrypted,\n\n  /// Data Secure, but no key for the group address.\n  noKey,\n\n  /// Invalid MAC or sequence number (replay, tampering, foreign sende"
          },
          {
            "col": 28,
            "line": 21,
            "ln": 392,
            "s": "up telegrams (S-A_Data, AN158): decrypts received telegrams and encrypts our\n/// own telegrams to secured addresses. Structure modelled on xknx (MIT), verified"
          },
          {
            "col": 86,
            "line": 22,
            "ln": 554,
            "s": "ainst its examples;\n/// license notice in the package's NOTICE file.\nclass DataSecure {\n  DataSecure({required this.groupKeys, required Map\u003cint, int\u003e sequenceNumbers, int? sequenceStart})\n    : _lastSeq = Map.of"
          },
          {
            "col": 44,
            "line": 30,
            "ln": 984,
            "s": "bject?\u003e j) =\u003e DataSecure(\n    groupKeys: {\n      for (final MapEntry(:key, :value) in ((j['groupKeys'] as Map?) ?? const {}).entries)\n        int.pars"
          },
          {
            "col": 16,
            "line": 42,
            "ln": 1398,
            "s": ", int\u003e _lastSeq;\n  int _sendSeq;\n\n  /// Called after a received telegram advanced a sender's counter. Whoever keeps [lastSequences]\n  /// across restarts makes sure older recorded telegrams do not count as valid again.\n  void Function()? onSequence;\n\n  /// Highest accepted sequence number per sender (individual address).\n  Map\u003cint, int\u003e get lastSequences =\u003e Map"
          },
          {
            "col": 105,
            "line": 53,
            "ln": 1983,
            "s": "conds;\n\n  /// Whether [cemi] is an L_Data frame with a secured APDU (S-A_Data).\n  static bool isSecure(List\u003cint\u003e cemi) {\n    if (cemi.length \u003c 2) return false;\n    final i = 2 + cemi[1];\n    return cemi.length \u003e i + 9 \u0026\u0026 cemi[i + 7] \u0026 0x03 == 0x03 \u0026\u0026 cemi[i + 8] == 0xF1;\n  }\n\n  static List\u003cint\u003e _block0(List\u003cint\u003e seq, List\u003cint\u003e addresses, int ctrl2, int tpci,"
          },
          {
            "col": 7,
            "line": 64,
            "ln": 2379,
            "s": ".addresses,\n    0,\n    (ctrl2 \u0026 0x80) | (ctrl2 \u0026 0x0F),\n    (tpci \u003c\u003c 2) + 0x03,\n    0xF1,\n    0,\n    length,\n  ];\n\n  /// Decrypts a received frame. With [SecureResult"
          },
          {
            "col": 62,
            "line": 83,
            "ln": 3026,
            "s": "system broadcast.\n    if (scf \u0026 0x07 != 0 || scf \u0026 0x88 != 0 || ctrl2 \u0026 0x80 == 0) return (SecureResult.invalid, cemi);"
          },
          {
            "col": 3,
            "line": 98,
            "ln": 3698,
            "s": "  final tpci = (tpdu[0] \u003e\u003e 2) \u0026 0x3F;\n    final Uint8List apdu;\n    if ((scf \u003e\u003e 4) \u0026 0x07 == 1) {\n  "
          },
          {
            "col": 50,
            "line": 108,
            "ln": 4110,
            "s": "Tr)) return (SecureResult.invalid, cemi);\n      apdu = plain;\n    } else {\n      final expected = cbcMac(key, [scf, ...secured], block0: _block0(seqBytes, ad"
          },
          {
            "col": 13,
            "line": 122,
            "ln": 4662,
            "s": ".length - 1,\n        (tpdu[0] \u0026 0xFC) | (apdu[0] \u0026 0x03),\n        ...apdu.sublist(1),\n      ]),\n    "
          },
          {
            "col": 51,
            "line": 130,
            "ln": 4899,
            "s": "s remain unchanged.\n  Uint8List send(Uint8List cemi, {required int source}) {\n    if (cemi.length \u003c "
          },
          {
            "col": 9,
            "line": 143,
            "ln": 5443,
            "s": "l seqBytes = [for (var b = 5; b \u003e= 0; b--) (seq \u003e\u003e (8 * b)) \u0026 0xFF];\n    final addresses = [source \u003e\u003e 8, source \u0026 0xFF, destination \u003e\u003e 8, destination \u0026 0xFF];\n    const scf = 0x10; // CCM encryption, S-A_Data\n    final mac = cbcMac(key, [scf], payload: apdu, blo"
          },
          {
            "col": 70,
            "line": 152,
            "ln": 6141,
            "s": "t 7 = 0).\n      npdu \u003e 15 ? cemi[i] \u0026 0x7F : cemi[i],\n      ctrl2,\n      ...addresses,\n      npdu,\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "j",
              992
            ]
          ],
          "imp": [
            [
              "",
              "Map.of"
            ],
            [
              "",
              "_initialSequence"
            ],
            [
              "",
              "DataSecure"
            ],
            [
              "",
              "MapEntry"
            ],
            [
              "",
              "base64.decode"
            ],
            [
              "",
              "sequenceNumbers"
            ],
            [
              "",
              "MapEntry"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "DateTime.utc"
            ],
            [
              "",
              "_block0"
            ],
            [
              "",
              "isSecure"
            ],
            [
              "",
              "cemi.sublist"
            ],
            [
              "",
              "tpdu.sublist"
            ],
            [
              "",
              "tpdu.sublist"
            ],
            [
              "",
              "tpdu.sublist"
            ],
            [
              "",
              "cemi.sublist"
            ],
            [
              "",
              "apdu"
            ],
            [
              "",
              "cbcMac"
            ],
            [
              "",
              "cbcMac"
            ],
            [
              "",
              "cbcMac"
            ],
            [
              "",
              "_block0"
            ],
            [
              "",
              "bytesEqual"
            ],
            [
              "",
              "expected.sublist"
            ],
            [
              "",
              "cbcMac"
            ],
            [
              "",
              "_block0"
            ],
            [
              "",
              "_block0"
            ],
            [
              "",
              "_block0"
            ],
            [
              "",
              "bytesEqual"
            ],
            [
              "",
              "expected.sublist"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "onSequence.call"
            ],
            [
              "",
              "onSequence.call"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "cemi.sublist"
            ],
            [
              "",
              "apdu.sublist"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "cemi.sublist"
            ],
            [
              "",
              "tpdu.sublist"
            ],
            [
              "",
              "cbcMac"
            ],
            [
              "",
              "cbcMac"
            ],
            [
              "",
              "_block0"
            ],
            [
              "",
              "ctr"
            ],
            [
              "",
              "mac.sublist"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "cemi.sublist"
            ],
            [
              "",
              "dart:convert"
            ],
            [
              "",
              "dart:typed_data"
            ],
            [
              "",
              "knx_crypto.dart"
            ]
          ],
          "mbr": [
            "DateTime.utc",
            "Map.of",
            "SecureResult.decrypted",
            "SecureResult.invalid",
            "SecureResult.noKey",
            "SecureResult.plain",
            "Uint8List.fromList",
            "apdu.length",
            "apdu.sublist",
            "base64.decode",
            "cemi.length",
            "cemi.sublist",
            "expected.sublist",
            "int.parse",
            "j.groupKeys",
            "j.sequence",
            "mac.sublist",
            "onSequence.call",
            "plain.length",
            "secureTpdu.length",
            "tpdu.length",
            "tpdu.sublist"
          ],
          "metrics": {
            "ast": {
              "call_count": 69,
              "max_array_length": 8,
              "max_concat_chain": 2,
              "max_depth": 26,
              "max_member_depth": 2,
              "member_count": 22,
              "node_count": 1893,
              "op.add": 23,
              "op.band": 16,
              "op.bor": 6,
              "op.coalesce": 3,
              "op.eq": 8,
              "op.ge": 1,
              "op.gt": 7,
              "op.land": 2,
              "op.le": 1,
              "op.lnot": 3,
              "op.lor": 4,
              "op.lt": 9,
              "op.mul": 1,
              "op.ne": 2,
              "op.shl": 6,
              "op.shr": 6,
              "op.sub": 4,
              "op_density.add": 0.01,
              "op_density.band": 0.01,
              "op_density.bor": 0,
              "op_density.coalesce": 0,
              "op_density.eq": 0,
              "op_density.ge": 0,
              "op_density.gt": 0,
              "op_density.land": 0,
              "op_density.le": 0,
              "op_density.lnot": 0,
              "op_density.lor": 0,
              "op_density.lt": 0,
              "op_density.mul": 0,
              "op_density.ne": 0,
              "op_density.shl": 0,
              "op_density.shr": 0,
              "op_density.sub": 0,
              "self_compare_count": 1
            },
            "binary": {
              "peak_region_bytes": 6144,
              "peak_region_entropy": 4.92
            },
            "binds": {
              "count": 22
            },
            "comments": {
              "chars": 1360,
              "count": 21,
              "high_entropy": 1,
              "lines": 21,
              "to_code_ratio": 0.15
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_unknown": 1
            },
            "file": {
              "entropy": 4.95,
              "size": 6275
            },
            "functions": {
              "anonymous": 1,
              "avg_length_lines": 2,
              "code_ratio": 0.01,
              "density": 0.63,
              "max_length_lines": 2,
              "min_length_lines": 2,
              "no_params_count": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.59,
              "avg_entropy": 2.24,
              "avg_length": 6.35,
              "base64_like_names": 1,
              "count": 432,
              "has_digit_ratio": 0.06,
              "length_stddev": 3.24,
              "max_length": 16,
              "min_length": 1,
              "numeric_suffix_count": 4,
              "reuse_ratio": 0.19,
              "sequential_names": 3,
              "single_char_count": 3,
              "single_char_ratio": 0.04,
              "underscore_prefix_count": 4,
              "unique": 83
            },
            "imports": {
              "count": 3,
              "third_party_count": 3,
              "third_party_ratio": 1
            },
            "references": {
              "declared_count": 1,
              "security_hold_count": 0,
              "unavailable_command_count": 0,
              "unresolved_count": 1,
              "unresolved_extension_count": 0
            },
            "strings": {
              "avg_entropy": 2.75,
              "avg_length": 9.13,
              "bytes": 73,
              "count": 8,
              "entropy_stddev": 0.56,
              "max_length": 15
            },
            "text": {
              "anonymous_function_ratio": 1,
              "avg_line_length": 38.22,
              "char_entropy": 4.95,
              "digit_ratio": 0.05,
              "empty_line_ratio": 0.09,
              "identifier_density": 2.7,
              "identifiers_to_functions_ratio": 83,
              "import_density": 1.88,
              "imports_to_functions_ratio": 3,
              "last_line_length": 1,
              "line_length_stddev": 31.21,
              "lines": 160,
              "max_line_length": 114,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0,
              "normalized_function_count": 0.08,
              "normalized_import_count": 0.24,
              "normalized_string_count": 0.63,
              "normalized_unique_identifiers": 11.34,
              "space_count": 1276,
              "string_density": 0.05,
              "strings_to_functions_ratio": 8,
              "suspicious_comment_ratio": 0.05,
              "suspicious_identifier_ratio": 0.05,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 85,
              "whitespace_ratio": 0.23
            }
          },
          "tgt": [
            "DataSecure",
            "DateTime.utc",
            "Map.of",
            "MapEntry",
            "Uint8List",
            "Uint8List.fromList",
            "_block0",
            "_initialSequence",
            "apdu",
            "apdu.sublist",
            "base64.decode",
            "bytesEqual",
            "cbcMac",
            "cemi.sublist",
            "ctr",
            "expected.sublist",
            "int.parse",
            "isSecure",
            "mac.sublist",
            "onSequence.call",
            "sequenceNumbers",
            "tpdu.sublist"
          ]
        },
        "id": 9,
        "mol": "K(Te)H₃(CmDb)Md(Pa₂)",
        "path": "knx-0.2.1.tar.gz!!lib/src/secure/data_secure.dart",
        "pid": 0,
        "risk": 5,
        "sha": "5f0294974c40c8c3e56a1546eb9cbe94a178c739282866a8810e04c1866d398d",
        "sid": 6662855847,
        "size": 6275,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/file/extension/identity::dart-source-basename"
              }
            ],
            "crit": "notable",
            "id": "micro-behaviors/os/module/require::esm-side-effect-package-import",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript or TypeScript file under src",
            "id": "metadata/package/files/name::javascript-src-tree-member"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript-family source file under lib",
            "id": "metadata/package/files/runtime::javascript-family-lib-tree-artifact"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "References the Telegram service name",
            "id": "micro-behaviors/communications/http/services/telegram::telegram-service-name-reference",
            "spans": [
              [
                1462,
                8
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Computed property access with addition",
            "id": "micro-behaviors/data/property/access::js-addition-indexed-access",
            "spans": [
              [
                2204,
                11
              ]
            ]
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "JavaScript Function constructor in source text",
            "id": "micro-behaviors/metaprogramming/generation::js-function-ctor-call-text",
            "spans": [
              [
                1624,
                9
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Parser string density \u003c=0.9 strings/line",
            "id": "metadata/file/profile/string-population::source-strings-per-line-at-most-0-9"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Source whitespace ratio \u003e=20%",
            "id": "metadata/file/profile/text-shape::source-whitespace-at-least-twenty-percent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:convert",
            "id": "metadata/import/npm/dart-convert::dart-convert",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:typed_data",
            "id": "metadata/import/npm/dart-typed_data::dart-typed_data",
            "spans": [
              [
                30,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports knx_crypto.dart",
            "id": "metadata/import/npm/knx_crypto/dart::knx_crypto/dart",
            "spans": [
              [
                57,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "for loop (content)",
            "id": "micro-behaviors/data/control-flow/analysis::for-loop-content",
            "spans": [
              [
                1032,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-transfer-verb-token",
            "spans": [
              [
                4931,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                248,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                452,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                244,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                2031,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                665,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Marks text as an agent directive",
            "id": "micro-behaviors/data/llm/repository-directive::repository-agent-directive-marker",
            "spans": [
              [
                586,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Alpine Dart SDK package",
            "id": "well-known/tool/sysadmin/alpine-packages/package::alpine-dart-sdk-package"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Known benign global-object alias context",
            "id": "metadata/lang/source/declaration::js-assign-common-root-known-benign-context",
            "uses": [
              6
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 10,
        "path": "knx-0.2.1.tar.gz!!lib/src/secure/ip_secure.dart",
        "pid": 0,
        "risk": 0,
        "sha": "93c6472137d4cea8b960d12471f1f7f0ddad534b8a67f7ae5076c42cf02adb9f",
        "sid": 6662855851,
        "size": 7376,
        "type": "javascript"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import 'dart:convert';\nimport 'dart:math';\nimport 'dart:typed_data';\n\nimport 'package:pointycastle/export.dart';\n\n/// Cryptographic building blocks for KNX Secure (IP Secure and Data Secure).\n///\n/// KNX uses AES-128 in CCM mode, but with its own block formatting: the MAC is computed via CBC\n/// over \"block 0 + length of additional data + additional data + payload\", encryption uses CTR,\n/// with counter 0 encrypting the MAC. Algorithms according to AN158/AN159 of the KNX Associa"
          },
          {
            "col": 51,
            "line": 12,
            "ln": 539,
            "s": "tructure modelled on xknx (MIT, notice in the\n/// package's NOTICE file).\n\nUint8List _aesBlock(Uint8List key, Uint8List block) {\n  final aes = AESEngine()..init(true, KeyParameter(key));\n  final out = Uint8List(16);\n  aes.processBlock(block, 0, out,"
          },
          {
            "col": 5,
            "line": 25,
            "ln": 1052,
            "s": "nal data = BytesBuilder()\n    ..add(block0 ?? Uint8List(16))\n    ..add([additionalData.length \u003e\u003e 8, additionalData.length \u0026 0xFF])\n    ..add(additionalData)\n    ..add(payload);\n  var bytes = dat"
          },
          {
            "col": 16,
            "line": 32,
            "ln": 1389,
            "s": "t8List.fromList(key);\n  var y = Uint8List(16);\n  for (var i = 0; i \u003c bytes.length; i += 16) {\n    final block = Uint8List(16);\n    for (var j = 0; j \u003c 16; j++) {\n      block[j] = y[j] ^ bytes[i + j];\n    }\n    y = _aesBlock(k, block);\n  }\n  return y;\n}\n\n/// AES-CTR from [counter0] as one continuous key stream: [mac] is processed first, [payload]\n/// directly after it (with Data Secure the M"
          },
          {
            "col": 67,
            "line": 46,
            "ln": 1902,
            "s": "sed MAC) â encryption and\n/// decryption are the same operation.\n(Uint8List data, Uint8List mac) ctr(Lis"
          },
          {
            "col": 32,
            "line": 51,
            "ln": 2205,
            "s": "load];\n  final out = Uint8List(input.length);\n  for (var i = 0; i \u003c input.length; i += 16) {\n    final s = _aesBlock(k, counter);\n    for (var j = 0; j \u003c 16 \u0026\u0026 i + j \u003c input.length; j++) {\n      out[i + j] = input[i + j] ^ s[j];\n    }\n    // Increment the counter as a 128-bit number.\n    for (var b = 15; b \u003e= 0; b--) {\n      counter[b] = (counter[b] "
          },
          {
            "col": 36,
            "line": 71,
            "ln": 3012,
            "s": "data);\n  final out = Uint8List(input.length);\n  for (var i = 0; i + 16 \u003c= input.length; i += 16) {\n    cipher.processBlock(input, i, out, i);\n  }\n  return out;\n}\n\nUint8List pbkdf2Sha256(List\u003ci"
          },
          {
            "col": 71,
            "line": 79,
            "ln": 3245,
            "s": "s = 65536, int length = 16}) {\n  final kdf = PBKDF2KeyDerivator(HMac(SHA256Digest(), 64))\n    ..init(Pbkdf2Parameters(Uint8List.fromList(utf8.encode(salt)), iterations, length));\n  return kdf.process(Uint8List.fromList(password));\n}\n\nUint8List sha256(List\u003cint\u003e data) =\u003e SHA256Digest().process(Uint8List.fromList(data));\n\n/// User password of a secure tunnel â key.\nUint8List d"
          },
          {
            "col": 59,
            "line": 96,
            "ln": 4013,
            "s": "Sha256(utf8.encode(password), '1.keyring.ets.knx.org');\n\n// --- X25519 (RFC 7748) --------------------------------------------------------------\n\nfinal _p = (BigInt.one \u003c\u003c 255) - BigInt.from(19);\nfinal _a24 = BigInt.from(121665);\n\nBigInt _decodeLE(List\u003cint\u003e b) {\n  var "
          },
          {
            "col": 1,
            "line": 106,
            "ln": 4343,
            "s": "    r = (r \u003c\u003c 8) | BigInt.from(b[i]);\n  }\n  return r;\n}\n\nUint8List _encodeLE(BigInt v) {\n  final out = Uint8List(32);\n  var x = v;\n  for (var i = 0; i \u003c 32; i++) {\n    out[i] = (x \u0026 BigInt.from(0xFF)).toInt();\n    x \u003e\u003e= 8;\n  }\n  return out;\n}\n\n/// Scalar multiplication on Curve25519 (Montgomery ladder).\nUint8List x25519(List\u003cint\u003e scalar, List\u003cint\u003e uCoordinate) {\n  final k = Uint8List.fromList(scalar);\n  k[0] \u0026= 248;\n  k[31] \u0026= 127;\n  k[31] |= 64"
          },
          {
            "col": 11,
            "line": 140,
            "ln": 5204,
            "s": "a = (x2 + z2) % _p;\n    final aa = (a * a) % _p;\n    final b = (x2 - z2) % _p;\n    final bb = (b * b) % _p;\n    final e = (aa - bb) % _p;\n    final c = (x3 + z3) % _p;\n    final d = (x3 - z3) % _p;\n "
          },
          {
            "col": 36,
            "line": 179,
            "ln": 6321,
            "s": "(r'\\s'), '');\n  return Uint8List.fromList([\n    for (var i = 0; i \u003c clean.length; i += 2) int.parse(clean.substring(i, i + 2), radix: 16),\n  ]);\n}\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "anonymous",
              5953
            ]
          ],
          "imp": [
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "final.init"
            ],
            [
              "",
              "AESEngine"
            ],
            [
              "",
              "KeyParameter"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "aes.processBlock"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "final.add.add.add.add"
            ],
            [
              "",
              "final.add.add.add"
            ],
            [
              "",
              "final.add.add"
            ],
            [
              "",
              "final.add"
            ],
            [
              "",
              "BytesBuilder"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "data.takeBytes"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "List.filled"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "_aesBlock"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "_aesBlock"
            ],
            [
              "",
              "Uint8List.sublistView"
            ],
            [
              "",
              "Uint8List.sublistView"
            ],
            [
              "",
              "aesCbcDecrypt"
            ],
            [
              "",
              "CBCBlockCipher.init"
            ],
            [
              "",
              "CBCBlockCipher"
            ],
            [
              "",
              "AESEngine"
            ],
            [
              "",
              "ParametersWithIV"
            ],
            [
              "",
              "KeyParameter"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "cipher.processBlock"
            ],
            [
              "",
              "pbkdf2Sha256"
            ],
            [
              "",
              "PBKDF2KeyDerivator.init.process"
            ],
            [
              "",
              "PBKDF2KeyDerivator.init"
            ],
            [
              "",
              "PBKDF2KeyDerivator"
            ],
            [
              "",
              "HMac"
            ],
            [
              "",
              "SHA256Digest"
            ],
            [
              "",
              "Pbkdf2Parameters"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "utf8.encode"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "sha256"
            ],
            [
              "",
              "SHA256Digest.process"
            ],
            [
              "",
              "SHA256Digest"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "deriveUserPassword"
            ],
            [
              "",
              "pbkdf2Sha256"
            ],
            [
              "",
              "latin1.encode"
            ],
            [
              "",
              "deriveDeviceAuthentication"
            ],
            [
              "",
              "pbkdf2Sha256"
            ],
            [
              "",
              "latin1.encode"
            ],
            [
              "",
              "deriveKeyringPassword"
            ],
            [
              "",
              "pbkdf2Sha256"
            ],
            [
              "",
              "utf8.encode"
            ],
            [
              "",
              "BigInt.from"
            ],
            [
              "",
              "BigInt.from"
            ],
            [
              "",
              "BigInt"
            ],
            [
              "",
              "BigInt.from"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "BigInt.from"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "_decodeLE"
            ],
            [
              "",
              "_decodeLE"
            ],
            [
              "",
              "_encodeLE"
            ],
            [
              "",
              "z2.modPow"
            ],
            [
              "",
              "Random.secure"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "List.generate"
            ],
            [
              "",
              "r.nextInt"
            ],
            [
              "",
              "Uint8List"
            ],
            [
              "",
              "x25519"
            ],
            [
              "",
              "bytesEqual"
            ],
            [
              "",
              "fromHex"
            ],
            [
              "",
              "s.replaceAll.fromList"
            ],
            [
              "",
              "s.replaceAll"
            ],
            [
              "",
              "RegExp"
            ],
            [
              "",
              "int.parse"
            ],
            [
              "",
              "clean.substring"
            ],
            [
              "",
              "dart:convert"
            ],
            [
              "",
              "dart:math"
            ],
            [
              "",
              "dart:typed_data"
            ],
            [
              "",
              "package:pointycastle/export.dart"
            ]
          ],
          "mbr": [
            "BigInt.from",
            "BigInt.one",
            "BigInt.two",
            "BigInt.zero",
            "CBCBlockCipher.init",
            "List.filled",
            "List.generate",
            "PBKDF2KeyDerivator.init",
            "PBKDF2KeyDerivator.init.process",
            "Random.secure",
            "SHA256Digest.process",
            "Uint8List.fromList",
            "Uint8List.sublistView",
            "a.length",
            "additionalData.length",
            "aes.processBlock",
            "b.length",
            "bytes.length",
            "cipher.processBlock",
            "clean.length",
            "clean.substring",
            "data.takeBytes",
            "final.add",
            "final.add.add",
            "final.add.add.add",
            "final.add.add.add.add",
            "final.init",
            "input.length",
            "int.parse",
            "latin1.encode",
            "mac.length",
            "r.nextInt",
            "s.replaceAll",
            "s.replaceAll.fromList",
            "utf8.encode",
            "z2.modPow"
          ],
          "metrics": {
            "ast": {
              "call_count": 92,
              "max_array_length": 2,
              "max_concat_chain": 3,
              "max_depth": 17,
              "max_member_depth": 5,
              "member_count": 36,
              "node_count": 2378,
              "op.add": 16,
              "op.band": 7,
              "op.bor": 3,
              "op.coalesce": 1,
              "op.eq": 3,
              "op.ge": 3,
              "op.gt": 20,
              "op.land": 1,
              "op.le": 1,
              "op.lt": 24,
              "op.mod": 17,
              "op.mul": 11,
              "op.ne": 2,
              "op.shl": 2,
              "op.shr": 3,
              "op.sub": 9,
              "op.xor": 4,
              "op_density.add": 0.01,
              "op_density.band": 0,
              "op_density.bor": 0,
              "op_density.coalesce": 0,
              "op_density.eq": 0,
              "op_density.ge": 0,
              "op_density.gt": 0.01,
              "op_density.land": 0,
              "op_density.le": 0,
              "op_density.lt": 0.01,
              "op_density.mod": 0.01,
              "op_density.mul": 0,
              "op_density.ne": 0,
              "op_density.shl": 0,
              "op_density.shr": 0,
              "op_density.sub": 0,
              "op_density.xor": 0,
              "self_compare_count": 4,
              "sequence_count": 11
            },
            "binary": {
              "peak_region_bytes": 6468,
              "peak_region_entropy": 5.21
            },
            "binds": {
              "count": 59
            },
            "comments": {
              "chars": 1286,
              "count": 21,
              "high_entropy": 8,
              "lines": 21,
              "to_code_ratio": 0.13
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_unknown": 1
            },
            "file": {
              "entropy": 5.21,
              "size": 6468
            },
            "functions": {
              "anonymous": 1,
              "avg_length_lines": 1,
              "avg_param_name_length": 1,
              "avg_params": 1,
              "code_ratio": 0.01,
              "density": 0.55,
              "max_length_lines": 1,
              "max_params": 1,
              "min_length_lines": 1,
              "one_liners": 1,
              "single_char_params": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.57,
              "all_uppercase_ratio": 0.01,
              "avg_entropy": 1.95,
              "avg_length": 5.97,
              "base64_like_names": 6,
              "count": 553,
              "has_digit_ratio": 0.15,
              "high_entropy_count": 5,
              "high_entropy_ratio": 0.04,
              "length_stddev": 4.59,
              "max_length": 26,
              "min_length": 1,
              "numeric_suffix_count": 13,
              "reuse_ratio": 0.21,
              "sequential_names": 20,
              "single_char_count": 16,
              "single_char_ratio": 0.14,
              "underscore_prefix_count": 6,
              "unique": 117
            },
            "imports": {
              "count": 4,
              "third_party_count": 4,
              "third_party_ratio": 1
            },
            "strings": {
              "avg_entropy": 3.18,
              "avg_length": 18.89,
              "bytes": 170,
              "count": 9,
              "domain_count": 3,
              "empty_count": 1,
              "entropy_stddev": 0.94,
              "max_length": 46
            },
            "text": {
              "anonymous_function_ratio": 1,
              "ascii_art_lines": 1,
              "avg_line_length": 34.34,
              "char_entropy": 5.21,
              "digit_ratio": 0.07,
              "empty_line_ratio": 0.1,
              "identifier_density": 3.02,
              "identifiers_to_functions_ratio": 117,
              "import_density": 2.19,
              "imports_to_functions_ratio": 4,
              "last_line_length": 1,
              "line_length_stddev": 29.4,
              "lines": 183,
              "max_line_length": 119,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0,
              "normalized_function_count": 0.07,
              "normalized_import_count": 0.3,
              "normalized_string_count": 0.67,
              "normalized_unique_identifiers": 15.57,
              "repeated_char_sequences": 1,
              "space_count": 1118,
              "string_density": 0.05,
              "strings_to_functions_ratio": 9,
              "suspicious_comment_ratio": 0.38,
              "suspicious_identifier_ratio": 0.22,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.06,
              "unique_chars": 92,
              "whitespace_ratio": 0.2
            }
          },
          "tgt": [
            "AESEngine",
            "BigInt",
            "BigInt.from",
            "BytesBuilder",
            "CBCBlockCipher",
            "CBCBlockCipher.init",
            "HMac",
            "KeyParameter",
            "List.filled",
            "List.generate",
            "PBKDF2KeyDerivator",
            "PBKDF2KeyDerivator.init",
            "PBKDF2KeyDerivator.init.process",
            "ParametersWithIV",
            "Pbkdf2Parameters",
            "Random.secure",
            "RegExp",
            "SHA256Digest",
            "SHA256Digest.process",
            "Uint8List",
            "Uint8List.fromList",
            "Uint8List.sublistView",
            "_aesBlock",
            "_decodeLE",
            "_encodeLE",
            "aes.processBlock",
            "aesCbcDecrypt",
            "bytesEqual",
            "cipher.processBlock",
            "clean.substring",
            "data.takeBytes",
            "deriveDeviceAuthentication",
            "deriveKeyringPassword",
            "deriveUserPassword",
            "final.add",
            "final.add.add",
            "final.add.add.add",
            "final.add.add.add.add",
            "final.init",
            "fromHex",
            "int.parse",
            "latin1.encode",
            "pbkdf2Sha256",
            "r.nextInt",
            "s.replaceAll",
            "s.replaceAll.fromList",
            "sha256",
            "utf8.encode",
            "x25519",
            "z2.modPow"
          ]
        },
        "id": 11,
        "mol": "H₂(Cr₅Db₃)Md₂(Pa₂Pt)",
        "path": "knx-0.2.1.tar.gz!!lib/src/secure/knx_crypto.dart",
        "pid": 0,
        "risk": 9,
        "sha": "289a23f07596b43a3e86c35cb289e64e6691a601e8b9e05d8c5a403a93e8b5a1",
        "sid": 6662855842,
        "size": 6468,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/file/extension/identity::dart-source-basename"
              }
            ],
            "crit": "notable",
            "id": "micro-behaviors/os/module/require::esm-side-effect-package-import",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Caret or XOR expression text",
            "id": "metadata/lang/source/syntax/operator::caret-or-xor-expression-text",
            "spans": [
              [
                1571,
                5
              ],
              [
                2424,
                5
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript or TypeScript file under src",
            "id": "metadata/package/files/name::javascript-src-tree-member"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript-family source file under lib",
            "id": "metadata/package/files/runtime::javascript-family-lib-tree-artifact"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "X25519 or Curve25519 algorithm reference",
            "id": "micro-behaviors/crypto/asymmetric/curve25519::x25519-key-exchange-term",
            "spans": [
              [
                4077,
                6
              ],
              [
                4658,
                6
              ]
            ]
          },
          {
            "conf": 0.86,
            "crit": 3,
            "desc": "MD5 or SHA digest API call",
            "id": "micro-behaviors/crypto/hash/digest::source-digest-call",
            "spans": [
              [
                3489,
                6
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Calls a SHA-256 hashing function",
            "id": "micro-behaviors/crypto/hash/digest::source-sha256-call",
            "spans": [
              [
                3489,
                6
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "References an HMAC API",
            "id": "micro-behaviors/crypto/hash/hmac::hmac-api-reference",
            "mbc": "C0029",
            "spans": [
              [
                3309,
                5
              ]
            ]
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "JavaScript AES-CTR algorithm marker",
            "id": "micro-behaviors/crypto/symmetric/aes/ctr::aes-ctr-algorithm-marker",
            "spans": [
              [
                1647,
                7
              ]
            ]
          },
          {
            "atk": "T1027",
            "conf": 0.94,
            "crit": 3,
            "desc": "Buffer element XOR assignment",
            "id": "micro-behaviors/crypto/symmetric/xor/loop::js-buffer-xor-loop",
            "mbc": "B0032",
            "spans": [
              [
                1562,
                12
              ]
            ]
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "Spaced subtraction between identifiers",
            "id": "micro-behaviors/data/arithmetic::js-identifier-subtraction",
            "spans": [
              [
                5268,
                7
              ]
            ]
          },
          {
            "conf": 0.96,
            "crit": 3,
            "desc": "Loop numeric bound is 32 or greater",
            "id": "micro-behaviors/data/control-flow/loop::numeric-loop-bound-at-least-32",
            "spans": [
              [
                4476,
                23
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Computed property access with addition",
            "id": "micro-behaviors/data/property/access::js-addition-indexed-access",
            "spans": [
              [
                1575,
                12
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Substring bound adds two to index",
            "id": "micro-behaviors/data/string/access::two-character-substring-source",
            "spans": [
              [
                6427,
                19
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:convert",
            "id": "metadata/import/npm/dart-convert::dart-convert",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:math",
            "id": "metadata/import/npm/dart-math::dart-math",
            "spans": [
              [
                30,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:typed_data",
            "id": "metadata/import/npm/dart-typed_data::dart-typed_data",
            "spans": [
              [
                50,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports package:pointycastle/export.dart",
            "id": "metadata/import/npm/package-pointycastle/export/dart::package-pointycastle/export/dart",
            "spans": [
              [
                77,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                265,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                174,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                148,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                234,
                0
              ]
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import 'hex.dart';\nimport 'telegram.dart';\n\n/// Merges the telegrams of several tap points of one installation into one stream.\n///\n/// A telegram forwarded by coupler"
          },
          {
            "col": 56,
            "line": 6,
            "ln": 187,
            "s": " tap points: same source, destination, APCI\n/// and payload, a hop count 1 lower per coupler, all within a short [window]. It becomes **one**\n/// t"
          },
          {
            "col": 32,
            "line": 10,
            "ln": 447,
            "s": "ap point a telegram joins the oldest open entry with the same content\n/// that this tap point has not contributed to yet. Real installations send identical telegrams in\n/// quick succession (read request and response twice, 5 to 47 ms apart, measured on 6 Nov 2026);\n"
          },
          {
            "col": 54,
            "line": 13,
            "ln": 767,
            "s": "ats ([Telegram.repeated]) never merge with the\n/// original. Sent telegrams (L_Data.con) merge with w"
          },
          {
            "col": 87,
            "line": 14,
            "ln": 900,
            "s": ".\n///\n/// Pure and clock-free: [add] takes the telegram with its receive time, [flush] releases ent"
          },
          {
            "col": 27,
            "line": 23,
            "ln": 1437,
            "s": "ow = Duration(milliseconds: 100);\n\n  /// Window for tap points without their own entry in [windows].\n  Duration window;\n\n  /// Window per tap point"
          },
          {
            "col": 86,
            "line": 42,
            "ln": 2085,
            "s": "rst sighting.\n  Duration get _longest {\n    var w = window;\n    for (final v in windows.values) {\n      if (v \u003e w) w = v;\n    }\n    return w;\n  }\n\n  /// When the nex"
          },
          {
            "col": 17,
            "line": 79,
            "ln": 3517,
            "s": "\u003cTelegram\u003e[];\n    final longest = _longest;\n    while (_open.isNotEmpty) {\n      final e = _open.first;\n      final complete = e.taps.length \u003e= taps;\n      final due = now != null \u0026\u0026 !now.isBefore(e.first.time.add(longest));\n      if (!"
          },
          {
            "col": 33,
            "line": 93,
            "ln": 4034,
            "s": "on}|${t.type.index}|${t.isSmall ? 1 : 0}|${t.repeated ? 1 : 0}|${hexOf(t.data)}';\n}\n\nclass _Entry {\n  _"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "out",
              3511
            ],
            [
              "_Entry",
              4136
            ]
          ],
          "imp": [
            [
              "",
              "Duration"
            ],
            [
              "",
              "window"
            ],
            [
              "",
              "_open.first.first.time.add"
            ],
            [
              "",
              "add"
            ],
            [
              "",
              "t.atTap"
            ],
            [
              "",
              "_keyOf"
            ],
            [
              "",
              "_keyOf"
            ],
            [
              "",
              "e.taps.contains"
            ],
            [
              "",
              "t.time.difference"
            ],
            [
              "",
              "_windowOf"
            ],
            [
              "",
              "_windowOf"
            ],
            [
              "",
              "Sighting"
            ],
            [
              "",
              "_Entry"
            ],
            [
              "",
              "t.atTap"
            ],
            [
              "",
              "flush"
            ],
            [
              "",
              "_release"
            ],
            [
              "",
              "flushAll"
            ],
            [
              "",
              "_release"
            ],
            [
              "",
              "now.isBefore"
            ],
            [
              "",
              "e.first.time.add"
            ],
            [
              "",
              "_open.removeAt"
            ],
            [
              "",
              "out.add"
            ],
            [
              "",
              "e.first.atTap"
            ],
            [
              "",
              "sightings.unmodifiable"
            ],
            [
              "",
              "hex.dart"
            ],
            [
              "",
              "telegram.dart"
            ]
          ],
          "mbr": [
            "_open.first",
            "_open.first.first",
            "_open.first.first.time",
            "_open.first.first.time.add",
            "_open.isEmpty",
            "_open.removeAt",
            "e.first",
            "e.first.atTap",
            "e.first.tap",
            "e.first.time",
            "e.first.time.add",
            "e.key",
            "e.sightings",
            "e.sightings.isEmpty",
            "e.taps",
            "e.taps.contains",
            "e.taps.length",
            "now.isBefore",
            "offset.isNegative",
            "out.add",
            "sightings.unmodifiable",
            "t.atTap",
            "t.hopCount",
            "t.tap",
            "t.time",
            "t.time.difference",
            "windows.values"
          ],
          "metrics": {
            "ast": {
              "call_count": 31,
              "max_depth": 25,
              "max_member_depth": 5,
              "member_count": 27,
              "node_count": 837,
              "op.eq": 2,
              "op.ge": 1,
              "op.gt": 6,
              "op.land": 1,
              "op.le": 1,
              "op.lnot": 2,
              "op.lor": 3,
              "op.lt": 6,
              "op.ne": 2,
              "op_density.eq": 0,
              "op_density.ge": 0,
              "op_density.gt": 0.01,
              "op_density.land": 0,
              "op_density.le": 0,
              "op_density.lnot": 0,
              "op_density.lor": 0,
              "op_density.lt": 0.01,
              "op_density.ne": 0
            },
            "binary": {
              "peak_region_bytes": 4293,
              "peak_region_entropy": 4.81
            },
            "binds": {
              "count": 4
            },
            "comments": {
              "chars": 1881,
              "count": 26,
              "lines": 26,
              "to_code_ratio": 0.34
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_unknown": 1
            },
            "file": {
              "entropy": 4.81,
              "size": 4293
            },
            "functions": {
              "anonymous": 1,
              "avg_length_lines": 12.5,
              "avg_name_length": 6,
              "avg_nesting_depth": 0.5,
              "avg_param_name_length": 6,
              "avg_params": 2,
              "code_ratio": 0.24,
              "count": 1,
              "density": 1.96,
              "length_stddev": 11.5,
              "max_length_lines": 24,
              "max_nesting_depth": 1,
              "max_params": 4,
              "min_length_lines": 1,
              "nested": 1,
              "no_params_count": 1,
              "one_liners": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.62,
              "avg_entropy": 2.14,
              "avg_length": 5.81,
              "count": 236,
              "has_digit_ratio": 0.03,
              "high_entropy_count": 1,
              "high_entropy_ratio": 0.02,
              "length_stddev": 2.88,
              "max_length": 13,
              "min_length": 1,
              "numeric_suffix_count": 2,
              "reuse_ratio": 0.27,
              "sequential_names": 6,
              "single_char_count": 4,
              "single_char_ratio": 0.06,
              "underscore_prefix_count": 6,
              "unique": 63
            },
            "imports": {
              "count": 2,
              "third_party_count": 2,
              "third_party_ratio": 1
            },
            "references": {
              "declared_count": 2,
              "security_hold_count": 0,
              "unavailable_command_count": 0,
              "unresolved_count": 2,
              "unresolved_extension_count": 0
            },
            "source": {
              "function_count": 1
            },
            "strings": {
              "avg_entropy": 3.56,
              "avg_length": 41.67,
              "bytes": 125,
              "count": 3,
              "entropy_stddev": 0.73,
              "max_length": 104
            },
            "text": {
              "anonymous_function_ratio": 0.5,
              "avg_line_length": 41.09,
              "char_entropy": 4.81,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.16,
              "identifier_density": 2.31,
              "identifiers_to_functions_ratio": 31.5,
              "import_density": 1.96,
              "imports_to_functions_ratio": 1,
              "last_line_length": 1,
              "line_length_stddev": 35.27,
              "lines": 102,
              "max_line_length": 117,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0,
              "normalized_function_count": 0.2,
              "normalized_import_count": 0.2,
              "normalized_string_count": 0.3,
              "normalized_unique_identifiers": 9.44,
              "space_count": 745,
              "string_density": 0.03,
              "strings_to_functions_ratio": 1.5,
              "suspicious_identifier_ratio": 0.1,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 77,
              "whitespace_ratio": 0.2
            }
          },
          "tgt": [
            "Duration",
            "Sighting",
            "_Entry",
            "_keyOf",
            "_open.first.first.time.add",
            "_open.removeAt",
            "_release",
            "_windowOf",
            "add",
            "e.first.atTap",
            "e.first.time.add",
            "e.taps.contains",
            "flush",
            "flushAll",
            "now.isBefore",
            "out.add",
            "sightings.unmodifiable",
            "t.atTap",
            "t.time.difference",
            "window"
          ]
        },
        "id": 12,
        "mol": "K(Te)H(Cm)Md₂(In₂Pa₂)",
        "path": "knx-0.2.1.tar.gz!!lib/src/tap_merge.dart",
        "pid": 0,
        "risk": 5,
        "sha": "28b62404567ffc692d98f96665af0142cde90d15bd20b600b43d4cec0261646a",
        "sid": 6662855843,
        "size": 4293,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/file/extension/identity::dart-source-basename"
              }
            ],
            "crit": "notable",
            "id": "micro-behaviors/os/module/require::esm-side-effect-package-import",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.4,
            "crit": 3,
            "desc": "Analyzed layer contains at most three strings",
            "id": "metadata/file/profile/string-population::analyzed-layer-string-count-at-most-three"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports hex.dart",
            "id": "metadata/import/npm/hex/dart::hex/dart",
            "spans": [
              [
                7,
                8
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports telegram.dart",
            "id": "metadata/import/npm/telegram/dart::telegram/dart",
            "spans": [
              [
                26,
                13
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript or TypeScript file under src",
            "id": "metadata/package/files/name::javascript-src-tree-member"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript-family source file under lib",
            "id": "metadata/package/files/runtime::javascript-family-lib-tree-artifact"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "References the Telegram service name",
            "id": "micro-behaviors/communications/http/services/telegram::telegram-service-name-reference",
            "spans": [
              [
                27,
                8
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Parser string density \u003c=0.9 strings/line",
            "id": "metadata/file/profile/string-population::source-strings-per-line-at-most-0-9"
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "for loop (content)",
            "id": "micro-behaviors/data/control-flow/analysis::for-loop-content",
            "spans": [
              [
                2148,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                638,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-transfer-verb-token",
            "spans": [
              [
                588,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                932,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                55,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                235,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                521,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                1485,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                495,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                526,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 1,
            "desc": "JavaScript request keyword",
            "id": "micro-behaviors/communications/http/keywords::http-verb-keyword--request",
            "spans": [
              [
                643,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Alpine Dart SDK package",
            "id": "well-known/tool/sysadmin/alpine-packages/package::alpine-dart-sdk-package"
          }
        ],
        "type": "javascript"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import 'dart:typed_data';\n\nimport 'address.dart';\nimport 'hex.dart';\n\n/// Kind of group telegram (APCI).\nenum TelegramType { read, response, write }\n\n/// Telegram priority (cEMI Ctrl1 bits 3â2).\nenum TelegramPriority { sys"
          },
          {
            "col": 33,
            "line": 10,
            "ln": 229,
            "s": "normal, urgent, low }\n\n/// One more place where the same telegram was seen (tap points): tap point [tap], [offset]\n/// after the first sighting (the telegram's own time), with the hop count there.\nclass Sighting {\n  const Sighting(this.tap, this.offset, this.hopCount);\n\n  /// Number of the tap point (0 = the first one of the inst"
          },
          {
            "col": 18,
            "line": 28,
            "ln": 847,
            "s": "? fromJson(Object? j) {\n    if (j is! List || j.length \u003c 3) return null;\n    final [tap, offset, hop, ...] = j;\n    if (tap is! int || offset is! int "
          },
          {
            "col": 14,
            "line": 43,
            "ln": 1330,
            "s": "up telegram: received (L_Data.ind) or confirmed for one we sent (L_Data.con).\n///\n/// Its JSON form ([toJson], [Telegram.fromJson]) is a compact li"
          },
          {
            "col": 75,
            "line": 99,
            "ln": 3033,
            "s": "ans.\n  final int tap;\n\n  /// Further tap points that saw the same telegram, in order of arrival. Empty with a single tap point.\n  final List\u003cSightin"
          },
          {
            "col": 4,
            "line": 106,
            "ln": 3264,
            "s": "terable\u003cint\u003e get taps sync* {\n    yield tap;\n    for (final s in sightings) {\n      yield s.tap;\n    }\n  }\n\n  /// The same telegram from tap point [tap] and with [sightings] (merging, see TapMerger).\n  Telegram atTap(int tap, {List\u003cSighting\u003e sightings = const []}) =\u003e Telegram(\n    time: time,\n    sourc"
          },
          {
            "col": 16,
            "line": 132,
            "ln": 4011,
            "s": "ualHop =\u003e hopCount != 6;\n\n  /// Sender as \"1.1.5\".\n  String get sourceText =\u003e formatIndividual(source);\n\n  /// The same telegram with a different value ([small] â¤ 6 bit or [data]), e.g. when editing a"
          },
          {
            "col": 19,
            "line": 194,
            "ln": 6329,
            "s": "c[1];\n    if (c.length \u003c i + 9) return null;\n\n    final ctrl2 = c[i + 1];\n    if (ctrl2 \u0026 0x80 == 0) return null; // not a group address\n\n    final source = (c[i + 2] \u003c\u003c 8) | c[i + 3];\n    final desti"
          },
          {
            "col": 11,
            "line": 230,
            "ln": 7346,
            "s": "rity: TelegramPriority.values[(c[i] \u003e\u003e 2) \u0026 0x03],\n      // cEMI: bit 5 = 0 in L_Data.ind means \"re"
          },
          {
            "col": 15,
            "line": 253,
            "ln": 8241,
            "s": ", // source: set by the gateway\n    destination \u003e\u003e 8, destination \u0026 0xFF,\n    inline ? 1 : 1 + data.length,\n    0x00,\n    apci | (inline ? (small ?? 0) \u0026 0x"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "fromJson",
              832
            ],
            [
              "_",
              6808
            ]
          ],
          "imp": [
            [
              "",
              "Sighting"
            ],
            [
              "",
              "Duration"
            ],
            [
              "",
              "Telegram"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "toJson"
            ],
            [
              "",
              "hexOf"
            ],
            [
              "",
              "hexOf"
            ],
            [
              "",
              "s.toJson"
            ],
            [
              "",
              "Telegram.fromJson"
            ],
            [
              "",
              "DateTime.fromMicrosecondsSinceEpoch"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "parseHex"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "parseHex"
            ],
            [
              "",
              "Sighting.fromJson"
            ],
            [
              "",
              "fromCemi"
            ],
            [
              "",
              "data"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "c.sublist"
            ],
            [
              "",
              "Telegram"
            ],
            [
              "",
              "DateTime.now"
            ],
            [
              "",
              "hopCount"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "Uint8List.fromList"
            ],
            [
              "",
              "address.dart"
            ],
            [
              "",
              "dart:typed_data"
            ],
            [
              "",
              "hex.dart"
            ]
          ],
          "mbr": [
            "DateTime.fromMicrosecondsSinceEpoch",
            "DateTime.now",
            "Sighting.fromJson",
            "Telegram.fromJson",
            "TelegramPriority.low",
            "TelegramPriority.low.index",
            "TelegramPriority.values",
            "TelegramType.read",
            "TelegramType.response",
            "TelegramType.values",
            "TelegramType.write",
            "Uint8List.fromList",
            "c.length",
            "c.sublist",
            "data.length",
            "j.length",
            "j.p",
            "j.r",
            "j.sg",
            "j.t",
            "j.tp",
            "j.x",
            "j.y",
            "offset.inMicroseconds",
            "priority.index",
            "raw.isNotEmpty",
            "s.tap",
            "s.toJson",
            "sightings.isNotEmpty",
            "time.microsecondsSinceEpoch",
            "type.index"
          ],
          "metrics": {
            "ast": {
              "call_count": 31,
              "max_array_length": 16,
              "max_concat_chain": 3,
              "max_depth": 13,
              "max_member_depth": 3,
              "member_count": 31,
              "node_count": 2149,
              "op.add": 16,
              "op.band": 10,
              "op.bor": 2,
              "op.coalesce": 6,
              "op.eq": 12,
              "op.gt": 6,
              "op.land": 3,
              "op.lnot": 13,
              "op.lor": 4,
              "op.lt": 7,
              "op.ne": 9,
              "op.shl": 3,
              "op.shr": 3,
              "op_density.add": 0.01,
              "op_density.band": 0,
              "op_density.bor": 0,
              "op_density.coalesce": 0,
              "op_density.eq": 0.01,
              "op_density.gt": 0,
              "op_density.land": 0,
              "op_density.lnot": 0.01,
              "op_density.lor": 0,
              "op_density.lt": 0,
              "op_density.ne": 0,
              "op_density.shl": 0,
              "op_density.shr": 0,
              "self_compare_count": 1,
              "sequence_count": 15
            },
            "binary": {
              "peak_region_bytes": 8440,
              "peak_region_entropy": 4.94
            },
            "binds": {
              "count": 7
            },
            "comments": {
              "chars": 1718,
              "count": 32,
              "high_entropy": 3,
              "lines": 32,
              "to_code_ratio": 0.14
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_unknown": 1
            },
            "file": {
              "entropy": 4.92,
              "size": 8440
            },
            "functions": {
              "anonymous": 1,
              "avg_length_lines": 4.5,
              "avg_name_length": 8,
              "avg_param_name_length": 6,
              "avg_params": 0.5,
              "code_ratio": 0.03,
              "count": 2,
              "density": 0.77,
              "length_stddev": 1.5,
              "max_length_lines": 6,
              "max_params": 1,
              "min_length_lines": 3,
              "no_params_count": 1
            },
            "identifiers": {
              "all_lowercase_ratio": 0.63,
              "all_uppercase_ratio": 0.01,
              "avg_entropy": 2.24,
              "avg_length": 6.7,
              "base64_like_names": 1,
              "count": 524,
              "has_digit_ratio": 0.02,
              "high_entropy_count": 4,
              "high_entropy_ratio": 0.05,
              "length_stddev": 4.27,
              "max_length": 26,
              "min_length": 1,
              "numeric_suffix_count": 1,
              "reuse_ratio": 0.17,
              "sequential_names": 4,
              "single_char_count": 5,
              "single_char_ratio": 0.06,
              "underscore_prefix_count": 1,
              "unique": 88
            },
            "imports": {
              "count": 3,
              "third_party_count": 3,
              "third_party_ratio": 1
            },
            "references": {
              "declared_count": 1,
              "security_hold_count": 0,
              "unavailable_command_count": 0,
              "unresolved_count": 1,
              "unresolved_extension_count": 0
            },
            "source": {
              "class_count": 1,
              "function_count": 1
            },
            "strings": {
              "avg_entropy": 0.55,
              "avg_length": 2.24,
              "bytes": 76,
              "count": 34,
              "entropy_stddev": 0.85,
              "max_length": 15
            },
            "text": {
              "anonymous_function_ratio": 0.5,
              "avg_line_length": 31.46,
              "char_entropy": 4.92,
              "digit_ratio": 0.03,
              "empty_line_ratio": 0.15,
              "identifier_density": 2.02,
              "identifiers_to_functions_ratio": 44,
              "import_density": 1.15,
              "imports_to_functions_ratio": 1.5,
              "last_line_length": 1,
              "line_length_stddev": 26.24,
              "lines": 260,
              "max_line_length": 106,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0,
              "normalized_function_count": 0.12,
              "normalized_import_count": 0.19,
              "normalized_string_count": 2.11,
              "normalized_unique_identifiers": 10.97,
              "space_count": 1673,
              "string_density": 0.13,
              "strings_to_functions_ratio": 17,
              "suspicious_comment_ratio": 0.09,
              "suspicious_identifier_ratio": 0.06,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.06,
              "unique_chars": 91,
              "whitespace_ratio": 0.23
            }
          },
          "tgt": [
            "DateTime.fromMicrosecondsSinceEpoch",
            "DateTime.now",
            "Duration",
            "Sighting",
            "Sighting.fromJson",
            "Telegram",
            "Telegram.fromJson",
            "Uint8List.fromList",
            "c.sublist",
            "data",
            "fromCemi",
            "hexOf",
            "hopCount",
            "parseHex",
            "s.toJson",
            "toJson"
          ]
        },
        "id": 13,
        "mol": "K(Te)H₂(CmDb₂)Md₃(InPa₂)",
        "path": "knx-0.2.1.tar.gz!!lib/src/telegram.dart",
        "pid": 0,
        "risk": 7,
        "sha": "a6c4da66ca7f941ecb524fc5bd6c7a4b2862a370b9e71e878b7b7124d8fe9036",
        "sid": 6662855853,
        "size": 8440,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/file/extension/identity::dart-source-basename"
              }
            ],
            "crit": "notable",
            "id": "micro-behaviors/os/module/require::esm-side-effect-package-import",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Contains the sourceText identifier",
            "id": "metadata/file/string/identity::source-text-token",
            "spans": [
              [
                4075,
                10
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports hex.dart",
            "id": "metadata/import/npm/hex/dart::hex/dart",
            "spans": [
              [
                57,
                8
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript or TypeScript file under src",
            "id": "metadata/package/files/name::javascript-src-tree-member"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "JavaScript-family source file under lib",
            "id": "metadata/package/files/runtime::javascript-family-lib-tree-artifact"
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "References the Telegram service name",
            "id": "micro-behaviors/communications/http/services/telegram::telegram-service-name-reference",
            "spans": [
              [
                88,
                8
              ]
            ]
          },
          {
            "conf": 0.82,
            "crit": 3,
            "desc": "Calls a property using bracket notation",
            "id": "micro-behaviors/data/control-flow/dispatch::js-computed-property-call",
            "spans": [
              [
                3421,
                18
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Computed property access with addition",
            "id": "micro-behaviors/data/property/access::js-addition-indexed-access",
            "spans": [
              [
                6393,
                8
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Parser string density \u003c=0.9 strings/line",
            "id": "metadata/file/profile/string-population::source-strings-per-line-at-most-0-9"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Source whitespace ratio \u003e=20%",
            "id": "metadata/file/profile/text-shape::source-whitespace-at-least-twenty-percent"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports address.dart",
            "id": "metadata/import/npm/address/dart::address/dart",
            "spans": [
              [
                34,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports dart:typed_data",
            "id": "metadata/import/npm/dart-typed_data::dart-typed_data",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.3,
            "crit": 2,
            "desc": "for loop (content)",
            "id": "micro-behaviors/data/control-flow/analysis::for-loop-content",
            "spans": [
              [
                3312,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 1,
            "desc": "Has tokens that explain long string blobs",
            "id": "metadata/build/bundler/javascript-bundle-markers::js-multi-line-blob-recognized-text",
            "spans": [
              [
                4075,
                0
              ]
            ],
            "uses": [
              0
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                125,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                277,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                3417,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                3081,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                1378,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                400,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                460,
                0
              ]
            ]
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Alpine Dart SDK package",
            "id": "well-known/tool/sysadmin/alpine-packages/package::alpine-dart-sdk-package"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Known benign global-object alias context",
            "id": "metadata/lang/source/declaration::js-assign-common-root-known-benign-context",
            "uses": [
              8
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 14,
        "path": "knx-0.2.1.tar.gz!!test/cycle_test.dart",
        "pid": 0,
        "risk": 0,
        "sha": "57d989b9bbc9f81e1266e45cbab7aefb4fad0a80407a671f2f4080251390179f",
        "sid": 6662855846,
        "size": 2079,
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 15,
        "path": "knx-0.2.1.tar.gz!!test/dpt_guess_test.dart",
        "pid": 0,
        "risk": 0,
        "sha": "e378865e7a5f8ff2381fd8c24a4bc627bec8af876f8da8cb93f795138de106a4",
        "sid": 6662855857,
        "size": 917,
        "type": "javascript"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "import 'package:knx/knx.dart';\nimport 'package:test/test.dart';\n\nvoid main() {\n  test('parse and show DPT', () {\n    expect(Dpt.tryParse('DPST-9-1'), const Dpt(9, 1));\n    expect(Dpt.tryParse('DPT-1'), const Dpt(1));\n  "
          },
          {
            "col": 19,
            "line": 9,
            "ln": 287,
            "s": "Parse('x'), isNull);\n    expect(const Dpt(9, 1).toString(), '9.001');\n    expect(const Dpt(9).toString(), '9.xxx');\n  });\n\n  group('encoding', () {\n    test('text (16): also empty, at most 14 characters', () {\n      expect(encodeForDpt(const Dpt(16, 0), '')!.data, List.filled(14, 0));\n      expect(encodeForDpt(const Dpt(16, 0), 'Hallo"
          },
          {
            "col": 9,
            "line": 18,
            "ln": 669,
            "s": "pect(encodeForDpt(const Dpt(16, 0), 'x' * 15), isNull);\n    });\n\n    test('time, date, colour, HVAC', () {\n      expect(encodeForDpt(const Dpt(10, 1), '14:47')!.data, [14, 47, 0]);\n      expect(encodeFor"
          },
          {
            "col": 10,
            "line": 60,
            "ln": 3127,
            "s": "ect(encodeForDpt(const Dpt(19, 1), '1'), isNull);\n    });\n  });\n\n  test('DPT 9: limits, sign, round trip', () {\n    expect(decodeDpt9([0x0C, 0x1A]), closeTo(21.0, 0.001));\n    expect(decodeDpt9([0x00, "
          },
          {
            "col": 45,
            "line": 72,
            "ln": 3661,
            "s": "F]);\n    expect(encodeDpt9(700000), isNull);\n    for (final v in [-273.0, -0.5, 0.01, 19.84, 1000.0, 40000.0]) {\n      expect(decodeDpt9(encodeDpt9(v)"
          }
        ],
        "depth": 1,
        "facts": {
          "imp": [
            [
              "",
              "main"
            ],
            [
              "",
              "test"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "Dpt.tryParse"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "Dpt.tryParse"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "Dpt.tryParse"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "Dpt.tryParse"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "Dpt.toString"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "Dpt.toString"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "List.filled"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "encodeForDpt.data.take"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "canEncodeDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "encodeForDpt"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "decodeDpt9"
            ],
            [
              "",
              "closeTo"
            ],
            [
              "",
              "decodeDpt9"
            ],
            [
              "",
              "decodeDpt9"
            ],
            [
              "",
              "closeTo"
            ],
            [
              "",
              "decodeDpt9"
            ],
            [
              "",
              "closeTo"
            ],
            [
              "",
              "decodeDpt9"
            ],
            [
              "",
              "closeTo"
            ],
            [
              "",
              "encodeDpt9"
            ],
            [
              "",
              "encodeDpt9"
            ],
            [
              "",
              "encodeDpt9"
            ],
            [
              "",
              "encodeDpt9"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "decodeDpt9"
            ],
            [
              "",
              "encodeDpt9"
            ],
            [
              "",
              "closeTo"
            ],
            [
              "",
              "v.abs"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "expect"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "closeTo"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptNumericValue"
            ],
            [
              "",
              "dptUnit"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptUnit"
            ],
            [
              "",
              "Dpt"
            ],
            [
              "",
              "dptUnit"
            ],
            [
              "",
              "dptUnit"
            ],
            [
              "",
              "dptUnit"
            ],
            [
              "",
              "dptUnit"
            ],
            [
              "",
              "dptUnit"
            ],
            [
              "",
              "dptUnit"
            ],
            [
              "",
              "package:knx/knx.dart"
            ],
            [
              "",
              "package:test/test.dart"
            ]
          ],
          "mbr": [
            "Dpt.toString",
            "Dpt.tryParse",
            "List.filled",
            "encodeForDpt.data",
            "encodeForDpt.data.take",
            "v.abs"
          ],
          "metrics": {
            "ast": {
              "call_count": 156,
              "max_array_length": 6,
              "max_concat_chain": 3,
              "max_depth": 20,
              "max_member_depth": 3,
              "max_numeric_array": 4,
              "member_count": 6,
              "node_count": 1885,
              "op.add": 1,
              "op.mul": 2,
              "op.sub": 8,
              "op_density.add": 0,
              "op_density.mul": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 5120,
              "peak_region_entropy": 4.92
            },
            "consistency": {
              "extension_content_mismatch": 1,
              "extension_content_mismatch.scripts_as_unknown": 1
            },
            "file": {
              "entropy": 4.94,
              "size": 5370
            },
            "identifiers": {
              "all_lowercase_ratio": 0.59,
              "all_uppercase_ratio": 0.03,
              "avg_entropy": 2.22,
              "avg_length": 5.97,
              "base64_like_names": 2,
              "count": 223,
              "has_digit_ratio": 0.05,
              "high_entropy_count": 1,
              "high_entropy_ratio": 0.03,
              "length_stddev": 3.04,
              "max_length": 15,
              "min_length": 1,
              "numeric_suffix_count": 2,
              "reuse_ratio": 0.17,
              "sequential_names": 1,
              "single_char_count": 1,
              "single_char_ratio": 0.03,
              "unique": 37
            },
            "imports": {
              "count": 2,
              "third_party_count": 2,
              "third_party_ratio": 1
            },
            "strings": {
              "avg_entropy": 1.86,
              "avg_length": 7.29,
              "bytes": 277,
              "count": 38,
              "empty_count": 4,
              "entropy_stddev": 1.25,
              "max_length": 44
            },
            "text": {
              "avg_line_length": 49.66,
              "char_entropy": 4.94,
              "digit_ratio": 0.18,
              "empty_line_ratio": 0.08,
              "identifier_density": 2.1,
              "import_density": 1.89,
              "last_line_length": 1,
              "line_length_stddev": 26.9,
              "lines": 106,
              "max_line_length": 91,
              "max_whitespace_run": 1,
              "non_ascii_ratio": 0,
              "normalized_import_count": 0.19,
              "normalized_string_count": 3.69,
              "normalized_unique_identifiers": 5.5,
              "space_count": 829,
              "string_density": 0.36,
              "suspicious_identifier_ratio": 0.08,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unique_chars": 73,
              "whitespace_ratio": 0.17
            }
          },
          "tgt": [
            "Dpt",
            "Dpt.toString",
            "Dpt.tryParse",
            "List.filled",
            "canEncodeDpt",
            "closeTo",
            "decodeDpt9",
            "dptNumericValue",
            "dptUnit",
            "encodeDpt9",
            "encodeForDpt",
            "encodeForDpt.data.take",
            "expect",
            "main",
            "test",
            "v.abs"
          ]
        },
        "id": 16,
        "path": "knx-0.2.1.tar.gz!!test/dpt_test.dart",
        "pid": 0,
        "risk": 1,
        "sha": "cd97a845a13ce898abc2800bfb4b030cdcae983b766917a6bf282aab25c92eee",
        "sid": 6662855856,
        "size": 5370,
        "supp": [
          {
            "by": [
              {
                "id": "metadata/file/extension/identity::dart-source-basename"
              }
            ],
            "crit": "notable",
            "id": "micro-behaviors/os/module/require::esm-side-effect-package-import",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "Bare test() statement call",
            "id": "metadata/package/testing/presence/scripted::node-test-call",
            "spans": [
              [
                79,
                8
              ],
              [
                435,
                10
              ],
              [
                733,
                11
              ],
              [
                3191,
                9
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports package:knx/knx.dart",
            "id": "metadata/import/npm/package-knx/knx/dart::package-knx/knx/dart",
            "spans": [
              [
                7,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports package:test/test.dart",
            "id": "metadata/import/npm/package-test/test/dart::package-test/test/dart",
            "spans": [
              [
                38,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                93,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                3710,
                0
              ]
            ]
          }
        ],
        "type": "javascript"
      },
      {
        "depth": 1,
        "id": 17,
        "path": "knx-0.2.1.tar.gz!!test/knx_crypto_test.dart",
        "pid": 0,
        "risk": 0,
        "sha": "ee5c76f98025cac2c02c3c269a5c5779f1d293f7d195114d2a6cff9a1e3f2740",
        "sid": 6662855858,
        "size": 6280,
        "type": "text"
      },
      {
        "depth": 1,
        "id": 18,
        "path": "knx-0.2.1.tar.gz!!test/tap_merge_test.dart",
        "pid": 0,
        "risk": 0,
        "sha": "9eb566d5b505bf9ba70be8ad0953c409bd26c0342b7a13fd061aad720f9bdb94",
        "sid": 6662855852,
        "size": 4313,
        "type": "javascript"
      }
    ],
    "v": 8
  }
}