{
  "ml": {
    "analyzed_at": "2026-11-19T14:17:34Z",
    "files": [
      {
        "lvl": -1,
        "prob": 0.01211527,
        "id": 0
      },
      {
        "lvl": -1,
        "prob": 0.000039607286,
        "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,
    "mods": [
      {
        "cls": 0
      }
    ],
    "prob": 0.01211527,
    "v": "7",
    "version": "v20.20"
  },
  "path": "v0.90.1.zip",
  "raw": {
    "files": [
      {
        "depth": 0,
        "facts": {
          "metrics": {
            "archive": {
              "compressed_size": 20367,
              "compression.method_counts.deflate": 23,
              "compression.ratio": 0.24,
              "crc_collision_count": 1,
              "directory_count": 0,
              "double_extension_count": 0,
              "duplicate_member_count": 0,
              "entry_comment_count": 0,
              "eocd_signature_count": 1,
              "executable_count": 0,
              "extra_field_size": 0,
              "file_count": 23,
              "format.regular_count": 23,
              "hidden_file_count": 0,
              "homoglyph_filename_count": 0,
              "local_header_signature_count": 23,
              "max_filename_length": 122,
              "member_count": 23,
              "misplaced_executable_count": 0,
              "nested_archive_count": 0,
              "noise_file_count": 0,
              "path_traversal_count": 0,
              "rtlo_filename_count": 0,
              "script_count": 0,
              "security.encrypted_count": 0,
              "security.setgid_count": 0,
              "security.setuid_count": 0,
              "security.sticky_count": 0,
              "security.symlink_count": 0,
              "security.world_writable_count": 0,
              "symlink_escape_count": 0,
              "timing.mtime_dominant_count": 23,
              "timing.mtime_dominant_ratio": 1,
              "timing.sentinel_mtime_count": 23,
              "uncompressed_size": 84419,
              "unicode_filename_count": 0,
              "zip_bomb_ratio": 11.04
            },
            "binary": {
              "peak_region_bytes": 21504,
              "peak_region_entropy": 7.81
            },
            "file": {
              "entropy": 7.69,
              "size": 27131
            }
          }
        },
        "id": 0,
        "ident": {
          "name": {
            "value": "v0",
            "source": "file.basename",
            "verified": false
          },
          "trust": "unsigned",
          "version": {
            "value": "90.1",
            "source": "file.basename",
            "verified": false
          }
        },
        "mol": "K₂(AmLi)H₂(Db₄F₂)Md₆(BkIn₄NePa₅)",
        "path": "v0.90.1.zip",
        "risk": 19,
        "sha": "fc5e29a22f9791bb61b5b9b7103ce6311d37ab7c535d06c6ea211fd515b6e488",
        "size": 27131,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive contains at least ten members",
            "id": "metadata/archive/layout::archive-at-least-10-members"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Declares a command for explicit go generate",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/build/config::go-explicit-generator"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/filename/identity::uppercase-readme-md-basename"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports encoding/hex",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/encoding/hex::encoding/hex"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports encoding/json",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/encoding/json::encoding/json"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports os",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/os::os"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the Go YAML v3 parser",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/package::yaml-v3-import"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Archive contains go.mod",
            "id": "metadata/package/files/included::archive-go-mod-entry"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Go module checksum manifest",
            "from": [
              {
                "file": 4,
                "line": 1,
                "off": 0
              }
            ],
            "id": "metadata/package/integrity::go-module-checksum-file",
            "uses": [
              55,
              56
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source SPDX license identifier declaration",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/package/license::spdx-license-identifier"
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "Go module source archive layout",
            "id": "metadata/package/manager::go-module-source-archive"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Calls Go t.Error or t.Errorf",
            "from": [
              {
                "file": 10
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-t-error-call"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Scanned path contains github.com",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/path/development::github-com-path-text"
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Go decodes a hexadecimal string",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/data/decode/hex::go-hex-decode-string"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Go JSON unmarshal call",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/parse/json::go-json-unmarshal",
            "mbc": "C0032"
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Go source parses YAML data",
            "from": [
              {
                "file": 5,
                "line": 16,
                "off": 378
              }
            ],
            "id": "micro-behaviors/data/parse/yaml::go-yaml-parser",
            "uses": [
              6,
              16
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Unmarshals YAML data in Go",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/parse/yaml::yaml-unmarshal"
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Go JSON marshal call",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/serialize/json::go-json-marshal",
            "mbc": "C0032"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Go writes data with os.WriteFile",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/fs/write/file/full/unspecified::go-os-writefile"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Go file-write API or writable-open flags",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/fs/write/file/unspecified::go-write-api-or-writable-open"
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "WriteFile method call text",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/fs/write/file/unspecified::go-write-file-method-call"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "well-known/app/development/code-forge/github::github-service-url"
          },
          {
            "conf": 0.99,
            "crit": 3,
            "desc": "OpenTelemetry Collector Contrib module archive",
            "id": "well-known/lib/network/opentelemetry-collector::contrib-go-module-archive"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Archive member is a README document",
            "id": "metadata/archive/member/filename/role::archive-readme-member"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Archive has no path traversal members",
            "id": "metadata/archive/member/path::no-path-traversal-members"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "GitHub versioned source archive member",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/build/archive::github-versioned-source-archive-member"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Go module proxy version source archive member",
            "id": "metadata/build/archive::go-module-proxy-version-archive-member"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "Canonical Makefile basename",
            "from": [],
            "id": "metadata/build/make::makefile-basename"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Text, document, or config extension",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/extension/identity::doc-or-config-extension"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "JSON, text, or markdown filename extension",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/extension/identity::json-txt-md-basename"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Markdown or documentation file extension",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/file/extension/identity::markdown-file-basename"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Basename starts README, REQUIREMENTS, or INSTALL",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/filename/name-form::readme-requirements-install-basename"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports bytes",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/bytes::bytes"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports fmt",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/go/fmt::fmt"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil::github/com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/stretchr/testify/require",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/github/com/stretchr/testify/require::github/com/stretchr/testify/require"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/pcommon",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/pcommon::go/opentelemetry/io/collector/pdata/pcommon"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/plog",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/plog::go/opentelemetry/io/collector/pdata/plog"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/pmetric",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/pmetric::go/opentelemetry/io/collector/pdata/pmetric"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/ptrace",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/ptrace::go/opentelemetry/io/collector/pdata/ptrace"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports gopkg.in/yaml.v3",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/gopkg/in/yaml/v3::gopkg/in/yaml/v3"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports path/filepath",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/path/filepath::path/filepath"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports runtime",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/runtime::runtime"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sort",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/go/sort::sort"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports strings",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/strings::strings"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports testing",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/testing::testing"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/time::time"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Mandatory-language vocabulary",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/natural/vocabulary/content-word::mandatory-word-english"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "uses": [
              83,
              84,
              85,
              87,
              88,
              89
            ]
          },
          {
            "conf": 0.92,
            "crit": 2,
            "desc": "Source has over 300 comment bytes",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/lang/source/comment::source-comment-bytes-over-300"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Go source declares a package",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/lang/source/syntax/declaration::go-package-clause"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Package documentation basename",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/package/documentation/source::package-doc-reference-basename"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "README document basename",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/package/documentation/source::readme-any-basename"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "README Markdown basename",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/package/documentation/source::readme-markdown-basename"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Archive container path",
            "id": "metadata/package/files/included::archive-container-path"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "Go module h1 checksum record",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/package/integrity::go-module-checksum-record"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "Go module checksum manifest filename",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/package/integrity::go-sum-filename"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Apache License text",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/license::apache-license-text"
          },
          {
            "conf": 0.6,
            "crit": 2,
            "desc": "Copyright notice",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/package/license::copyright-word"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Go test function name",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-func-test"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Go test t.Error method",
            "from": [
              {
                "file": 5,
                "line": 40,
                "off": 1084
              },
              {
                "file": 6,
                "line": 22,
                "off": 433
              },
              {
                "file": 8,
                "line": 13,
                "off": 287
              },
              {
                "file": 10,
                "line": 14,
                "off": 248
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-t-error",
            "uses": [
              11,
              63
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Go testing package",
            "from": [
              {
                "file": 5,
                "line": 40,
                "off": 1084
              },
              {
                "file": 6,
                "line": 22,
                "off": 433
              },
              {
                "file": 8,
                "line": 13,
                "off": 287
              },
              {
                "file": 10,
                "line": 14,
                "off": 248
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-test",
            "uses": [
              59,
              63
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Go _test.go file using the testing harness",
            "from": [
              {
                "file": 6,
                "line": 22,
                "off": 433
              },
              {
                "file": 8,
                "line": 13,
                "off": 287
              },
              {
                "file": 10,
                "line": 14,
                "off": 248
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-test-source-file",
            "uses": [
              61,
              65
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test uses a testing.T parameter",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-testing-t"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Binary/archive has test-fixture naming evidence",
            "id": "metadata/package/testing/presence/corpus::binary-test-fixture-member"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test file suffix",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/package/testing/presence/harness::go-test-file"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Go test helper source file",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/package/testing/presence/harness::go-test-helper-file"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "File in test fixture or helper directory",
            "id": "metadata/package/testing/presence/harness::test-fixture-directory"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "File path or name indicates test code",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/package/testing/presence/harness::tests-path-filename"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Grant or authorization verb text",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/permission/prose::permission-grant-verb-english"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Permission or access term",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/permission/prose::permission-permission-term-english"
          },
          {
            "conf": 0.5,
            "crit": 2,
            "desc": "Go encoding/json package reference",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/format/json::encoding-json-import",
            "mbc": "C0032"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Calls a path join or combine API",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/fs/path-ops::source-path-builder-call"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Read file contents via os.ReadFile",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/fs/read/file/content/unspecified::os-readfile"
          },
          {
            "atk": "T1082",
            "conf": 0.5,
            "crit": 2,
            "desc": "runtime.GOOS OS detection",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/os/sysinfo/platform/runtime/platform::runtime-goos",
            "mbc": "E1082"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Archive contains at least six members",
            "id": "metadata/archive/layout::archive-at-least-6-members"
          },
          {
            "conf": 0.9,
            "crit": 1,
            "desc": "Archive member has no file extension",
            "id": "metadata/archive/member/filename/role::archive-extensionless-member"
          },
          {
            "conf": 0.72,
            "crit": 1,
            "desc": "HTML comment opening delimiter",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/document/html/structure::comment-opener"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Control-action verb followed by alphabetic text",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/content-word::control-action-prose-fragment"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/natural/vocabulary/content-word::data-transfer-verb-token"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Directive or message vocabulary token",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/content-word::directive-or-message-word-token"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "from": [
              {
                "file": 1
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7"
          },
          {
            "conf": 0.94,
            "crit": 1,
            "desc": "Random-like alphanumeric string literal present",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/source/literal/string/shape::random-like-alphanumeric-literal-present"
          },
          {
            "conf": 0.92,
            "crit": 1,
            "desc": "Temporary-directory identifier text reference",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/lang/source/naming/resource::temp-directory-identifier-text-reference"
          },
          {
            "conf": 0.98,
            "crit": 1,
            "desc": "Archive contains Go source",
            "id": "metadata/package/files/included::archive-go-source-entry"
          },
          {
            "conf": 0.85,
            "crit": 1,
            "desc": "Regex substitution or removal call",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/communications/http/saml::xml-regex-strip-call"
          }
        ],
        "type": "go_module"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "                                 Apache License\n                           Version 2.0, January 2004\n                        http://www.apache.org/licenses/\n\n   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION\n\n   1. Definitions.\n\n      \"License\" shall mean the terms and conditions for use, reproduction,\n      and distribution as defined by Sections 1 through 9 of this document.\n\n      \"Licensor\" shall mean the copyright owner or entity authorized by\n      the copyright owner that is granting the License.\n\n      \"Legal Entity\" shall mean the union of the acting entity and al"
          },
          {
            "col": 41,
            "line": 16,
            "ln": 635,
            "s": "ontrolled by, or are under common\n      control with that entity. For the purposes of this definition,\n      \"control\" means (i) the power, direct o"
          },
          {
            "col": 56,
            "line": 36,
            "ln": 1701,
            "s": " indicated by a\n      copyright notice that is included in or attached to the work\n      (an example i"
          },
          {
            "col": 25,
            "line": 52,
            "ln": 2652,
            "s": "l or Legal Entity authorized to submit on behalf of\n      the copyright owner. For the purposes of thi"
          },
          {
            "col": 9,
            "line": 64,
            "ln": 3460,
            "s": "bsequently incorporated within the Work.\n\n   2. Grant of Copyright License. Subject to the terms and conditions of\n      this License, each Contributor hereby gra"
          },
          {
            "col": 18,
            "line": 76,
            "ln": 4146,
            "s": "stated in this section) patent license to make, have made,\n      use, offer to sell, sell, import, and otherwise transfer the Work,\n      where such"
          },
          {
            "col": 47,
            "line": 82,
            "ln": 4605,
            "s": "entity (including a\n      cross-claim or counterclaim in a lawsuit) alleging that the Work\n      or a C"
          },
          {
            "col": 4,
            "line": 92,
            "ln": 5165,
            "s": "   meet the following conditions:\n\n      (a) You must give any other recipients of the Work or\n          Derivative Works a copy of this License; and\n\n      (b) You must cause any modified files to carry prominent notices\n          stating that You changed the files; and\n\n      (c) Yo"
          },
          {
            "col": 3,
            "line": 106,
            "ln": 5749,
            "s": "    (d) If the Work includes a \"NOTICE\" text file as part of its\n          distribution, then any Deri"
          },
          {
            "col": 14,
            "line": 117,
            "ln": 6543,
            "s": "not modify the License. You may add Your own attribution\n          notices within Derivative Works "
          },
          {
            "col": 50,
            "line": 136,
            "ln": 7731,
            "s": "\n\n   6. Trademarks. This License does not grant permission to use the trade\n      names, trademarks, service marks, or product names of the Licensor,\n    "
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 11264,
              "peak_region_entropy": 4.62
            },
            "file": {
              "entropy": 4.43,
              "size": 11357
            }
          }
        },
        "id": 1,
        "mol": "Md",
        "path": "v0.90.1.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden@v0.90.1/LICENSE",
        "pid": 0,
        "risk": 1,
        "sha": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4",
        "sid": 1772486683,
        "size": 11357,
        "traits": [
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Scanned path contains github.com",
            "id": "metadata/path/development::github-com-path-text"
          }
        ],
        "type": "text"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "# golden\n\u003c!-- status autogenerated section --\u003e\n| Status        |           |\n"
          },
          {
            "col": 162,
            "line": 6,
            "ln": 321,
            "s": "%3Apkg%2Fgolden%20\u0026label=open\u0026color=orange\u0026logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Apkg%2Fgolden) [![Closed issues](https://img"
          },
          {
            "col": 87,
            "line": 7,
            "ln": 922,
            "s": "/main/CONTRIBUTING.md#becoming-a-code-owner)    | [@djaglowski](https://www.github.com/djaglowski), [@atoulme](https://www.github.com/atoulme) |\n\n[alpha]: https://github.com/open-telemetry/opentelemetry-collector#alpha\n\u003c!-- end autogenerated section --\u003e\n\nThe package golden provides utilities for reading and writing files with metrics, traces and logs in YAML format. \nThe package is expected to be used with pkg/pdatatest"
          },
          {
            "col": 4,
            "line": 23,
            "ln": 1636,
            "s": "n updating an existing test:\n1. Add a call to `golden.WriteMetrics` or `golden.WriteLogs` or in the appropriate place.\n2. Run the test once.\n3. Remove the call to `golden.WriteMetrics` or `golden.WriteLogs`.\n\nNOTE: `golden.WriteMetrics` will always mark the test as failed. This behavior is\nnecessary to ensure the function is removed after the golden file is written.\n\n```g"
          },
          {
            "col": 49,
            "line": 46,
            "ln": 2516,
            "s": "ics) // This line is temporary! TODO remove this!!\n\n\texpectedMetrics, err := golden.ReadMetrics(expectedFil"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 2738,
              "peak_region_entropy": 5.04
            },
            "file": {
              "entropy": 5.07,
              "size": 2738
            },
            "text": {
              "ascii_art_lines": 1,
              "avg_line_length": 50.66,
              "char_entropy": 5.07,
              "digit_ratio": 0.02,
              "empty_line_ratio": 0.28,
              "last_line_length": 3,
              "line_length_stddev": 96.2,
              "lines": 53,
              "lines_over_200": 2,
              "lines_over_500": 1,
              "long_token_count": 3,
              "max_line_length": 675,
              "max_whitespace_run": 11,
              "repeated_char_sequences": 3,
              "space_count": 223,
              "tab_count": 12,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.11,
              "trailing_whitespace_lines": 1,
              "unique_chars": 78,
              "whitespace_ratio": 0.11
            }
          }
        },
        "id": 2,
        "mol": "K(Am)Md",
        "path": "v0.90.1.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden@v0.90.1/README.md",
        "pid": 0,
        "risk": 3,
        "sha": "04909d543ef6c643577d90fa9b56c1ae47da327d1bf7056cf2646394bc4dba91",
        "sid": 3082730712,
        "size": 2738,
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "id": "metadata/filename/identity::uppercase-readme-md-basename"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                385,
                19
              ],
              [
                986,
                23
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Text, document, or config extension",
            "id": "metadata/file/extension/identity::doc-or-config-extension"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "JSON, text, or markdown filename extension",
            "id": "metadata/file/extension/identity::json-txt-md-basename"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Markdown or documentation file extension",
            "id": "metadata/file/extension/identity::markdown-file-basename"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Basename starts README, REQUIREMENTS, or INSTALL",
            "id": "metadata/filename/name-form::readme-requirements-install-basename"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "spans": [
              [
                1215,
                0
              ]
            ],
            "uses": [
              14,
              15,
              16,
              17,
              18
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Package documentation basename",
            "id": "metadata/package/documentation/source::package-doc-reference-basename"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "README document basename",
            "id": "metadata/package/documentation/source::readme-any-basename"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "README Markdown basename",
            "id": "metadata/package/documentation/source::readme-markdown-basename"
          },
          {
            "conf": 0.72,
            "crit": 1,
            "desc": "HTML comment opening delimiter",
            "id": "metadata/document/html/structure::comment-opener",
            "spans": [
              [
                9,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Control-action verb followed by alphabetic text",
            "id": "metadata/lang/natural/vocabulary/content-word::control-action-prose-fragment",
            "spans": [
              [
                1758,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Directive or message vocabulary token",
            "id": "metadata/lang/natural/vocabulary/content-word::directive-or-message-word-token",
            "spans": [
              [
                2548,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                1780,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                1177,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                1227,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                1215,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                1245,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                1910,
                0
              ]
            ]
          }
        ],
        "type": "markdown"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "// Copyright The OpenTelemetry Authors\n// SPDX-License-Identifier: Apache-2.0\n\n//go:generate mdatagen metadata.yaml\n\npackage golden // import \"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden\"\n"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "ast": {
              "call_count": 0,
              "max_depth": 2,
              "node_count": 8
            },
            "binary": {
              "peak_region_bytes": 213,
              "peak_region_entropy": 4.69
            },
            "comments": {
              "chars": 184,
              "count": 4,
              "lines": 4,
              "to_code_ratio": 2
            },
            "file": {
              "entropy": 4.69,
              "size": 213
            },
            "identifiers": {
              "all_lowercase_ratio": 1,
              "avg_entropy": 2.58,
              "avg_length": 6,
              "count": 1,
              "max_length": 6,
              "min_length": 6,
              "reuse_ratio": 1,
              "unique": 1
            },
            "text": {
              "avg_line_length": 34.5,
              "char_entropy": 4.69,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.33,
              "identifier_density": 0.17,
              "last_line_length": 95,
              "line_length_stddev": 31.8,
              "lines": 6,
              "max_line_length": 95,
              "max_whitespace_run": 1,
              "normalized_unique_identifiers": 0.39,
              "space_count": 12,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.13,
              "unique_chars": 39,
              "whitespace_ratio": 0.08
            }
          }
        },
        "id": 3,
        "mol": "Md₂(BkPa)",
        "path": "v0.90.1.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden@v0.90.1/doc.go",
        "pid": 0,
        "risk": 3,
        "sha": "3ec695c4337e2e750cce0a2691b32d31ac1d882f7257fad3f481db4ad2375657",
        "sid": 2773157667,
        "size": 213,
        "traits": [
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Declares a command for explicit go generate",
            "id": "metadata/build/config::go-explicit-generator"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source SPDX license identifier declaration",
            "id": "metadata/package/license::spdx-license-identifier",
            "spans": [
              [
                42,
                35
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "GitHub versioned source archive member",
            "id": "metadata/build/archive::github-versioned-source-archive-member"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Go source declares a package",
            "id": "metadata/lang/source/syntax/declaration::go-package-clause"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                13,
                0
              ]
            ]
          }
        ],
        "type": "go"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=\ngithub.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=\ngithub.com/davecgh/go-spew v1.1.0/go"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 7497,
              "peak_region_entropy": 5.79
            },
            "file": {
              "entropy": 5.83,
              "size": 7497
            }
          }
        },
        "id": 4,
        "mol": "Md(Pa)",
        "path": "v0.90.1.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden@v0.90.1/go.sum",
        "pid": 0,
        "refs": [
          {
            "kind": "undefined",
            "off": 0,
            "to": "pkg:golang/github.com/cespare/xxhash/v2@v2.2.0"
          },
          {
            "kind": "undefined",
            "off": 84,
            "to": "pkg:golang/github.com/cespare/xxhash/v2@v2.2.0"
          },
          {
            "kind": "undefined",
            "off": 175,
            "to": "pkg:golang/github.com/davecgh/go-spew@v1.1.0"
          },
          {
            "kind": "undefined",
            "off": 264,
            "to": "pkg:golang/github.com/davecgh/go-spew@v1.1.1"
          },
          {
            "kind": "undefined",
            "off": 346,
            "to": "pkg:golang/github.com/davecgh/go-spew@v1.1.1"
          },
          {
            "kind": "undefined",
            "off": 435,
            "to": "pkg:golang/github.com/gogo/protobuf@v1.3.2"
          },
          {
            "kind": "undefined",
            "off": 515,
            "to": "pkg:golang/github.com/gogo/protobuf@v1.3.2"
          },
          {
            "kind": "undefined",
            "off": 602,
            "to": "pkg:golang/github.com/golang/protobuf@v1.5.0"
          },
          {
            "kind": "undefined",
            "off": 691,
            "to": "pkg:golang/github.com/golang/protobuf@v1.5.3"
          },
          {
            "kind": "undefined",
            "off": 773,
            "to": "pkg:golang/github.com/golang/protobuf@v1.5.3"
          },
          {
            "kind": "undefined",
            "off": 862,
            "to": "pkg:golang/github.com/google/go-cmp@v0.5.5"
          },
          {
            "kind": "undefined",
            "off": 949,
            "to": "pkg:golang/github.com/google/go-cmp@v0.5.9"
          },
          {
            "kind": "undefined",
            "off": 1029,
            "to": "pkg:golang/github.com/google/gofuzz@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 1116,
            "to": "pkg:golang/github.com/json-iterator/go@v1.1.12"
          },
          {
            "kind": "undefined",
            "off": 1200,
            "to": "pkg:golang/github.com/json-iterator/go@v1.1.12"
          },
          {
            "kind": "undefined",
            "off": 1291,
            "to": "pkg:golang/github.com/kisielk/errcheck@v1.5.0"
          },
          {
            "kind": "undefined",
            "off": 1381,
            "to": "pkg:golang/github.com/kisielk/gotool@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 1469,
            "to": "pkg:golang/github.com/kr/pretty@v0.3.1"
          },
          {
            "kind": "undefined",
            "off": 1545,
            "to": "pkg:golang/github.com/kr/text@v0.2.0"
          },
          {
            "kind": "undefined",
            "off": 1619,
            "to": "pkg:golang/github.com/modern-go/concurrent@v0.0.0-20180228061459-e0a39a4cb421"
          },
          {
            "kind": "undefined",
            "off": 1741,
            "to": "pkg:golang/github.com/modern-go/concurrent@v0.0.0-20180306012644-bacd9c7ef1dd"
          },
          {
            "kind": "undefined",
            "off": 1856,
            "to": "pkg:golang/github.com/modern-go/concurrent@v0.0.0-20180306012644-bacd9c7ef1dd"
          },
          {
            "kind": "undefined",
            "off": 1978,
            "to": "pkg:golang/github.com/modern-go/reflect2@v1.0.2"
          },
          {
            "kind": "undefined",
            "off": 2063,
            "to": "pkg:golang/github.com/modern-go/reflect2@v1.0.2"
          },
          {
            "kind": "undefined",
            "off": 2155,
            "to": "pkg:golang/github.com/pmezard/go-difflib@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 2240,
            "to": "pkg:golang/github.com/pmezard/go-difflib@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 2332,
            "to": "pkg:golang/github.com/rogpeppe/go-internal@v1.10.0"
          },
          {
            "kind": "undefined",
            "off": 2420,
            "to": "pkg:golang/github.com/stretchr/objx@v0.1.0"
          },
          {
            "kind": "undefined",
            "off": 2507,
            "to": "pkg:golang/github.com/stretchr/testify@v1.3.0"
          },
          {
            "kind": "undefined",
            "off": 2597,
            "to": "pkg:golang/github.com/stretchr/testify@v1.8.4"
          },
          {
            "kind": "undefined",
            "off": 2680,
            "to": "pkg:golang/github.com/stretchr/testify@v1.8.4"
          },
          {
            "kind": "undefined",
            "off": 2770,
            "to": "pkg:golang/github.com/yuin/goldmark@v1.1.27"
          },
          {
            "kind": "undefined",
            "off": 2858,
            "to": "pkg:golang/github.com/yuin/goldmark@v1.2.1"
          },
          {
            "kind": "undefined",
            "off": 2945,
            "to": "pkg:golang/go.opentelemetry.io/collector/pdata@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 3036,
            "to": "pkg:golang/go.opentelemetry.io/collector/pdata@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 3134,
            "to": "pkg:golang/go.uber.org/multierr@v1.11.0"
          },
          {
            "kind": "undefined",
            "off": 3211,
            "to": "pkg:golang/go.uber.org/multierr@v1.11.0"
          },
          {
            "kind": "undefined",
            "off": 3295,
            "to": "pkg:golang/golang.org/x/crypto@v0.0.0-20190308221718-c2843e01d9a2"
          },
          {
            "kind": "undefined",
            "off": 3405,
            "to": "pkg:golang/golang.org/x/crypto@v0.0.0-20191011191535-87dc89f01550"
          },
          {
            "kind": "undefined",
            "off": 3515,
            "to": "pkg:golang/golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9"
          },
          {
            "kind": "undefined",
            "off": 3625,
            "to": "pkg:golang/golang.org/x/mod@v0.2.0"
          },
          {
            "kind": "undefined",
            "off": 3704,
            "to": "pkg:golang/golang.org/x/mod@v0.3.0"
          },
          {
            "kind": "undefined",
            "off": 3783,
            "to": "pkg:golang/golang.org/x/net@v0.0.0-20190404232315-eb5bcb51f2a3"
          },
          {
            "kind": "undefined",
            "off": 3890,
            "to": "pkg:golang/golang.org/x/net@v0.0.0-20190620200207-3b0461eec859"
          },
          {
            "kind": "undefined",
            "off": 3997,
            "to": "pkg:golang/golang.org/x/net@v0.0.0-20200226121028-0de0cce0169b"
          },
          {
            "kind": "undefined",
            "off": 4104,
            "to": "pkg:golang/golang.org/x/net@v0.0.0-20201021035429-f5854403a974"
          },
          {
            "kind": "undefined",
            "off": 4211,
            "to": "pkg:golang/golang.org/x/net@v0.18.0"
          },
          {
            "kind": "undefined",
            "off": 4284,
            "to": "pkg:golang/golang.org/x/net@v0.18.0"
          },
          {
            "kind": "undefined",
            "off": 4364,
            "to": "pkg:golang/golang.org/x/sync@v0.0.0-20190423024810-112230192c58"
          },
          {
            "kind": "undefined",
            "off": 4472,
            "to": "pkg:golang/golang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e"
          },
          {
            "kind": "undefined",
            "off": 4580,
            "to": "pkg:golang/golang.org/x/sync@v0.0.0-20201020160332-67f06af15bc9"
          },
          {
            "kind": "undefined",
            "off": 4688,
            "to": "pkg:golang/golang.org/x/sys@v0.0.0-20190215142949-d0b11bdaac8a"
          },
          {
            "kind": "undefined",
            "off": 4795,
            "to": "pkg:golang/golang.org/x/sys@v0.0.0-20190412213103-97732733099d"
          },
          {
            "kind": "undefined",
            "off": 4902,
            "to": "pkg:golang/golang.org/x/sys@v0.0.0-20200930185726-fdedc70b468f"
          },
          {
            "kind": "undefined",
            "off": 5009,
            "to": "pkg:golang/golang.org/x/sys@v0.14.0"
          },
          {
            "kind": "undefined",
            "off": 5082,
            "to": "pkg:golang/golang.org/x/sys@v0.14.0"
          },
          {
            "kind": "undefined",
            "off": 5162,
            "to": "pkg:golang/golang.org/x/text@v0.3.0"
          },
          {
            "kind": "undefined",
            "off": 5242,
            "to": "pkg:golang/golang.org/x/text@v0.3.3"
          },
          {
            "kind": "undefined",
            "off": 5322,
            "to": "pkg:golang/golang.org/x/text@v0.14.0"
          },
          {
            "kind": "undefined",
            "off": 5396,
            "to": "pkg:golang/golang.org/x/text@v0.14.0"
          },
          {
            "kind": "undefined",
            "off": 5477,
            "to": "pkg:golang/golang.org/x/tools@v0.0.0-20180917221912-90fa682c2a6e"
          },
          {
            "kind": "undefined",
            "off": 5586,
            "to": "pkg:golang/golang.org/x/tools@v0.0.0-20191119224855-298f0cb1881e"
          },
          {
            "kind": "undefined",
            "off": 5695,
            "to": "pkg:golang/golang.org/x/tools@v0.0.0-20200619180055-7c47624df98f"
          },
          {
            "kind": "undefined",
            "off": 5804,
            "to": "pkg:golang/golang.org/x/tools@v0.0.0-20210106214847-113979e3529a"
          },
          {
            "kind": "undefined",
            "off": 5913,
            "to": "pkg:golang/golang.org/x/xerrors@v0.0.0-20190717185122-a985d3407aa7"
          },
          {
            "kind": "undefined",
            "off": 6024,
            "to": "pkg:golang/golang.org/x/xerrors@v0.0.0-20191011141410-1b5146add898"
          },
          {
            "kind": "undefined",
            "off": 6135,
            "to": "pkg:golang/golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543"
          },
          {
            "kind": "undefined",
            "off": 6246,
            "to": "pkg:golang/golang.org/x/xerrors@v0.0.0-20200804184101-5ec99f83aff1"
          },
          {
            "kind": "undefined",
            "off": 6357,
            "to": "pkg:golang/google.golang.org/genproto/googleapis/rpc@v0.0.0-20230822172742-b8732ec3820d"
          },
          {
            "kind": "undefined",
            "off": 6482,
            "to": "pkg:golang/google.golang.org/genproto/googleapis/rpc@v0.0.0-20230822172742-b8732ec3820d"
          },
          {
            "kind": "undefined",
            "off": 6614,
            "to": "pkg:golang/google.golang.org/grpc@v1.59.0"
          },
          {
            "kind": "undefined",
            "off": 6693,
            "to": "pkg:golang/google.golang.org/grpc@v1.59.0"
          },
          {
            "kind": "undefined",
            "off": 6779,
            "to": "pkg:golang/google.golang.org/protobuf@v1.26.0-rc.1"
          },
          {
            "kind": "undefined",
            "off": 6874,
            "to": "pkg:golang/google.golang.org/protobuf@v1.26.0"
          },
          {
            "kind": "undefined",
            "off": 6964,
            "to": "pkg:golang/google.golang.org/protobuf@v1.31.0"
          },
          {
            "kind": "undefined",
            "off": 7047,
            "to": "pkg:golang/google.golang.org/protobuf@v1.31.0"
          },
          {
            "kind": "undefined",
            "off": 7137,
            "to": "pkg:golang/gopkg.in/check.v1@v0.0.0-20161208181325-20d25e280405"
          },
          {
            "kind": "undefined",
            "off": 7245,
            "to": "pkg:golang/gopkg.in/check.v1@v1.0.0-20201130134442-10cb98267c6c"
          },
          {
            "kind": "undefined",
            "off": 7346,
            "to": "pkg:golang/gopkg.in/yaml.v3@v3.0.1"
          },
          {
            "kind": "undefined",
            "off": 7418,
            "to": "pkg:golang/gopkg.in/yaml.v3@v3.0.1"
          }
        ],
        "risk": 1,
        "sha": "56be36899bc58e9a88ba98fbbcd9e7d31b5b18ec003cfbc5a1650d348e25654f",
        "sid": 1887372045,
        "size": 7497,
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Go module checksum manifest",
            "id": "metadata/package/integrity::go-module-checksum-file",
            "spans": [
              [
                0,
                83
              ]
            ],
            "uses": [
              1,
              2
            ]
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "Go module h1 checksum record",
            "id": "metadata/package/integrity::go-module-checksum-record",
            "spans": [
              [
                0,
                0
              ]
            ]
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "Go module checksum manifest filename",
            "id": "metadata/package/integrity::go-sum-filename"
          }
        ],
        "type": "go.sum"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "// Copyright The OpenTelemetry Authors\n// SPDX-License-Identifier: Apache-2.0\n\npackage golden // import \"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden\"\n\nimport (\n\t\"bytes\"\n\t\"encoding/json\"\n\t\"os\"\n\t\"strings\"\n\t\"testing\"\n\n\t\"go.opentelemetry.io/collector/pdata/plog\"\n\t\"go.opentelemetry.io/collector/pdata/pmetric\"\n\t\"go.opentelemetry.io/collector/pdata/ptrace\"\n\t\"gopkg.in/yaml.v3\"\n)\n\n// ReadMetrics reads a pmetric.Metrics from the specified YAML or JSON file.\nfunc ReadMetrics(filePath string) (pmetric.Metrics, error) {\n\tb, err := os.ReadFile(filePath)\n\tif err != nil {\n\t\treturn pmetric.Metrics{}, err\n\t}\n\tif strings.HasSuffix(filePath, \""
          },
          {
            "col": 53,
            "line": 25,
            "ln": 675,
            "s": "HasSuffix(filePath, \".yml\") {\n\t\tvar m map[string]any\n\t\tif err = yaml.Unmarshal(b, \u0026m); err != nil {\n\t\t\treturn pmetric.Metrics{}, err\n\t\t}\n\t\tb, err = json.Marshal(m)\n\t\tif err != nil {\n\t\t\treturn pmetric.Metrics{}, err\n\t\t}\n\t}\n\tunmarshaller := \u0026pmetric.JSONUnmarshaler{}\n\treturn unmarshaller.U"
          },
          {
            "col": 52,
            "line": 39,
            "ln": 1036,
            "s": "cified file in YAML format.\nfunc WriteMetrics(t *testing.T, filePath string, metrics pmetric.Metrics) error {\n\tif err := writeMetrics(filePath, metrics); "
          },
          {
            "col": 38,
            "line": 44,
            "ln": 1256,
            "s": "tten to %s.\", filePath)\n\tt.Log(\"NOTE: The WriteMetrics call must be removed in order to pass the tes"
          },
          {
            "col": 13,
            "line": 54,
            "ln": 1626,
            "s": "il {\n\t\treturn nil, err\n\t}\n\tvar jsonVal map[string]any\n\tif err = json.Unmarshal(fileBytes, \u0026jsonVal); err != nil {\n\t\treturn nil, err\n\t}\n\tb := \u0026bytes.Buffer{}\n\tenc := yaml.NewEncoder(b)\n\tenc.SetIndent(2)\n\tif "
          },
          {
            "col": 17,
            "line": 74,
            "ln": 2135,
            "s": "alMetricsYAML(metrics)\n\tif err != nil {\n\t\treturn err\n\t}\n\treturn os.WriteFile(filePath, b, 0600)\n}\n\n// ReadLogs reads a plog.Logs from the specified YAML or JSON file.\nfunc ReadLogs(filePath string) (plog.L"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "ReadMetrics",
              477
            ],
            [
              "WriteMetrics",
              1064
            ],
            [
              "MarshalMetricsYAML",
              1451
            ],
            [
              "writeMetrics",
              1999
            ],
            [
              "ReadLogs",
              2302
            ],
            [
              "WriteLogs",
              2844
            ],
            [
              "writeLogs",
              3215
            ],
            [
              "ReadTraces",
              3748
            ],
            [
              "WriteTraces",
              4318
            ],
            [
              "writeTraces",
              4693
            ]
          ],
          "imp": [
            [
              "",
              "os.ReadFile"
            ],
            [
              "",
              "strings.HasSuffix"
            ],
            [
              "",
              "strings.HasSuffix"
            ],
            [
              "",
              "yaml.Unmarshal"
            ],
            [
              "",
              "json.Marshal"
            ],
            [
              "",
              "unmarshaller.UnmarshalMetrics"
            ],
            [
              "",
              "writeMetrics"
            ],
            [
              "",
              "t.Logf"
            ],
            [
              "",
              "t.Log"
            ],
            [
              "",
              "t.Fail"
            ],
            [
              "",
              "unmarshaler.MarshalMetrics"
            ],
            [
              "",
              "json.Unmarshal"
            ],
            [
              "",
              "yaml.NewEncoder"
            ],
            [
              "",
              "enc.SetIndent"
            ],
            [
              "",
              "enc.Encode"
            ],
            [
              "",
              "b.Bytes"
            ],
            [
              "",
              "sortMetrics"
            ],
            [
              "",
              "normalizeTimestamps"
            ],
            [
              "",
              "MarshalMetricsYAML"
            ],
            [
              "",
              "os.WriteFile"
            ],
            [
              "",
              "os.ReadFile"
            ],
            [
              "",
              "strings.HasSuffix"
            ],
            [
              "",
              "strings.HasSuffix"
            ],
            [
              "",
              "yaml.Unmarshal"
            ],
            [
              "",
              "json.Marshal"
            ],
            [
              "",
              "unmarshaler.UnmarshalLogs"
            ],
            [
              "",
              "writeLogs"
            ],
            [
              "",
              "t.Logf"
            ],
            [
              "",
              "t.Log"
            ],
            [
              "",
              "t.Fail"
            ],
            [
              "",
              "unmarshaler.MarshalLogs"
            ],
            [
              "",
              "json.Unmarshal"
            ],
            [
              "",
              "yaml.NewEncoder"
            ],
            [
              "",
              "enc.SetIndent"
            ],
            [
              "",
              "enc.Encode"
            ],
            [
              "",
              "os.WriteFile"
            ],
            [
              "",
              "b.Bytes"
            ],
            [
              "",
              "os.ReadFile"
            ],
            [
              "",
              "strings.HasSuffix"
            ],
            [
              "",
              "strings.HasSuffix"
            ],
            [
              "",
              "yaml.Unmarshal"
            ],
            [
              "",
              "json.Marshal"
            ],
            [
              "",
              "unmarshaler.UnmarshalTraces"
            ],
            [
              "",
              "writeTraces"
            ],
            [
              "",
              "t.Logf"
            ],
            [
              "",
              "t.Log"
            ],
            [
              "",
              "t.Fail"
            ],
            [
              "",
              "unmarshaler.MarshalTraces"
            ],
            [
              "",
              "json.Unmarshal"
            ],
            [
              "",
              "yaml.NewEncoder"
            ],
            [
              "",
              "enc.SetIndent"
            ],
            [
              "",
              "enc.Encode"
            ],
            [
              "",
              "os.WriteFile"
            ],
            [
              "",
              "b.Bytes"
            ],
            [
              "",
              "bytes"
            ],
            [
              "",
              "encoding/json"
            ],
            [
              "",
              "os"
            ],
            [
              "",
              "strings"
            ],
            [
              "",
              "testing"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/plog"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/pmetric"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/ptrace"
            ],
            [
              "",
              "gopkg.in/yaml.v3"
            ]
          ],
          "mbr": [
            "b.Bytes",
            "enc.Encode",
            "enc.SetIndent",
            "json.Marshal",
            "json.Unmarshal",
            "os.ReadFile",
            "os.WriteFile",
            "strings.HasSuffix",
            "t.Fail",
            "t.Log",
            "t.Logf",
            "unmarshaler.MarshalLogs",
            "unmarshaler.MarshalMetrics",
            "unmarshaler.MarshalTraces",
            "unmarshaler.UnmarshalLogs",
            "unmarshaler.UnmarshalTraces",
            "unmarshaller.UnmarshalMetrics",
            "yaml.NewEncoder",
            "yaml.Unmarshal"
          ],
          "metrics": {
            "ast": {
              "call_count": 54,
              "max_array_length": 2,
              "max_depth": 14,
              "max_member_depth": 2,
              "member_count": 19,
              "node_count": 1691,
              "op.band": 13,
              "op.lor": 3,
              "op.ne": 22,
              "op_density.band": 0.01,
              "op_density.lor": 0,
              "op_density.ne": 0.01
            },
            "binary": {
              "peak_region_bytes": 5165,
              "peak_region_entropy": 5.02
            },
            "comments": {
              "chars": 838,
              "count": 13,
              "lines": 13,
              "to_code_ratio": 0.08
            },
            "file": {
              "entropy": 5.03,
              "size": 5165
            },
            "functions": {
              "avg_length_lines": 14.4,
              "avg_name_length": 11.1,
              "avg_param_name_length": 6.11,
              "avg_params": 1.9,
              "code_ratio": 0.8,
              "count": 10,
              "density": 5.52,
              "high_entropy_names": 1,
              "length_stddev": 4.41,
              "max_length_lines": 18,
              "max_params": 3,
              "min_length_lines": 9,
              "single_char_params": 3
            },
            "identifiers": {
              "all_lowercase_ratio": 0.38,
              "all_uppercase_ratio": 0.02,
              "avg_entropy": 2.48,
              "avg_length": 7.83,
              "count": 372,
              "high_entropy_count": 4,
              "high_entropy_ratio": 0.06,
              "length_stddev": 4.2,
              "max_length": 19,
              "min_length": 1,
              "reuse_ratio": 0.17,
              "sequential_names": 4,
              "single_char_count": 4,
              "single_char_ratio": 0.06,
              "unique": 64
            },
            "imports": {
              "count": 9,
              "stdlib_count": 5,
              "stdlib_ratio": 0.56,
              "third_party_count": 4,
              "third_party_ratio": 0.44
            },
            "source": {
              "function_count": 10
            },
            "strings": {
              "avg_entropy": 3.04,
              "avg_length": 25,
              "bytes": 525,
              "count": 21,
              "entropy_stddev": 0.93,
              "max_length": 70,
              "url_count": 4
            },
            "text": {
              "avg_line_length": 27.54,
              "char_entropy": 5.03,
              "digit_ratio": 0,
              "empty_line_ratio": 0.07,
              "identifier_density": 2.06,
              "identifiers_to_functions_ratio": 6.4,
              "import_density": 4.97,
              "imports_to_functions_ratio": 0.9,
              "last_line_length": 1,
              "line_length_stddev": 24.87,
              "lines": 181,
              "max_line_length": 95,
              "max_whitespace_run": 1,
              "normalized_function_count": 0.74,
              "normalized_import_count": 0.67,
              "normalized_string_count": 1.56,
              "normalized_unique_identifiers": 8.53,
              "space_count": 498,
              "string_density": 0.12,
              "strings_to_functions_ratio": 2.1,
              "suspicious_identifier_ratio": 0.06,
              "tab_count": 179,
              "top_char": 114,
              "top_char_null": 0,
              "top_char_ratio": 0.09,
              "unique_chars": 74,
              "whitespace_ratio": 0.17
            }
          },
          "tgt": [
            "MarshalMetricsYAML",
            "b.Bytes",
            "enc.Encode",
            "enc.SetIndent",
            "json.Marshal",
            "json.Unmarshal",
            "normalizeTimestamps",
            "os.ReadFile",
            "os.WriteFile",
            "sortMetrics",
            "strings.HasSuffix",
            "t.Fail",
            "t.Log",
            "t.Logf",
            "unmarshaler.MarshalLogs",
            "unmarshaler.MarshalMetrics",
            "unmarshaler.MarshalTraces",
            "unmarshaler.UnmarshalLogs",
            "unmarshaler.UnmarshalTraces",
            "unmarshaller.UnmarshalMetrics",
            "writeLogs",
            "writeMetrics",
            "writeTraces",
            "yaml.NewEncoder",
            "yaml.Unmarshal"
          ]
        },
        "id": 5,
        "mol": "H₂(Db₃F₂)Md₂(In₃Pa)",
        "path": "v0.90.1.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden@v0.90.1/golden.go",
        "pid": 0,
        "risk": 7,
        "sha": "5cc4ea03a004d173b3e19a488dbbd576f676327993399cdf3c22d6a257623a0f",
        "sid": 3082731653,
        "size": 5165,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports encoding/json",
            "id": "metadata/import/go/encoding/json::encoding/json",
            "spans": [
              [
                195,
                13
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports os",
            "id": "metadata/import/go/os::os",
            "spans": [
              [
                212,
                2
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Imports the Go YAML v3 parser",
            "id": "metadata/import/package::yaml-v3-import",
            "spans": [
              [
                378,
                16
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source SPDX license identifier declaration",
            "id": "metadata/package/license::spdx-license-identifier",
            "spans": [
              [
                42,
                35
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Go JSON unmarshal call",
            "id": "micro-behaviors/data/parse/json::go-json-unmarshal",
            "mbc": "C0032",
            "spans": [
              [
                1690,
                14
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 3,
            "desc": "Go source parses YAML data",
            "id": "micro-behaviors/data/parse/yaml::go-yaml-parser",
            "spans": [
              [
                378,
                16
              ],
              [
                739,
                14
              ]
            ],
            "uses": [
              2,
              6
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Unmarshals YAML data in Go",
            "id": "micro-behaviors/data/parse/yaml::yaml-unmarshal",
            "spans": [
              [
                739,
                14
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 3,
            "desc": "Go JSON marshal call",
            "id": "micro-behaviors/data/serialize/json::go-json-marshal",
            "mbc": "C0032",
            "spans": [
              [
                823,
                12
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Go writes data with os.WriteFile",
            "id": "micro-behaviors/fs/write/file/full/unspecified::go-os-writefile",
            "spans": [
              [
                2199,
                12
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Go file-write API or writable-open flags",
            "id": "micro-behaviors/fs/write/file/unspecified::go-write-api-or-writable-open",
            "spans": [
              [
                2199,
                13
              ]
            ]
          },
          {
            "conf": 0.6,
            "crit": 3,
            "desc": "WriteFile method call text",
            "id": "micro-behaviors/fs/write/file/unspecified::go-write-file-method-call",
            "spans": [
              [
                2201,
                11
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "GitHub versioned source archive member",
            "id": "metadata/build/archive::github-versioned-source-archive-member"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports bytes",
            "id": "metadata/import/go/bytes::bytes",
            "spans": [
              [
                186,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/plog",
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/plog::go/opentelemetry/io/collector/pdata/plog",
            "spans": [
              [
                241,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/pmetric",
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/pmetric::go/opentelemetry/io/collector/pdata/pmetric",
            "spans": [
              [
                285,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/ptrace",
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/ptrace::go/opentelemetry/io/collector/pdata/ptrace",
            "spans": [
              [
                332,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports gopkg.in/yaml.v3",
            "id": "metadata/import/go/gopkg/in/yaml/v3::gopkg/in/yaml/v3",
            "spans": [
              [
                378,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports strings",
            "id": "metadata/import/go/strings::strings",
            "spans": [
              [
                218,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports testing",
            "id": "metadata/import/go/testing::testing",
            "spans": [
              [
                229,
                0
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 2,
            "desc": "Source has over 300 comment bytes",
            "id": "metadata/lang/source/comment::source-comment-bytes-over-300"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Go source declares a package",
            "id": "metadata/lang/source/syntax/declaration::go-package-clause"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test uses a testing.T parameter",
            "id": "metadata/package/testing/harness/unit::go-testing-t",
            "spans": [
              [
                1084,
                0
              ]
            ]
          },
          {
            "conf": 0.5,
            "crit": 2,
            "desc": "Go encoding/json package reference",
            "id": "micro-behaviors/data/format/json::encoding-json-import",
            "mbc": "C0032",
            "spans": [
              [
                196,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Read file contents via os.ReadFile",
            "id": "micro-behaviors/fs/read/file/content/unspecified::os-readfile",
            "spans": [
              [
                549,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Directive or message vocabulary token",
            "id": "metadata/lang/natural/vocabulary/content-word::directive-or-message-word-token",
            "spans": [
              [
                1288,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                13,
                0
              ]
            ]
          }
        ],
        "type": "go"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "// Copyright The OpenTelemetry Authors\n// SPDX-License-Identifier: Apache-2.0\n\npackage golden\n\nimport (\n\t\"bytes\"\n\t\"encoding/hex\"\n\t\"os\"\n\t\"path/filepath\"\n\t\"runtime\"\n\t\"testing\"\n\t\"time\"\n\n\t\"github.com/stretchr/testify/require\"\n\t\"go.opentelemetry.io/collector/pdata/pcommon\"\n\t\"go.opentelemetry.io/collector/pdata/plog\"\n\t\"go.opentelemetry.io/collector/pdata/pmetric\"\n\t\"go.opentelemetry.io/collector/pdata/ptrace\"\n)\n\nfunc TestWriteMetrics(t *testing.T) {\n\tmetricslice := testMetrics()\n\tmetrics := pmetric.NewMetrics()\n\tmetricslice.CopyTo(metrics.R"
          },
          {
            "col": 69,
            "line": 25,
            "ln": 578,
            "s": "rics().AppendEmpty().Metrics())\n\n\tactualFile := filepath.Join(t.TempDir(), \"metrics.yaml\")\n\trequire.NoError(t, writeMetrics(actualFile, metrics))\n\n\tactualBytes, err := os.ReadFile(actualFile)\n\trequire.NoError(t, err)\n\n\texpectedFile := filepath.Join(\"testdata\", \"roundtrip\", \""
          },
          {
            "col": 32,
            "line": 34,
            "ln": 900,
            "s": "ile(expectedFile)\n\trequire.NoError(t, err)\n\n\tif runtime.GOOS == \"windows\" {\n\t\t// os.ReadFile adds a '\\r' that we don't actually expect\n\t\texpectedBytes = bytes.ReplaceAll(expectedBytes, []byte(\"\\r\\n\"), []byte(\"\\n\"))\n\t}\n\n\trequire.Equal("
          },
          {
            "col": 40,
            "line": 69,
            "ln": 2114,
            "s": "{\n\tslice := pmetric.NewMetricSlice()\n\n\t// Gauge with two double dps\n\tmetric := slice.AppendEmpty()\n\tinitGauge(metric, \"test gauge multi\", \"multi gau"
          },
          {
            "col": 17,
            "line": 268,
            "ln": 8487,
            "s": "race.SpanKindServer)\n\tvar parentSpanID [8]byte\n\tbyteSlice, _ := hex.DecodeString(\"bcff497b5a47310f\")\n\tcopy(parentSpanID[:], byteSlice)\n\tspan.SetParentSpanID(pcommon.SpanID(parentSpanID))\n\n\tvar spanID [8]byte\n"
          },
          {
            "col": 3,
            "line": 280,
            "ln": 8841,
            "s": "yteSlice, _ = hex.DecodeString(\"8c8b1765a7b0acf0b66aa4623fcb7bd5\")\n\tcopy(traceID[:], byteSlice)\n\tspan.SetTraceID(pcommon.TraceID"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "TestWriteMetrics",
              409
            ],
            [
              "TestReadMetrics",
              1168
            ],
            [
              "TestRoundTrip",
              1622
            ],
            [
              "testMetrics",
              2075
            ],
            [
              "setDPDoubleVal",
              3899
            ],
            [
              "setDPIntVal",
              4132
            ],
            [
              "initGauge",
              4357
            ],
            [
              "initSum",
              4522
            ],
            [
              "TestReadLogs",
              4812
            ],
            [
              "TestWriteLogs",
              5074
            ],
            [
              "TestLogsRoundTrip",
              5689
            ],
            [
              "CreateTestLogs",
              5980
            ],
            [
              "TestReadTraces",
              6772
            ],
            [
              "TestWriteTraces",
              7050
            ],
            [
              "CreateTestTraces",
              7697
            ],
            [
              "TestSortAndNormalizeMetrics",
              9071
            ]
          ],
          "imp": [
            [
              "",
              "testMetrics"
            ],
            [
              "",
              "pmetric.NewMetrics"
            ],
            [
              "",
              "metricslice.CopyTo"
            ],
            [
              "",
              "metrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty.Metrics"
            ],
            [
              "",
              "metrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty"
            ],
            [
              "",
              "metrics.ResourceMetrics.AppendEmpty.ScopeMetrics"
            ],
            [
              "",
              "metrics.ResourceMetrics.AppendEmpty"
            ],
            [
              "",
              "metrics.ResourceMetrics"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "t.TempDir"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "writeMetrics"
            ],
            [
              "",
              "os.ReadFile"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "os.ReadFile"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "bytes.ReplaceAll"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "testMetrics"
            ],
            [
              "",
              "pmetric.NewMetrics"
            ],
            [
              "",
              "metricslice.CopyTo"
            ],
            [
              "",
              "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty.Metrics"
            ],
            [
              "",
              "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty"
            ],
            [
              "",
              "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics"
            ],
            [
              "",
              "expectedMetrics.ResourceMetrics.AppendEmpty"
            ],
            [
              "",
              "expectedMetrics.ResourceMetrics"
            ],
            [
              "",
              "normalizeTimestamps"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "ReadMetrics"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "testMetrics"
            ],
            [
              "",
              "pmetric.NewMetrics"
            ],
            [
              "",
              "metricslice.CopyTo"
            ],
            [
              "",
              "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty.Metrics"
            ],
            [
              "",
              "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty"
            ],
            [
              "",
              "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics"
            ],
            [
              "",
              "expectedMetrics.ResourceMetrics.AppendEmpty"
            ],
            [
              "",
              "expectedMetrics.ResourceMetrics"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "t.TempDir"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "writeMetrics"
            ],
            [
              "",
              "ReadMetrics"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "pmetric.NewMetricSlice"
            ],
            [
              "",
              "slice.AppendEmpty"
            ],
            [
              "",
              "initGauge"
            ],
            [
              "",
              "metric.Gauge.DataPoints"
            ],
            [
              "",
              "metric.Gauge"
            ],
            [
              "",
              "dps.AppendEmpty"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "attributes.PutStr"
            ],
            [
              "",
              "attributes.PutStr"
            ],
            [
              "",
              "setDPDoubleVal"
            ],
            [
              "",
              "dps.AppendEmpty"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "attributes.PutStr"
            ],
            [
              "",
              "attributes.PutStr"
            ],
            [
              "",
              "setDPDoubleVal"
            ],
            [
              "",
              "slice.AppendEmpty"
            ],
            [
              "",
              "initGauge"
            ],
            [
              "",
              "metric.Gauge.DataPoints"
            ],
            [
              "",
              "metric.Gauge"
            ],
            [
              "",
              "dps.AppendEmpty"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "attributes.PutStr"
            ],
            [
              "",
              "setDPIntVal"
            ],
            [
              "",
              "slice.AppendEmpty"
            ],
            [
              "",
              "initSum"
            ],
            [
              "",
              "metric.Sum.DataPoints"
            ],
            [
              "",
              "metric.Sum"
            ],
            [
              "",
              "dps.AppendEmpty"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "attributes.PutStr"
            ],
            [
              "",
              "setDPIntVal"
            ],
            [
              "",
              "dps.AppendEmpty"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "attributes.PutStr"
            ],
            [
              "",
              "setDPIntVal"
            ],
            [
              "",
              "slice.AppendEmpty"
            ],
            [
              "",
              "initSum"
            ],
            [
              "",
              "metric.Sum.DataPoints"
            ],
            [
              "",
              "metric.Sum"
            ],
            [
              "",
              "dps.AppendEmpty"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "setDPDoubleVal"
            ],
            [
              "",
              "time.Date"
            ],
            [
              "",
              "dp.SetDoubleValue"
            ],
            [
              "",
              "dp.SetTimestamp"
            ],
            [
              "",
              "pcommon.NewTimestampFromTime"
            ],
            [
              "",
              "attributes.CopyTo"
            ],
            [
              "",
              "dp.Attributes"
            ],
            [
              "",
              "dp.SetIntValue"
            ],
            [
              "",
              "dp.SetTimestamp"
            ],
            [
              "",
              "pcommon.NewTimestampFromTime"
            ],
            [
              "",
              "attributes.CopyTo"
            ],
            [
              "",
              "dp.Attributes"
            ],
            [
              "",
              "metric.SetDescription"
            ],
            [
              "",
              "metric.SetName"
            ],
            [
              "",
              "metric.SetUnit"
            ],
            [
              "",
              "metric.SetEmptyGauge"
            ],
            [
              "",
              "metric.SetDescription"
            ],
            [
              "",
              "metric.SetName"
            ],
            [
              "",
              "metric.SetUnit"
            ],
            [
              "",
              "metric.SetEmptySum.SetIsMonotonic"
            ],
            [
              "",
              "metric.SetEmptySum"
            ],
            [
              "",
              "metric.Sum.SetAggregationTemporality"
            ],
            [
              "",
              "metric.Sum"
            ],
            [
              "",
              "CreateTestLogs"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "ReadLogs"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "CreateTestLogs"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "t.TempDir"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "writeLogs"
            ],
            [
              "",
              "os.ReadFile"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "os.ReadFile"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "bytes.ReplaceAll"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "CreateTestLogs"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "t.TempDir"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "writeLogs"
            ],
            [
              "",
              "ReadLogs"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "plog.NewLogs"
            ],
            [
              "",
              "logs.ResourceLogs.AppendEmpty"
            ],
            [
              "",
              "logs.ResourceLogs"
            ],
            [
              "",
              "rl.Resource.Attributes.PutStr"
            ],
            [
              "",
              "rl.Resource.Attributes"
            ],
            [
              "",
              "rl.Resource"
            ],
            [
              "",
              "rl.Resource.Attributes.PutStr"
            ],
            [
              "",
              "rl.Resource.Attributes"
            ],
            [
              "",
              "rl.Resource"
            ],
            [
              "",
              "rl.ScopeLogs.AppendEmpty"
            ],
            [
              "",
              "rl.ScopeLogs"
            ],
            [
              "",
              "sl.Scope.SetName"
            ],
            [
              "",
              "sl.Scope"
            ],
            [
              "",
              "sl.Scope.SetVersion"
            ],
            [
              "",
              "sl.Scope"
            ],
            [
              "",
              "sl.LogRecords.AppendEmpty"
            ],
            [
              "",
              "sl.LogRecords"
            ],
            [
              "",
              "pcommon.NewTimestampFromTime"
            ],
            [
              "",
              "logRecord.SetTimestamp"
            ],
            [
              "",
              "logRecord.SetObservedTimestamp"
            ],
            [
              "",
              "logRecord.SetSeverityNumber"
            ],
            [
              "",
              "logRecord.SetSeverityText"
            ],
            [
              "",
              "logRecord.Body.SetStr"
            ],
            [
              "",
              "logRecord.Body"
            ],
            [
              "",
              "logRecord.Attributes.PutStr"
            ],
            [
              "",
              "logRecord.Attributes"
            ],
            [
              "",
              "logRecord.Attributes.PutStr"
            ],
            [
              "",
              "logRecord.Attributes"
            ],
            [
              "",
              "CreateTestTraces"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "ReadTraces"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "CreateTestTraces"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "writeTraces"
            ],
            [
              "",
              "os.ReadFile"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "os.ReadFile"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "bytes.ReplaceAll"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "traces.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "rs.Resource.Attributes.PutStr"
            ],
            [
              "",
              "rs.Resource.Attributes"
            ],
            [
              "",
              "rs.Resource"
            ],
            [
              "",
              "rs.Resource.Attributes.PutStr"
            ],
            [
              "",
              "rs.Resource.Attributes"
            ],
            [
              "",
              "rs.Resource"
            ],
            [
              "",
              "rs.Resource.SetDroppedAttributesCount"
            ],
            [
              "",
              "rs.Resource"
            ],
            [
              "",
              "rs.ScopeSpans.AppendEmpty"
            ],
            [
              "",
              "rs.ScopeSpans"
            ],
            [
              "",
              "ss.Scope.SetName"
            ],
            [
              "",
              "ss.Scope"
            ],
            [
              "",
              "ss.Scope.SetVersion"
            ],
            [
              "",
              "ss.Scope"
            ],
            [
              "",
              "ss.Spans.AppendEmpty"
            ],
            [
              "",
              "ss.Spans"
            ],
            [
              "",
              "span.Attributes.PutStr"
            ],
            [
              "",
              "span.Attributes"
            ],
            [
              "",
              "span.Attributes.PutStr"
            ],
            [
              "",
              "span.Attributes"
            ],
            [
              "",
              "span.SetDroppedAttributesCount"
            ],
            [
              "",
              "pcommon.NewTimestampFromTime"
            ],
            [
              "",
              "span.SetStartTimestamp"
            ],
            [
              "",
              "span.SetEndTimestamp"
            ],
            [
              "",
              "span.Status.SetCode"
            ],
            [
              "",
              "span.Status"
            ],
            [
              "",
              "span.SetName"
            ],
            [
              "",
              "span.SetKind"
            ],
            [
              "",
              "hex.DecodeString"
            ],
            [
              "",
              "copy"
            ],
            [
              "",
              "span.SetParentSpanID"
            ],
            [
              "",
              "pcommon.SpanID"
            ],
            [
              "",
              "hex.DecodeString"
            ],
            [
              "",
              "copy"
            ],
            [
              "",
              "span.SetSpanID"
            ],
            [
              "",
              "pcommon.SpanID"
            ],
            [
              "",
              "hex.DecodeString"
            ],
            [
              "",
              "copy"
            ],
            [
              "",
              "span.SetTraceID"
            ],
            [
              "",
              "pcommon.TraceID"
            ],
            [
              "",
              "span.Events.AppendEmpty"
            ],
            [
              "",
              "span.Events"
            ],
            [
              "",
              "event.SetName"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "ReadMetrics"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "ReadMetrics"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "sortMetrics"
            ],
            [
              "",
              "normalizeTimestamps"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "bytes"
            ],
            [
              "",
              "encoding/hex"
            ],
            [
              "",
              "os"
            ],
            [
              "",
              "path/filepath"
            ],
            [
              "",
              "runtime"
            ],
            [
              "",
              "testing"
            ],
            [
              "",
              "time"
            ],
            [
              "",
              "github.com/stretchr/testify/require"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/pcommon"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/plog"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/pmetric"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/ptrace"
            ]
          ],
          "mbr": [
            "attributes.CopyTo",
            "attributes.PutStr",
            "bytes.ReplaceAll",
            "dp.Attributes",
            "dp.SetDoubleValue",
            "dp.SetIntValue",
            "dp.SetTimestamp",
            "dps.AppendEmpty",
            "event.SetName",
            "expectedMetrics.ResourceMetrics",
            "expectedMetrics.ResourceMetrics.AppendEmpty",
            "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics",
            "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty",
            "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty.Metrics",
            "filepath.Join",
            "hex.DecodeString",
            "logRecord.Attributes",
            "logRecord.Attributes.PutStr",
            "logRecord.Body",
            "logRecord.Body.SetStr",
            "logRecord.SetObservedTimestamp",
            "logRecord.SetSeverityNumber",
            "logRecord.SetSeverityText",
            "logRecord.SetTimestamp",
            "logs.ResourceLogs",
            "logs.ResourceLogs.AppendEmpty",
            "metric.Gauge",
            "metric.Gauge.DataPoints",
            "metric.SetDescription",
            "metric.SetEmptyGauge",
            "metric.SetEmptySum",
            "metric.SetEmptySum.SetIsMonotonic",
            "metric.SetName",
            "metric.SetUnit",
            "metric.Sum",
            "metric.Sum.DataPoints",
            "metric.Sum.SetAggregationTemporality",
            "metrics.ResourceMetrics",
            "metrics.ResourceMetrics.AppendEmpty",
            "metrics.ResourceMetrics.AppendEmpty.ScopeMetrics",
            "metrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty",
            "metrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty.Metrics",
            "metricslice.CopyTo",
            "os.ReadFile",
            "pcommon.NewMap",
            "pcommon.NewTimestampFromTime",
            "pcommon.SpanID",
            "pcommon.TraceID",
            "plog.NewLogs",
            "plog.SeverityNumberInfo",
            "pmetric.AggregationTemporalityCumulative",
            "pmetric.AggregationTemporalityDelta",
            "pmetric.NewMetricSlice",
            "pmetric.NewMetrics",
            "ptrace.NewTraces",
            "ptrace.SpanKindServer",
            "ptrace.StatusCodeOk",
            "require.Equal",
            "require.NoError",
            "rl.Resource",
            "rl.Resource.Attributes",
            "rl.Resource.Attributes.PutStr",
            "rl.ScopeLogs",
            "rl.ScopeLogs.AppendEmpty",
            "rs.Resource",
            "rs.Resource.Attributes",
            "rs.Resource.Attributes.PutStr",
            "rs.Resource.SetDroppedAttributesCount",
            "rs.ScopeSpans",
            "rs.ScopeSpans.AppendEmpty",
            "runtime.GOOS",
            "sl.LogRecords",
            "sl.LogRecords.AppendEmpty",
            "sl.Scope",
            "sl.Scope.SetName",
            "sl.Scope.SetVersion",
            "slice.AppendEmpty",
            "span.Attributes",
            "span.Attributes.PutStr",
            "span.Events",
            "span.Events.AppendEmpty",
            "span.SetDroppedAttributesCount",
            "span.SetEndTimestamp",
            "span.SetKind",
            "span.SetName",
            "span.SetParentSpanID",
            "span.SetSpanID",
            "span.SetStartTimestamp",
            "span.SetTraceID",
            "span.Status",
            "span.Status.SetCode",
            "ss.Scope",
            "ss.Scope.SetName",
            "ss.Scope.SetVersion",
            "ss.Spans",
            "ss.Spans.AppendEmpty",
            "t.TempDir",
            "time.Date",
            "traces.ResourceSpans",
            "traces.ResourceSpans.AppendEmpty"
          ],
          "metrics": {
            "ast": {
              "call_count": 236,
              "max_array_length": 2,
              "max_depth": 17,
              "max_member_depth": 6,
              "member_count": 100,
              "node_count": 3492,
              "op.band": 1,
              "op.eq": 3,
              "op_density.band": 0,
              "op_density.eq": 0
            },
            "binary": {
              "peak_region_bytes": 9216,
              "peak_region_entropy": 5.18
            },
            "comments": {
              "chars": 343,
              "count": 9,
              "lines": 9,
              "to_code_ratio": 0.03
            },
            "file": {
              "entropy": 5.11,
              "size": 9439
            },
            "functions": {
              "avg_length_lines": 16.63,
              "avg_name_length": 14,
              "avg_param_name_length": 4.17,
              "avg_params": 1.44,
              "code_ratio": 0.88,
              "count": 16,
              "density": 5.3,
              "high_entropy_names": 3,
              "length_stddev": 13.59,
              "max_length_lines": 55,
              "max_params": 4,
              "min_length_lines": 5,
              "no_params_count": 3,
              "single_char_params": 9
            },
            "identifiers": {
              "all_lowercase_ratio": 0.27,
              "all_uppercase_ratio": 0.02,
              "avg_entropy": 2.64,
              "avg_length": 9.31,
              "count": 748,
              "has_digit_ratio": 0.01,
              "high_entropy_count": 13,
              "high_entropy_ratio": 0.08,
              "length_stddev": 5.43,
              "max_length": 32,
              "min_length": 1,
              "numeric_suffix_count": 2,
              "reuse_ratio": 0.22,
              "sequential_names": 2,
              "single_char_count": 3,
              "single_char_ratio": 0.02,
              "underscore_prefix_count": 1,
              "unique": 164
            },
            "imports": {
              "count": 12,
              "dynamic": 1,
              "stdlib_count": 7,
              "stdlib_ratio": 0.58,
              "third_party_count": 5,
              "third_party_ratio": 0.42
            },
            "source": {
              "function_count": 16
            },
            "strings": {
              "avg_entropy": 2.71,
              "avg_length": 11.99,
              "bytes": 1223,
              "count": 102,
              "entropy_stddev": 0.92,
              "hex": 3,
              "max_length": 43,
              "path_count": 1,
              "url_count": 5
            },
            "text": {
              "avg_line_length": 30.25,
              "char_entropy": 5.11,
              "digit_ratio": 0.01,
              "dynamic_import_ratio": 0.08,
              "empty_line_ratio": 0.21,
              "encoded_string_ratio": 0.03,
              "identifier_density": 2.48,
              "identifiers_to_functions_ratio": 10.25,
              "import_density": 3.97,
              "imports_to_functions_ratio": 0.75,
              "last_line_length": 1,
              "line_length_stddev": 25.38,
              "lines": 302,
              "long_token_count": 2,
              "max_line_length": 117,
              "max_whitespace_run": 1,
              "normalized_function_count": 0.92,
              "normalized_import_count": 0.69,
              "normalized_string_count": 5.87,
              "normalized_unique_identifiers": 19.91,
              "space_count": 456,
              "string_density": 0.34,
              "strings_to_functions_ratio": 6.38,
              "suspicious_identifier_ratio": 0.01,
              "tab_count": 207,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.1,
              "unique_chars": 78,
              "whitespace_ratio": 0.1
            }
          },
          "tgt": [
            "CreateTestLogs",
            "CreateTestTraces",
            "ReadLogs",
            "ReadMetrics",
            "ReadTraces",
            "attributes.CopyTo",
            "attributes.PutStr",
            "bytes.ReplaceAll",
            "copy",
            "dp.Attributes",
            "dp.SetDoubleValue",
            "dp.SetIntValue",
            "dp.SetTimestamp",
            "dps.AppendEmpty",
            "event.SetName",
            "expectedMetrics.ResourceMetrics",
            "expectedMetrics.ResourceMetrics.AppendEmpty",
            "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics",
            "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty",
            "expectedMetrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty.Metrics",
            "filepath.Join",
            "hex.DecodeString",
            "initGauge",
            "initSum",
            "logRecord.Attributes",
            "logRecord.Attributes.PutStr",
            "logRecord.Body",
            "logRecord.Body.SetStr",
            "logRecord.SetObservedTimestamp",
            "logRecord.SetSeverityNumber",
            "logRecord.SetSeverityText",
            "logRecord.SetTimestamp",
            "logs.ResourceLogs",
            "logs.ResourceLogs.AppendEmpty",
            "metric.Gauge",
            "metric.Gauge.DataPoints",
            "metric.SetDescription",
            "metric.SetEmptyGauge",
            "metric.SetEmptySum",
            "metric.SetEmptySum.SetIsMonotonic",
            "metric.SetName",
            "metric.SetUnit",
            "metric.Sum",
            "metric.Sum.DataPoints",
            "metric.Sum.SetAggregationTemporality",
            "metrics.ResourceMetrics",
            "metrics.ResourceMetrics.AppendEmpty",
            "metrics.ResourceMetrics.AppendEmpty.ScopeMetrics",
            "metrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty",
            "metrics.ResourceMetrics.AppendEmpty.ScopeMetrics.AppendEmpty.Metrics",
            "metricslice.CopyTo",
            "normalizeTimestamps",
            "os.ReadFile",
            "pcommon.NewMap",
            "pcommon.NewTimestampFromTime",
            "pcommon.SpanID",
            "pcommon.TraceID",
            "plog.NewLogs",
            "pmetric.NewMetricSlice",
            "pmetric.NewMetrics",
            "ptrace.NewTraces",
            "require.Equal",
            "require.NoError",
            "rl.Resource",
            "rl.Resource.Attributes",
            "rl.Resource.Attributes.PutStr",
            "rl.ScopeLogs",
            "rl.ScopeLogs.AppendEmpty",
            "rs.Resource",
            "rs.Resource.Attributes",
            "rs.Resource.Attributes.PutStr",
            "rs.Resource.SetDroppedAttributesCount",
            "rs.ScopeSpans",
            "rs.ScopeSpans.AppendEmpty",
            "setDPDoubleVal",
            "setDPIntVal",
            "sl.LogRecords",
            "sl.LogRecords.AppendEmpty",
            "sl.Scope",
            "sl.Scope.SetName",
            "sl.Scope.SetVersion",
            "slice.AppendEmpty",
            "sortMetrics",
            "span.Attributes",
            "span.Attributes.PutStr",
            "span.Events",
            "span.Events.AppendEmpty",
            "span.SetDroppedAttributesCount",
            "span.SetEndTimestamp",
            "span.SetKind",
            "span.SetName",
            "span.SetParentSpanID",
            "span.SetSpanID",
            "span.SetStartTimestamp",
            "span.SetTraceID",
            "span.Status",
            "span.Status.SetCode",
            "ss.Scope",
            "ss.Scope.SetName",
            "ss.Scope.SetVersion",
            "ss.Spans",
            "ss.Spans.AppendEmpty",
            "t.TempDir",
            "testMetrics",
            "time.Date",
            "traces.ResourceSpans",
            "traces.ResourceSpans.AppendEmpty",
            "writeLogs",
            "writeMetrics",
            "writeTraces"
          ]
        },
        "id": 6,
        "mol": "H(Db)Md₂(In₂Pa)",
        "path": "v0.90.1.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden@v0.90.1/golden_test.go",
        "pid": 0,
        "risk": 5,
        "sha": "84df1505f17d67e37e3a6e3942a4b1a77d58ee6b7cab0cf3f787a7d05b6ab849",
        "sid": 3082732055,
        "size": 9439,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports encoding/hex",
            "id": "metadata/import/go/encoding/hex::encoding/hex",
            "spans": [
              [
                114,
                12
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports os",
            "id": "metadata/import/go/os::os",
            "spans": [
              [
                130,
                2
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source SPDX license identifier declaration",
            "id": "metadata/package/license::spdx-license-identifier",
            "spans": [
              [
                42,
                35
              ]
            ]
          },
          {
            "conf": 0.94,
            "crit": 3,
            "desc": "Go decodes a hexadecimal string",
            "id": "micro-behaviors/data/decode/hex::go-hex-decode-string",
            "spans": [
              [
                8551,
                16
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "GitHub versioned source archive member",
            "id": "metadata/build/archive::github-versioned-source-archive-member"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports bytes",
            "id": "metadata/import/go/bytes::bytes",
            "spans": [
              [
                105,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/stretchr/testify/require",
            "id": "metadata/import/go/github/com/stretchr/testify/require::github/com/stretchr/testify/require",
            "spans": [
              [
                184,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/pcommon",
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/pcommon::go/opentelemetry/io/collector/pdata/pcommon",
            "spans": [
              [
                223,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/plog",
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/plog::go/opentelemetry/io/collector/pdata/plog",
            "spans": [
              [
                270,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/pmetric",
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/pmetric::go/opentelemetry/io/collector/pdata/pmetric",
            "spans": [
              [
                314,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/ptrace",
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/ptrace::go/opentelemetry/io/collector/pdata/ptrace",
            "spans": [
              [
                361,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports path/filepath",
            "id": "metadata/import/go/path/filepath::path/filepath",
            "spans": [
              [
                136,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports runtime",
            "id": "metadata/import/go/runtime::runtime",
            "spans": [
              [
                153,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports testing",
            "id": "metadata/import/go/testing::testing",
            "spans": [
              [
                164,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "id": "metadata/import/go/time::time",
            "spans": [
              [
                175,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "spans": [
              [
                13,
                0
              ]
            ],
            "uses": [
              29,
              30,
              31
            ]
          },
          {
            "conf": 0.92,
            "crit": 2,
            "desc": "Source has over 300 comment bytes",
            "id": "metadata/lang/source/comment::source-comment-bytes-over-300"
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Go source declares a package",
            "id": "metadata/lang/source/syntax/declaration::go-package-clause"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Go test function name",
            "id": "metadata/package/testing/harness/unit::go-func-test"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Go testing package",
            "id": "metadata/package/testing/harness/unit::go-test",
            "spans": [
              [
                433,
                0
              ]
            ],
            "uses": [
              18,
              21
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Go _test.go file using the testing harness",
            "id": "metadata/package/testing/harness/unit::go-test-source-file",
            "spans": [
              [
                433,
                0
              ]
            ],
            "uses": [
              19,
              22
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test uses a testing.T parameter",
            "id": "metadata/package/testing/harness/unit::go-testing-t",
            "spans": [
              [
                433,
                0
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test file suffix",
            "id": "metadata/package/testing/presence/harness::go-test-file"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Go test helper source file",
            "id": "metadata/package/testing/presence/harness::go-test-helper-file"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "File path or name indicates test code",
            "id": "metadata/package/testing/presence/harness::tests-path-filename"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Calls a path join or combine API",
            "id": "micro-behaviors/fs/path-ops::source-path-builder-call",
            "spans": [
              [
                626,
                0
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Read file contents via os.ReadFile",
            "id": "micro-behaviors/fs/read/file/content/unspecified::os-readfile",
            "spans": [
              [
                746,
                0
              ]
            ]
          },
          {
            "atk": "T1082",
            "conf": 0.5,
            "crit": 2,
            "desc": "runtime.GOOS OS detection",
            "id": "micro-behaviors/os/sysinfo/platform/runtime/platform::runtime-goos",
            "mbc": "E1082",
            "spans": [
              [
                948,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                8589,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                13,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                1005,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                2162,
                0
              ]
            ]
          },
          {
            "conf": 0.94,
            "crit": 1,
            "desc": "Random-like alphanumeric string literal present",
            "id": "metadata/lang/source/literal/string/shape::random-like-alphanumeric-literal-present",
            "spans": [
              [
                8873,
                0
              ]
            ]
          },
          {
            "conf": 0.92,
            "crit": 1,
            "desc": "Temporary-directory identifier text reference",
            "id": "metadata/lang/source/naming/resource::temp-directory-identifier-text-reference",
            "spans": [
              [
                642,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 1,
            "desc": "Regex substitution or removal call",
            "id": "micro-behaviors/communications/http/saml::xml-regex-strip-call",
            "spans": [
              [
                1059,
                0
              ]
            ]
          }
        ],
        "type": "go"
      },
      {
        "depth": 1,
        "id": 7,
        "path": "v0.90.1.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden@v0.90.1/normalize_timestamps.go",
        "pid": 0,
        "risk": 0,
        "sha": "bbc5f10c535bf82efda82a2abab5b9453ab58bb29749a5b6c9bda873665682f0",
        "sid": 652071979,
        "size": 3770,
        "type": "go"
      },
      {
        "depth": 1,
        "id": 8,
        "path": "v0.90.1.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden@v0.90.1/normalize_timestamps_test.go",
        "pid": 0,
        "risk": 0,
        "sha": "d8dac62c4dbe858f7640fd6c9e48b9cbe9628677636bb5feea3850d5d97c19dd",
        "sid": 652071981,
        "size": 612,
        "type": "go"
      },
      {
        "depth": 1,
        "id": 9,
        "path": "v0.90.1.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden@v0.90.1/sort_metrics.go",
        "pid": 0,
        "risk": 0,
        "sha": "1243f0a5b2a39b0ad999fcf890594596ea5bd1055ae7adeb22a0ee546b7e7d77",
        "sid": 2924834241,
        "size": 5639,
        "type": "go"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "// Copyright The OpenTelemetry Authors\n// SPDX-License-Identifier: Apache-2.0\n\npackage golden\n\nimport (\n\t\"path/filepath\"\n\t\"testing\"\n\n\t\"github.com/stretchr/testify/require\"\n\t\"go.opentelemetry.io/collector/pdata/pcommon\"\n)\n\nfunc TestSortAttributes(t *testing.T) {\n\t// Create a sample input map\n\tmp := pcommon.NewMap()\n\tmp.PutStr(\"name\", \"John\")\n\tmp.PutInt(\"age\", 30)\n\tmp.PutBool(\"isStudent\", false)\n\tsubMap := pcommon.NewMap()\n\tsubMap.PutStr(\"city\", \"New York\")\n\tsubMap.CopyTo(mp.PutEmptyMap(\"location\"))\n\n\t// Call the sortAttributeMap method\n\tsortAttributeMap(mp)\n\n\t// Verify the sorted keys\n\texpectedKeys := []string{\"age\", \"isStudent\", \"location\", \"name\"}\n\tactualKeys := []string{}\n\tmp.Range(func(key string, _ pcommon.Value) bool {\n\t\tactualKeys = append(actualKeys, key)\n\t\treturn true\n\t})\n\n\t// Check if the keys are sorted correctly\n\tif len(expectedKeys) != len(actualKeys) {\n\t\tt.Errorf(\"Incorrect number of keys. Expected: %d, Actual: %d\", len(expectedKeys), len(actualKeys))\n\t}\n\n\tfor i, key := range expectedKeys {\n\t\tif key != actualKeys[i] {\n\t\t\tt.Errorf(\"Incorrect key at index %d. Expected: %s, Actual: %s\", i, key, actualKeys[i])\n\t\t}\n\t}\n\n}\n\nfunc TestSortMetricsResourceAndScope(t *testing.T) {\n\tbeforePath := filepath.Join(\"testdata\", \"sort-metrics\", \"before.yaml\")\n\tafterPath := filepath.Join(\"testdata\", \"sort-metrics\", \"after.yaml\")\n\tbefore, err := ReadMetrics(beforePath)\n\trequire.NoError(t, err)\n\tsortResources(before)\n\tsortScopes(before)\n\tsortMetricDataPointSlices(before)\n\tafter, err := ReadMetrics(afterPath)\n\trequire.NoError(t, err)\n\trequire.Equal(t, before, after)\n\n}\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "TestSortAttributes",
              222
            ],
            [
              "TestSortMetricsResourceAndScope",
              1148
            ]
          ],
          "imp": [
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "mp.PutStr"
            ],
            [
              "",
              "mp.PutInt"
            ],
            [
              "",
              "mp.PutBool"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "subMap.PutStr"
            ],
            [
              "",
              "subMap.CopyTo"
            ],
            [
              "",
              "mp.PutEmptyMap"
            ],
            [
              "",
              "sortAttributeMap"
            ],
            [
              "",
              "mp.Range"
            ],
            [
              "",
              "append"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "t.Errorf"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "t.Errorf"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "ReadMetrics"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "sortResources"
            ],
            [
              "",
              "sortScopes"
            ],
            [
              "",
              "sortMetricDataPointSlices"
            ],
            [
              "",
              "ReadMetrics"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "path/filepath"
            ],
            [
              "",
              "testing"
            ],
            [
              "",
              "github.com/stretchr/testify/require"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/pcommon"
            ]
          ],
          "mbr": [
            "filepath.Join",
            "mp.PutBool",
            "mp.PutEmptyMap",
            "mp.PutInt",
            "mp.PutStr",
            "mp.Range",
            "pcommon.NewMap",
            "require.Equal",
            "require.NoError",
            "subMap.CopyTo",
            "subMap.PutStr",
            "t.Errorf"
          ],
          "metrics": {
            "ast": {
              "call_count": 27,
              "max_array_length": 2,
              "max_depth": 14,
              "max_member_depth": 2,
              "member_count": 12,
              "node_count": 523,
              "op.ne": 2,
              "op_density.ne": 0
            },
            "binary": {
              "peak_region_bytes": 1585,
              "peak_region_entropy": 5.13
            },
            "comments": {
              "chars": 193,
              "count": 6,
              "lines": 6,
              "to_code_ratio": 0.11
            },
            "file": {
              "entropy": 5.11,
              "size": 1585
            },
            "functions": {
              "anonymous": 1,
              "avg_length_lines": 16.67,
              "avg_name_length": 24.5,
              "avg_nesting_depth": 0.33,
              "avg_param_name_length": 1.5,
              "avg_params": 1.33,
              "code_ratio": 0.77,
              "count": 2,
              "density": 5,
              "high_entropy_names": 1,
              "length_stddev": 12.12,
              "max_length_lines": 33,
              "max_nesting_depth": 1,
              "max_params": 2,
              "min_length_lines": 4,
              "nested": 1,
              "single_char_params": 3
            },
            "identifiers": {
              "all_lowercase_ratio": 0.4,
              "all_uppercase_ratio": 0.05,
              "avg_entropy": 2.23,
              "avg_length": 7.67,
              "count": 100,
              "high_entropy_count": 2,
              "high_entropy_ratio": 0.05,
              "length_stddev": 5.91,
              "max_length": 31,
              "min_length": 1,
              "reuse_ratio": 0.42,
              "sequential_names": 3,
              "single_char_count": 4,
              "single_char_ratio": 0.1,
              "underscore_prefix_count": 1,
              "unique": 42
            },
            "imports": {
              "count": 4,
              "dynamic": 1,
              "stdlib_count": 2,
              "stdlib_ratio": 0.5,
              "third_party_count": 2,
              "third_party_ratio": 0.5
            },
            "source": {
              "function_count": 2
            },
            "strings": {
              "avg_entropy": 2.79,
              "avg_length": 14.09,
              "bytes": 324,
              "count": 23,
              "entropy_stddev": 0.77,
              "max_length": 51,
              "url_count": 2
            },
            "text": {
              "anonymous_function_ratio": 0.33,
              "avg_line_length": 25.42,
              "char_entropy": 5.11,
              "digit_ratio": 0,
              "dynamic_import_ratio": 0.25,
              "empty_line_ratio": 0.18,
              "identifier_density": 1.67,
              "identifiers_to_functions_ratio": 14,
              "import_density": 6.67,
              "imports_to_functions_ratio": 1.33,
              "last_line_length": 1,
              "line_length_stddev": 22.84,
              "lines": 60,
              "max_line_length": 100,
              "max_whitespace_run": 1,
              "normalized_function_count": 0.39,
              "normalized_import_count": 0.52,
              "normalized_string_count": 2.97,
              "normalized_unique_identifiers": 7.11,
              "space_count": 111,
              "string_density": 0.38,
              "strings_to_functions_ratio": 7.67,
              "suspicious_identifier_ratio": 0.07,
              "tab_count": 47,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.1,
              "unique_chars": 65,
              "whitespace_ratio": 0.14
            }
          },
          "tgt": [
            "ReadMetrics",
            "append",
            "filepath.Join",
            "len",
            "mp.PutBool",
            "mp.PutEmptyMap",
            "mp.PutInt",
            "mp.PutStr",
            "mp.Range",
            "pcommon.NewMap",
            "require.Equal",
            "require.NoError",
            "sortAttributeMap",
            "sortMetricDataPointSlices",
            "sortResources",
            "sortScopes",
            "subMap.CopyTo",
            "subMap.PutStr",
            "t.Errorf"
          ]
        },
        "id": 10,
        "mol": "Md(Pa₂)",
        "path": "v0.90.1.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/pkg/golden@v0.90.1/sort_metrics_test.go",
        "pid": 0,
        "risk": 3,
        "sha": "43766afaf6f902e25012015fa0a27faa9d3d91232c77c0f06d94a9e1371f0bd6",
        "sid": 2924834671,
        "size": 1585,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source SPDX license identifier declaration",
            "id": "metadata/package/license::spdx-license-identifier",
            "spans": [
              [
                42,
                35
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Calls Go t.Error or t.Errorf",
            "id": "metadata/package/testing/harness/unit::go-t-error-call",
            "spans": [
              [
                880,
                8
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "GitHub versioned source archive member",
            "id": "metadata/build/archive::github-versioned-source-archive-member"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/stretchr/testify/require",
            "id": "metadata/import/go/github/com/stretchr/testify/require::github/com/stretchr/testify/require",
            "spans": [
              [
                134,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/pcommon",
            "id": "metadata/import/go/go/opentelemetry/io/collector/pdata/pcommon::go/opentelemetry/io/collector/pdata/pcommon",
            "spans": [
              [
                173,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports path/filepath",
            "id": "metadata/import/go/path/filepath::path/filepath",
            "spans": [
              [
                105,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports testing",
            "id": "metadata/import/go/testing::testing",
            "spans": [
              [
                122,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "spans": [
              [
                13,
                0
              ]
            ],
            "uses": [
              18,
              19
            ]
          },
          {
            "conf": 1.0,
            "crit": 2,
            "desc": "Go source declares a package",
            "id": "metadata/lang/source/syntax/declaration::go-package-clause"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Go test function name",
            "id": "metadata/package/testing/harness/unit::go-func-test"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Go test t.Error method",
            "id": "metadata/package/testing/harness/unit::go-t-error",
            "spans": [
              [
                248,
                0
              ],
              [
                880,
                0
              ]
            ],
            "uses": [
              1,
              13
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Go testing package",
            "id": "metadata/package/testing/harness/unit::go-test",
            "spans": [
              [
                248,
                0
              ]
            ],
            "uses": [
              9,
              13
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Go _test.go file using the testing harness",
            "id": "metadata/package/testing/harness/unit::go-test-source-file",
            "spans": [
              [
                248,
                0
              ]
            ],
            "uses": [
              11,
              14
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test uses a testing.T parameter",
            "id": "metadata/package/testing/harness/unit::go-testing-t",
            "spans": [
              [
                248,
                0
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test file suffix",
            "id": "metadata/package/testing/presence/harness::go-test-file"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Go test helper source file",
            "id": "metadata/package/testing/presence/harness::go-test-helper-file"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "File path or name indicates test code",
            "id": "metadata/package/testing/presence/harness::tests-path-filename"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Calls a path join or combine API",
            "id": "micro-behaviors/fs/path-ops::source-path-builder-call",
            "spans": [
              [
                1216,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                13,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                984,
                0
              ]
            ]
          }
        ],
        "type": "go"
      }
    ],
    "v": 8
  }
}