{
  "ml": {
    "analyzed_at": "2026-11-19T14:17:07Z",
    "files": [
      {
        "lvl": -1,
        "prob": 0.011551142,
        "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,
        "id": 11
      },
      {
        "lvl": -1,
        "id": 12
      },
      {
        "lvl": -1,
        "id": 13
      },
      {
        "lvl": -1,
        "id": 14
      },
      {
        "lvl": -1,
        "id": 15
      },
      {
        "lvl": -1,
        "id": 16
      },
      {
        "lvl": -1,
        "id": 17
      },
      {
        "lvl": -1,
        "id": 18
      },
      {
        "lvl": -1,
        "id": 19
      },
      {
        "lvl": -1,
        "id": 20
      }
    ],
    "lvl": -1,
    "mods": [
      {
        "cls": 0
      }
    ],
    "prob": 0.011551142,
    "v": "7",
    "version": "v20.20"
  },
  "path": "v0.119.0.zip",
  "raw": {
    "files": [
      {
        "depth": 0,
        "facts": {
          "metrics": {
            "archive": {
              "compressed_size": 47439,
              "compression.method_counts.deflate": 24,
              "compression.ratio": 0.27,
              "crc_collision_count": 0,
              "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": 24,
              "format.regular_count": 24,
              "hidden_file_count": 0,
              "homoglyph_filename_count": 0,
              "local_header_signature_count": 24,
              "max_filename_length": 135,
              "member_count": 24,
              "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": 24,
              "timing.mtime_dominant_ratio": 1,
              "timing.sentinel_mtime_count": 24,
              "uncompressed_size": 177059,
              "unicode_filename_count": 0,
              "zip_bomb_ratio": 6.08
            },
            "binary": {
              "peak_region_bytes": 49152,
              "peak_region_entropy": 7.83
            },
            "file": {
              "entropy": 7.87,
              "size": 55293
            }
          }
        },
        "id": 0,
        "ident": {
          "name": {
            "value": "v0",
            "source": "file.basename",
            "verified": false
          },
          "trust": "unsigned",
          "version": {
            "value": "119.0",
            "source": "file.basename",
            "verified": false
          }
        },
        "mol": "K₂(AmLi)H₃(CmDb₄Po₂)Md₇(Bk₂In₃NePa₅Pt)",
        "path": "v0.119.0.zip",
        "risk": 21,
        "sha": "afee0572ea014be53fb55450e73b36297511c1b97f45faa141b050eb1513a138",
        "size": 55293,
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Archive contains at least ten members",
            "id": "metadata/archive/layout::archive-at-least-10-members"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "Go generated-code header comment",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/build/artifact::go-generated-source-header"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Declares a command for explicit go generate",
            "from": [
              {
                "file": 7
              }
            ],
            "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",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "metadata/import/go/encoding::encoding"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports google.golang.org/grpc/metadata",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/google/golang/org/grpc/metadata::google/golang/org/grpc/metadata"
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports net/http",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/go/net/http::net/http"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown-style heading lines",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/source/syntax/markup/markdown::at-least-four-markdown-style-headings"
          },
          {
            "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": 11,
                "line": 1,
                "off": 0
              }
            ],
            "id": "metadata/package/integrity::go-module-checksum-file",
            "uses": [
              85,
              86
            ]
          },
          {
            "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": 13
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-t-error-call"
          },
          {
            "conf": 0.7,
            "crit": 3,
            "desc": "Calls Go t.Fatal or t.Fatalf",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-t-fatal-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.95,
            "crit": 3,
            "desc": "Imports gRPC-Go package or subpackage",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/communications/grpc::grpc-go-import",
            "mbc": "C0002"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Go allocates a byte slice",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/buffer/alloc::go-byte-slice-make"
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Contains an unbounded block loop",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/control-flow/loop/unconditional::block-unbounded-loop-header"
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns or defaults bound to 1000-1024",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/data/string/assembly::variable-bound-1000-to-1024"
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source changes string letter casing",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "micro-behaviors/data/string/case::source-case-transform"
          },
          {
            "conf": 0.98,
            "crit": 3,
            "desc": "Defines Go package startup initialization",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "micro-behaviors/process/lifecycle/auto-exec::go-package-initializer"
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Go goroutine launch call",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/process/thread/create::go-goroutine-launch-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": 0.9,
            "crit": 2,
            "desc": "Decoded unicode-escape content",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/encoded-payload/unicode-escape"
          },
          {
            "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 context",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/context::context"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports errors",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/go/errors::errors"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports fmt",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/go/fmt::fmt"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/hashicorp/golang-lru/v2/simplelru",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/github/com/hashicorp/golang-lru/v2/simplelru::github/com/hashicorp/golang-lru/v2/simplelru"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/jonboulle/clockwork",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/github/com/jonboulle/clockwork::github/com/jonboulle/clockwork"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/lightstep/go-expohisto/structure",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/github/com/lightstep/go-expohisto/structure::github/com/lightstep/go-expohisto/structure"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/cache",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/cache::github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/cache"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata::github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics::github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil::github/com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil::github/com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil as utilattri",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil::utilattri"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil",
            "from": [
              {
                "file": 5
              }
            ],
            "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/assert",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/go/github/com/stretchr/testify/assert::github/com/stretchr/testify/assert"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/stretchr/testify/require",
            "from": [
              {
                "file": 4
              }
            ],
            "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/component/componenttest",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/component/componenttest::go/opentelemetry/io/collector/component/componenttest"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/component",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/component::go/opentelemetry/io/collector/component"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/confmap/confmaptest",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/confmap/confmaptest::go/opentelemetry/io/collector/confmap/confmaptest"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/connector/connectortest",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/connector/connectortest::go/opentelemetry/io/collector/connector/connectortest"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/connector",
            "from": [
              {
                "file": 7
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/connector::go/opentelemetry/io/collector/connector"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/consumer/consumertest",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/consumer/consumertest::go/opentelemetry/io/collector/consumer/consumertest"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/consumer",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/consumer::go/opentelemetry/io/collector/consumer"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/featuregate",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/featuregate::go/opentelemetry/io/collector/featuregate"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pdata/pcommon",
            "from": [
              {
                "file": 5
              }
            ],
            "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/pmetric",
            "from": [
              {
                "file": 3
              }
            ],
            "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 go.opentelemetry.io/collector/pipeline",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/pipeline::go/opentelemetry/io/collector/pipeline"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/semconv/v1.27.0 as conventions",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/go/opentelemetry/io/collector/semconv/v1/27/0::conventions"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.uber.org/goleak",
            "from": [
              {
                "file": 10
              }
            ],
            "id": "metadata/import/go/go/uber/org/goleak::go/uber/org/goleak"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.uber.org/zap/zapcore",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/go/uber/org/zap/zapcore::go/uber/org/zap/zapcore"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.uber.org/zap/zaptest/observer",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/go/uber/org/zap/zaptest/observer::go/uber/org/zap/zaptest/observer"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.uber.org/zap/zaptest",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/import/go/go/uber/org/zap/zaptest::go/uber/org/zap/zaptest"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.uber.org/zap",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/go/uber/org/zap::go/uber/org/zap"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports path/filepath",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/go/path/filepath::path/filepath"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sort",
            "from": [
              {
                "file": 16
              }
            ],
            "id": "metadata/import/go/sort::sort"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports strings",
            "from": [
              {
                "file": 19
              }
            ],
            "id": "metadata/import/go/strings::strings"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sync",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "metadata/import/go/sync::sync"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports testing",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/import/go/testing::testing"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/import/go/time::time"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Generated code do-not-edit warning",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/lang/generated::generated-code-do-not-edit-text"
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Contains generated-by or generated-from wording",
            "from": [
              {
                "file": 9
              }
            ],
            "id": "metadata/lang/natural/phrasing/documentation::generated-by-wording"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Mandatory-language vocabulary",
            "from": [
              {
                "file": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/content-word::mandatory-word-english"
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "uses": [
              119,
              120,
              121,
              122,
              123,
              124,
              125
            ]
          },
          {
            "conf": 0.88,
            "crit": 2,
            "desc": "Source has at most two comments",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/lang/source/comment::source-at-most-two-comments"
          },
          {
            "conf": 0.92,
            "crit": 2,
            "desc": "Source has over 300 comment bytes",
            "from": [
              {
                "file": 3
              }
            ],
            "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": 11
              }
            ],
            "id": "metadata/package/integrity::go-module-checksum-record"
          },
          {
            "conf": 0.99,
            "crit": 2,
            "desc": "Go module checksum manifest filename",
            "from": [
              {
                "file": 11
              }
            ],
            "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": 4
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-func-test"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Go test t.Error method",
            "from": [
              {
                "file": 4,
                "line": 23,
                "off": 642
              },
              {
                "file": 6,
                "line": 499,
                "off": 17093
              },
              {
                "file": 8,
                "line": 20,
                "off": 466
              },
              {
                "file": 9,
                "line": 20,
                "off": 573
              },
              {
                "file": 13,
                "line": 12,
                "off": 176
              },
              {
                "file": 17,
                "line": 15,
                "off": 351
              },
              {
                "file": 20,
                "line": 12,
                "off": 183
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-t-error",
            "uses": [
              12,
              96
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Go test t.Fatal method",
            "from": [
              {
                "file": 4,
                "line": 23,
                "off": 642
              },
              {
                "file": 6,
                "line": 499,
                "off": 17093
              },
              {
                "file": 8,
                "line": 20,
                "off": 466
              },
              {
                "file": 9,
                "line": 20,
                "off": 573
              },
              {
                "file": 13,
                "line": 12,
                "off": 176
              },
              {
                "file": 17,
                "line": 15,
                "off": 351
              },
              {
                "file": 20,
                "line": 12,
                "off": 183
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-t-fatal",
            "uses": [
              13,
              96
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Go testing package",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-test",
            "uses": [
              89,
              94,
              95,
              96
            ]
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Go _test.go file using the testing harness",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-test-source-file",
            "uses": [
              92,
              98
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "testing.B type",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-testing-b"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "testing.M type",
            "from": [
              {
                "file": 10
              }
            ],
            "id": "metadata/package/testing/harness/unit::go-testing-m"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test uses a testing.T parameter",
            "from": [
              {
                "file": 4
              }
            ],
            "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": 4
              }
            ],
            "id": "metadata/package/testing/presence/harness::go-test-file"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Go test helper source file",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "metadata/package/testing/presence/harness::go-test-helper-file"
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go TestMain function",
            "from": [
              {
                "file": 10
              }
            ],
            "id": "metadata/package/testing/presence/harness::go-test-main"
          },
          {
            "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": 4
              }
            ],
            "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.7,
            "crit": 2,
            "desc": "Go calls byte or string I/O",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/data/buffer/transfer::go-byte-string-io-method-call"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "For/foreach loop over a collection",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/data/control-flow/loop/collection::record-loop-header"
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Calls a path join or combine API",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/fs/path-ops::source-path-builder-call"
          },
          {
            "conf": 0.98,
            "crit": 2,
            "desc": "Initializes Go package-level variables",
            "from": [
              {
                "file": 3
              }
            ],
            "id": "micro-behaviors/process/lifecycle/auto-exec::go-package-global-initializer"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Launches a Go goroutine",
            "from": [
              {
                "file": 5
              }
            ],
            "id": "micro-behaviors/process/thread/runtime::go-goroutine-statement"
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Go time.Sleep delay call",
            "from": [
              {
                "file": 6
              }
            ],
            "id": "micro-behaviors/time/sleep/interval::go-time-sleep"
          },
          {
            "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": 5
              }
            ],
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token"
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "from": [
              {
                "file": 6
              }
            ],
            "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": 2
              }
            ],
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3"
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "from": [
              {
                "file": 2
              }
            ],
            "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.98,
            "crit": 1,
            "desc": "Archive contains Go source",
            "id": "metadata/package/files/included::archive-go-source-entry"
          },
          {
            "atk": "T1555.005",
            "conf": 0.8,
            "crit": 1,
            "desc": "References a config.yaml filename",
            "from": [
              {
                "file": 4
              }
            ],
            "id": "micro-behaviors/fs/path/wallet::config-yaml-file-name"
          }
        ],
        "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 Derivative Works that You distribute must\n          include a readable copy of the attribution notices contained\n          within such NOT"
          },
          {
            "col": 14,
            "line": 117,
            "ln": 6543,
            "s": "not modify the License. You may add Your own attribution\n          notices within Derivative Works "
          },
          {
            "col": 44,
            "line": 136,
            "ln": 7725,
            "s": "tions.\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      except as required for reasonable and customary use in describing the\n      origin of the Work and reproducing the "
          }
        ],
        "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.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/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": "# Span Metrics Connector\n\n\u003c!-- status autogenerated section --\u003e\n| Status        |           |\n"
          },
          {
            "col": 173,
            "line": 7,
            "ln": 326,
            "s": "r%2Fspanmetrics%20\u0026label=open\u0026color=orange\u0026logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Aconnector%2Fspanmetrics) [![Closed issues]("
          },
          {
            "col": 87,
            "line": 8,
            "ln": 960,
            "s": "/main/CONTRIBUTING.md#becoming-a-code-owner)    | [@portertech](https://www.github.com/portertech), [@Frapschen](https://www.github.com/Frapschen) \\| Seeking more code owners! |\n| Emeritus      | [@albertteoh](https"
          },
          {
            "col": 56,
            "line": 12,
            "ln": 1374,
            "s": "try-collector-releases/tree/main/distributions/otelcol-contrib\n\n## Supported Pipeline Types\n\n| [Exporter Pipeline Type] | [Receiver Pipeline Type] | [Stability Level] |\n| ------------------------ | ---------------------"
          },
          {
            "col": 105,
            "line": 22,
            "ln": 2029,
            "s": "ability.md#stability-levels\n\u003c!-- end autogenerated section --\u003e\n\n## Overview\n\nAggregates Request, Error and Duration (R.E.D) OpenTelemetry metrics from span data.\n\n**Request** counts are computed as the number of spans seen per unique set of\ndimensions, including Errors. Multiple metrics can be aggregated if, for instance,\na user wishes to view call counts just on `service.name` and `span.name`.\n\n```\ncalls{"
          },
          {
            "col": 13,
            "line": 37,
            "ln": 2554,
            "s": "unts are computed from the Request counts which have an `Error` Status Code metric dimension.\n\n```\ncalls{service.name=\"shipping\",span.name=\"get_ship"
          },
          {
            "col": 1,
            "line": 52,
            "ln": 3159,
            "s": "\n- `service.name`\n- `span.name`\n- `span.kind`\n- `status.code`\n\n\n## Span to Metrics processor to Span to metrics connector\n\nThe spanmetrics connector replaces [spanmetrics](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/proces"
          },
          {
            "col": 164,
            "line": 61,
            "ln": 3445,
            "s": "essor/spanmetricsprocessor/README.md) processor with multiple improvements\nand breaking changes. It was done to bring the `spanmetrics` connector cl"
          },
          {
            "col": 99,
            "line": 78,
            "ln": 4477,
            "s": "\ngenerate the number of metrics resource scopes that corresponds to the number of the spans resource\nscopes meaning that more metrics are generated "
          },
          {
            "col": 59,
            "line": 80,
            "ln": 4636,
            "s": "usly, `spanmetrics` generated a single\nmetrics resource scope.\n\n## Configurations\n\nIf you are not already familiar with connectors, you may find it helpful to first\nvisit the [Connectors README].\n\nThe followin"
          },
          {
            "col": 85,
            "line": 90,
            "ln": 4971,
            "s": "d\n  calculated from spans duration measurements. Must be either `explicit` or `exponential`.\n  - `disable` (default: `false`): Disable all histogram metrics.\n  - `unit` (default: `ms`): The time unit "
          },
          {
            "col": 11,
            "line": 100,
            "ln": 5632,
            "s": "ons`: the list of dimensions to add together with the default dimensions defined above.\n  \n  Each a"
          },
          {
            "col": 79,
            "line": 105,
            "ln": 5998,
            "s": "ult` is used.\n  \n  If no `default` is provided, this dimension will be **omitted** from the metric.\n- `exclude_dimensions`: the list of dimensions t"
          },
          {
            "col": 70,
            "line": 125,
            "ln": 8879,
            "s": "by default) controls the connector to use legacy metric names.\n\n## Examples\n\nThe following is a simple example usage of the `spanmetrics` connector.\n\nFor configuration examples on other use cases, please"
          },
          {
            "col": 26,
            "line": 161,
            "ln": 9820,
            "s": ".type\n        - name: exception.message\n    resource_metrics_key_attributes:\n      - service.name\n     "
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 7952,
              "peak_region_entropy": 5.05
            },
            "file": {
              "entropy": 4.88,
              "size": 12048
            },
            "text": {
              "ascii_art_lines": 2,
              "avg_line_length": 51.16,
              "char_entropy": 4.88,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.22,
              "last_line_length": 108,
              "line_length_stddev": 75.72,
              "lines": 231,
              "lines_over_200": 8,
              "lines_over_500": 1,
              "long_token_count": 12,
              "max_line_length": 719,
              "max_whitespace_run": 11,
              "repeated_char_sequences": 6,
              "space_count": 1450,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.1,
              "trailing_whitespace_lines": 7,
              "unique_chars": 86,
              "whitespace_ratio": 0.14
            }
          }
        },
        "id": 2,
        "mol": "K(Am)Md₂(Pt)",
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/README.md",
        "pid": 0,
        "risk": 4,
        "sha": "05a3ea889ce8d0f2a42ea82579c789440bb68cc5f01b9885a876d90ff7fd701c",
        "sid": 5259941436,
        "size": 12048,
        "traits": [
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Basename is uppercase README.md",
            "id": "metadata/filename/identity::uppercase-readme-md-basename"
          },
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "At least four Markdown-style heading lines",
            "id": "metadata/lang/source/syntax/markup/markdown::at-least-four-markdown-style-headings",
            "spans": [
              [
                1438,
                27
              ],
              [
                2093,
                11
              ],
              [
                3223,
                57
              ],
              [
                4700,
                17
              ],
              [
                8943,
                11
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "GitHub service URL reference",
            "id": "well-known/app/development/code-forge/github::github-service-url",
            "spans": [
              [
                390,
                19
              ],
              [
                1024,
                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.9,
            "crit": 2,
            "desc": "Mandatory-language vocabulary",
            "id": "metadata/lang/natural/vocabulary/content-word::mandatory-word-english",
            "spans": [
              [
                5019,
                0
              ]
            ]
          },
          {
            "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": [
              [
                26,
                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": [
              [
                5098,
                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": [
              [
                9852,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                5664,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"the\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-1",
            "spans": [
              [
                2227,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                2132,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                4525,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4",
            "spans": [
              [
                2602,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                2339,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                3493,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                6046,
                0
              ]
            ]
          }
        ],
        "type": "markdown"
      },
      {
        "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 spanmetricsconnector // import \"github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector\"\n\nimport (\n\t\"errors\"\n\t\"fmt\"\n\t\"time\"\n\n\t\"go.opentelemetry.io/collector/component\"\n\t\"go.opentelemetry.io/collector/pdata/pmetric\"\n\n\t\"github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics\"\n)\n\nconst (\n\tdelta      = \"AGGREGATION_TEMPORALITY_DELTA\"\n\tcumulative = \"AGGREGATION_TEMPORALI"
          },
          {
            "col": 25,
            "line": 23,
            "ln": 623,
            "s": ", 200, 400, 800, 1000, 1400, 2000, 5000, 10_000, 15_000,\n}\n\nvar defaultDeltaTimestampCacheSize = 1000\n\n// Dimension defines the dimension name and optional default value if the Dimension is missing from a span attribute.\ntype Dimension struct"
          },
          {
            "col": 42,
            "line": 31,
            "ln": 948,
            "s": "\n}\n\n// Config defines the configuration options for spanmetricsconnector.\ntype Config struct {\n\t// Dimensions defines the list of additional dimens"
          },
          {
            "col": 43,
            "line": 51,
            "ln": 1896,
            "s": "ize of the cache holding metrics for a service. This is mostly relevant for\n\t// cumulative temporality to avoid memory leaks and correct metric time"
          },
          {
            "col": 27,
            "line": 58,
            "ln": 2471,
            "s": "ak (and duplicate). A resource does not need to have all of the attributes. The list\n\t// must include enough attributes to properly identify unique "
          },
          {
            "col": 126,
            "line": 72,
            "ln": 3397,
            "s": "longer be exported.\n\t// Default value (0) means that the metrics will never expire.\n\tMetricsExpiration time.Duration `mapstructure:\"metrics_expirati"
          },
          {
            "col": 1,
            "line": 88,
            "ln": 4101,
            "s": "\ntype HistogramConfig struct {\n\tDisable     bool                        `mapstructure:\"disable\"`\n\tUnit       "
          },
          {
            "col": 18,
            "line": 113,
            "ln": 4916,
            "s": "fines the list of dimensions to add to the events metric.\n\tDimensions []Dimension `mapstructure:\"di"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "Validate",
              5138
            ],
            [
              "GetAggregationTemporality",
              6551
            ],
            [
              "GetDeltaTimestampCacheSize",
              6768
            ],
            [
              "validateDimensions",
              7020
            ],
            [
              "validateEventDimensions",
              7527
            ]
          ],
          "imp": [
            [
              "",
              "validateDimensions"
            ],
            [
              "",
              "fmt.Errorf"
            ],
            [
              "",
              "validateEventDimensions"
            ],
            [
              "",
              "fmt.Errorf"
            ],
            [
              "",
              "fmt.Errorf"
            ],
            [
              "",
              "errors.New"
            ],
            [
              "",
              "fmt.Errorf"
            ],
            [
              "",
              "fmt.Errorf"
            ],
            [
              "",
              "c.GetAggregationTemporality"
            ],
            [
              "",
              "c.GetDeltaTimestampCacheSize"
            ],
            [
              "",
              "fmt.Errorf"
            ],
            [
              "",
              "c.GetDeltaTimestampCacheSize"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "fmt.Errorf"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "fmt.Errorf"
            ],
            [
              "",
              "validateDimensions"
            ],
            [
              "",
              "errors"
            ],
            [
              "",
              "fmt"
            ],
            [
              "",
              "time"
            ],
            [
              "",
              "go.opentelemetry.io/collector/component"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/pmetric"
            ],
            [
              "",
              "github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics"
            ]
          ],
          "mbr": [
            "c.AggregationTemporality",
            "c.Dimensions",
            "c.DimensionsCacheSize",
            "c.Events",
            "c.Events.Dimensions",
            "c.Events.Enabled",
            "c.GetAggregationTemporality",
            "c.GetDeltaTimestampCacheSize",
            "c.Histogram",
            "c.Histogram.Explicit",
            "c.Histogram.Exponential",
            "c.MetricsExpiration",
            "c.MetricsFlushInterval",
            "c.TimestampCacheSize",
            "errors.New",
            "fmt.Errorf",
            "key.Name",
            "pmetric.AggregationTemporalityCumulative",
            "pmetric.AggregationTemporalityDelta"
          ],
          "metrics": {
            "ast": {
              "call_count": 18,
              "max_array_length": 2,
              "max_depth": 15,
              "max_member_depth": 3,
              "member_count": 19,
              "node_count": 1113,
              "op.eq": 3,
              "op.land": 2,
              "op.le": 2,
              "op.lnot": 1,
              "op.lt": 2,
              "op.mul": 2,
              "op.ne": 5,
              "op_density.eq": 0,
              "op_density.land": 0,
              "op_density.le": 0,
              "op_density.lnot": 0,
              "op_density.lt": 0,
              "op_density.mul": 0,
              "op_density.ne": 0
            },
            "binary": {
              "peak_region_bytes": 5715,
              "peak_region_entropy": 5.13
            },
            "comments": {
              "base64": 6,
              "chars": 3023,
              "count": 40,
              "lines": 40,
              "to_code_ratio": 0.25,
              "url_count": 2
            },
            "file": {
              "entropy": 4.95,
              "size": 7763
            },
            "functions": {
              "avg_length_lines": 14.4,
              "avg_name_length": 20,
              "avg_param_name_length": 9,
              "avg_params": 0.6,
              "code_ratio": 0.36,
              "count": 12,
              "density": 2.51,
              "high_entropy_names": 3,
              "length_stddev": 11.29,
              "max_length_lines": 36,
              "max_params": 2,
              "min_length_lines": 6,
              "no_params_count": 3
            },
            "identifiers": {
              "all_lowercase_ratio": 0.31,
              "all_uppercase_ratio": 0.01,
              "avg_entropy": 2.78,
              "avg_length": 11.54,
              "count": 197,
              "has_digit_ratio": 0.03,
              "high_entropy_count": 20,
              "high_entropy_ratio": 0.28,
              "length_stddev": 7.96,
              "max_length": 32,
              "min_length": 1,
              "numeric_suffix_count": 2,
              "reuse_ratio": 0.37,
              "sequential_names": 1,
              "single_char_count": 2,
              "single_char_ratio": 0.03,
              "underscore_prefix_count": 1,
              "unique": 72
            },
            "imports": {
              "count": 6,
              "stdlib_count": 3,
              "stdlib_ratio": 0.5,
              "third_party_count": 3,
              "third_party_ratio": 0.5
            },
            "source": {
              "class_count": 7,
              "function_count": 5
            },
            "strings": {
              "avg_entropy": 3.67,
              "avg_length": 35.1,
              "bytes": 1474,
              "count": 42,
              "entropy_stddev": 0.55,
              "max_length": 105,
              "shell": 1,
              "url_count": 3
            },
            "text": {
              "avg_line_length": 38.01,
              "char_entropy": 4.95,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.2,
              "identifier_density": 0.99,
              "identifiers_to_functions_ratio": 14.4,
              "import_density": 3.02,
              "imports_to_functions_ratio": 1.2,
              "last_line_length": 1,
              "line_length_stddev": 37.61,
              "lines": 199,
              "long_token_count": 1,
              "max_line_length": 144,
              "max_whitespace_run": 24,
              "normalized_function_count": 0.35,
              "normalized_import_count": 0.43,
              "normalized_string_count": 2.98,
              "normalized_unique_identifiers": 9.43,
              "repeated_char_sequences": 2,
              "space_count": 769,
              "string_density": 0.21,
              "strings_to_functions_ratio": 8.4,
              "suspicious_comment_ratio": 0.15,
              "suspicious_identifier_ratio": 0.01,
              "suspicious_string_ratio": 0.02,
              "tab_count": 145,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.1,
              "unique_chars": 80,
              "whitespace_ratio": 0.14
            }
          },
          "tgt": [
            "c.GetAggregationTemporality",
            "c.GetDeltaTimestampCacheSize",
            "errors.New",
            "fmt.Errorf",
            "len",
            "make",
            "validateDimensions",
            "validateEventDimensions"
          ]
        },
        "id": 3,
        "mol": "H(Db)Md(Pa)",
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/config.go",
        "pid": 0,
        "risk": 3,
        "sha": "74d92c015db54025db0a022acd0278f999bfe3fef5b96a5628cf47cd96576c58",
        "sid": 5251758444,
        "size": 7763,
        "supp": [
          {
            "by": [
              {
                "id": "tree-sitter",
                "spans": [
                  [
                    210,
                    103
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/lang/source/declaration::go-constant-only-file",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source SPDX license identifier declaration",
            "id": "metadata/package/license::spdx-license-identifier",
            "spans": [
              [
                42,
                35
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns or defaults bound to 1000-1024",
            "id": "micro-behaviors/data/string/assembly::variable-bound-1000-to-1024",
            "spans": [
              [
                687,
                37
              ]
            ]
          },
          {
            "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 errors",
            "id": "metadata/import/go/errors::errors",
            "spans": [
              [
                220,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports fmt",
            "id": "metadata/import/go/fmt::fmt",
            "spans": [
              [
                230,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics",
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics::github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics",
            "spans": [
              [
                337,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/component",
            "id": "metadata/import/go/go/opentelemetry/io/collector/component::go/opentelemetry/io/collector/component",
            "spans": [
              [
                246,
                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": [
              [
                289,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "id": "metadata/import/go/time::time",
            "spans": [
              [
                237,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "spans": [
              [
                996,
                0
              ]
            ],
            "uses": [
              15,
              16,
              17,
              18,
              19,
              20
            ]
          },
          {
            "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.98,
            "crit": 2,
            "desc": "Initializes Go package-level variables",
            "id": "micro-behaviors/process/lifecycle/auto-exec::go-package-global-initializer"
          },
          {
            "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": [
              [
                4133,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                4948,
                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 \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                766,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                3445,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4",
            "spans": [
              [
                2519,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                996,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                1944,
                0
              ]
            ]
          }
        ],
        "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 spanmetricsconnector\n\nimport (\n\t\"errors\"\n\t\"net/http\"\n\t\"path/filepath\"\n\t\"testing\"\n\t\"time\"\n\n\t\"github.com/stretchr/testify/assert\"\n\t\"github.com/stretchr/testify/require\"\n\t\"go.opentelemetry.io/collector/component\"\n\t\"go.opentelemetry.io/collector/confmap/confmaptest\"\n\t\"go.opentelemetry.io/collector/pdata/pmetric\"\n\n\t\"github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata\"\n\t\"github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics\"\n)\n\nfunc TestLoadConfig(t *testing.T) {\n\tt.Parallel()\n\n\tcm, err := confmaptest.LoadConf(filepath.Join(\"testdata\", \"config.yaml\"))\n\trequire.NoError(t, err)\n\n\tdefaultMethod := http.MethodGet\n\tdefault"
          },
          {
            "col": 86,
            "line": 165,
            "ln": 6080,
            "s": "ems in the cache should be positive\",\n\t\t},\n\t}\n\n\tfor _, tt := range tests {\n\t\tt.Run(tt.id.String(), func(t *testing.T) {\n\t\t\tfactory := NewFactory()\n"
          },
          {
            "col": 30,
            "line": 217,
            "ln": 7491,
            "s": "},\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tname: \"duplicate dimension with reserved labels\",\n\t\t\tdimensions: []Dimension{\n\t\t\t\t{Name: \"service.name\"},\n\t\t\t},\n\t\t\texpectedErr:"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "TestLoadConfig",
              620
            ],
            [
              "TestGetAggregationTemporality",
              6690
            ],
            [
              "TestValidateDimensions",
              7132
            ],
            [
              "TestValidateEventDimensions",
              8103
            ]
          ],
          "imp": [
            [
              "",
              "t.Parallel"
            ],
            [
              "",
              "confmaptest.LoadConf"
            ],
            [
              "",
              "filepath.Join"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "createDefaultConfig"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "createDefaultConfig"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "config.GetDeltaTimestampCacheSize"
            ],
            [
              "",
              "component.NewIDWithName"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "tt.id.String"
            ],
            [
              "",
              "NewFactory"
            ],
            [
              "",
              "factory.CreateDefaultConfig"
            ],
            [
              "",
              "cm.Sub"
            ],
            [
              "",
              "tt.id.String"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "sub.Unmarshal"
            ],
            [
              "",
              "errors.Join"
            ],
            [
              "",
              "component.ValidateConfig"
            ],
            [
              "",
              "assert.ErrorContains"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "component.ValidateConfig"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "tt.extraAssertions"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "cfg.GetAggregationTemporality"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "cfg.GetAggregationTemporality"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "cfg.GetAggregationTemporality"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "validateDimensions"
            ],
            [
              "",
              "assert.EqualError"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "validateEventDimensions"
            ],
            [
              "",
              "assert.EqualError"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "errors"
            ],
            [
              "",
              "net/http"
            ],
            [
              "",
              "path/filepath"
            ],
            [
              "",
              "testing"
            ],
            [
              "",
              "time"
            ],
            [
              "",
              "github.com/stretchr/testify/assert"
            ],
            [
              "",
              "github.com/stretchr/testify/require"
            ],
            [
              "",
              "go.opentelemetry.io/collector/component"
            ],
            [
              "",
              "go.opentelemetry.io/collector/confmap/confmaptest"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/pmetric"
            ],
            [
              "",
              "github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata"
            ],
            [
              "",
              "github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics"
            ]
          ],
          "mbr": [
            "assert.Equal",
            "assert.EqualError",
            "assert.ErrorContains",
            "assert.NoError",
            "cfg.GetAggregationTemporality",
            "cm.Sub",
            "component.NewIDWithName",
            "component.ValidateConfig",
            "config.GetDeltaTimestampCacheSize",
            "confmaptest.LoadConf",
            "errors.Join",
            "factory.CreateDefaultConfig",
            "filepath.Join",
            "http.MethodGet",
            "metadata.Type",
            "metrics.Milliseconds",
            "metrics.Seconds",
            "pmetric.AggregationTemporalityCumulative",
            "pmetric.AggregationTemporalityDelta",
            "require.NoError",
            "sub.Unmarshal",
            "t.Parallel",
            "t.Run",
            "tc.dimensions",
            "tc.enabled",
            "tc.expectedErr",
            "tc.name",
            "time.Millisecond",
            "time.Second",
            "tt.errorMessage",
            "tt.expected",
            "tt.extraAssertions",
            "tt.id",
            "tt.id.String"
          ],
          "metrics": {
            "ast": {
              "call_count": 51,
              "max_array_length": 2,
              "max_depth": 31,
              "max_member_depth": 3,
              "member_count": 34,
              "node_count": 2583,
              "op.band": 15,
              "op.eq": 1,
              "op.mul": 11,
              "op.ne": 3,
              "op_density.band": 0.01,
              "op_density.eq": 0,
              "op_density.mul": 0,
              "op_density.ne": 0
            },
            "binary": {
              "peak_region_bytes": 9155,
              "peak_region_entropy": 5.07
            },
            "comments": {
              "chars": 72,
              "count": 2,
              "lines": 2,
              "to_code_ratio": 0.01
            },
            "file": {
              "entropy": 5.05,
              "size": 9155
            },
            "functions": {
              "anonymous": 4,
              "avg_length_lines": 37.75,
              "avg_name_length": 23,
              "avg_nesting_depth": 0.5,
              "avg_param_name_length": 1.63,
              "avg_params": 1,
              "code_ratio": 0.91,
              "count": 4,
              "density": 2.77,
              "high_entropy_names": 4,
              "length_stddev": 51.38,
              "max_length_lines": 168,
              "max_nesting_depth": 1,
              "max_params": 1,
              "min_length_lines": 3,
              "nested": 3,
              "over_100_lines": 1,
              "single_char_params": 7
            },
            "identifiers": {
              "all_lowercase_ratio": 0.31,
              "all_uppercase_ratio": 0.03,
              "avg_entropy": 2.72,
              "avg_length": 11.42,
              "count": 485,
              "high_entropy_count": 27,
              "high_entropy_ratio": 0.26,
              "length_stddev": 8.02,
              "max_length": 32,
              "min_length": 1,
              "reuse_ratio": 0.22,
              "sequential_names": 2,
              "single_char_count": 3,
              "single_char_ratio": 0.03,
              "underscore_prefix_count": 1,
              "unique": 105
            },
            "imports": {
              "count": 12,
              "dynamic": 1,
              "stdlib_count": 5,
              "stdlib_ratio": 0.42,
              "third_party_count": 7,
              "third_party_ratio": 0.58
            },
            "source": {
              "function_count": 4
            },
            "strings": {
              "avg_entropy": 3.45,
              "avg_length": 27.78,
              "bytes": 1750,
              "count": 63,
              "empty_count": 2,
              "entropy_stddev": 0.55,
              "max_length": 106,
              "shell": 1,
              "url_count": 7
            },
            "text": {
              "anonymous_function_ratio": 0.5,
              "avg_line_length": 30.68,
              "char_entropy": 5.05,
              "digit_ratio": 0.01,
              "dynamic_import_ratio": 0.08,
              "empty_line_ratio": 0.05,
              "identifier_density": 1.68,
              "identifiers_to_functions_ratio": 13.13,
              "import_density": 4.15,
              "imports_to_functions_ratio": 1.5,
              "last_line_length": 1,
              "line_length_stddev": 27.02,
              "lines": 289,
              "long_token_count": 2,
              "max_line_length": 122,
              "max_whitespace_run": 20,
              "normalized_function_count": 0.47,
              "normalized_import_count": 0.71,
              "normalized_string_count": 3.71,
              "normalized_unique_identifiers": 12.84,
              "repeated_char_sequences": 20,
              "space_count": 832,
              "string_density": 0.22,
              "strings_to_functions_ratio": 7.88,
              "suspicious_identifier_ratio": 0.02,
              "suspicious_string_ratio": 0.02,
              "tab_count": 757,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.09,
              "unique_chars": 77,
              "whitespace_ratio": 0.21
            }
          },
          "tgt": [
            "NewFactory",
            "assert.Equal",
            "assert.EqualError",
            "assert.ErrorContains",
            "assert.NoError",
            "cfg.GetAggregationTemporality",
            "cm.Sub",
            "component.NewIDWithName",
            "component.ValidateConfig",
            "config.GetDeltaTimestampCacheSize",
            "confmaptest.LoadConf",
            "createDefaultConfig",
            "errors.Join",
            "factory.CreateDefaultConfig",
            "filepath.Join",
            "require.NoError",
            "sub.Unmarshal",
            "t.Parallel",
            "t.Run",
            "tt.extraAssertions",
            "tt.id.String",
            "validateDimensions",
            "validateEventDimensions"
          ]
        },
        "id": 4,
        "mol": "Md₂(InPa)",
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/config_test.go",
        "pid": 0,
        "risk": 3,
        "sha": "bab4e273d60487051693a54fe86f8746448a3070ec421009d385743034b392d3",
        "sid": 5259942394,
        "size": 9155,
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports net/http",
            "id": "metadata/import/go/net/http::net/http",
            "spans": [
              [
                129,
                8
              ]
            ]
          },
          {
            "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": 0.95,
            "crit": 2,
            "desc": "imports errors",
            "id": "metadata/import/go/errors::errors",
            "spans": [
              [
                119,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata",
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata::github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata",
            "spans": [
              [
                399,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics",
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics::github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics",
            "spans": [
              [
                509,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/stretchr/testify/assert",
            "id": "metadata/import/go/github/com/stretchr/testify/assert::github/com/stretchr/testify/assert",
            "spans": [
              [
                178,
                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": [
              [
                216,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/component",
            "id": "metadata/import/go/go/opentelemetry/io/collector/component::go/opentelemetry/io/collector/component",
            "spans": [
              [
                255,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/confmap/confmaptest",
            "id": "metadata/import/go/go/opentelemetry/io/collector/confmap/confmaptest::go/opentelemetry/io/collector/confmap/confmaptest",
            "spans": [
              [
                298,
                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": [
              [
                351,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports path/filepath",
            "id": "metadata/import/go/path/filepath::path/filepath",
            "spans": [
              [
                141,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports testing",
            "id": "metadata/import/go/testing::testing",
            "spans": [
              [
                158,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "id": "metadata/import/go/time::time",
            "spans": [
              [
                169,
                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": [
              25,
              26,
              27
            ]
          },
          {
            "conf": 0.88,
            "crit": 2,
            "desc": "Source has at most two comments",
            "id": "metadata/lang/source/comment::source-at-most-two-comments"
          },
          {
            "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": [
              [
                642,
                0
              ]
            ],
            "uses": [
              17,
              20
            ]
          },
          {
            "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": [
              [
                642,
                0
              ]
            ],
            "uses": [
              18,
              21
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test uses a testing.T parameter",
            "id": "metadata/package/testing/harness/unit::go-testing-t",
            "spans": [
              [
                642,
                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": [
              [
                704,
                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": [
              [
                6128,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                7539,
                0
              ]
            ]
          },
          {
            "atk": "T1555.005",
            "conf": 0.8,
            "crit": 1,
            "desc": "References a config.yaml filename",
            "id": "micro-behaviors/fs/path/wallet::config-yaml-file-name",
            "spans": [
              [
                731,
                0
              ]
            ]
          }
        ],
        "type": "go"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "// Copyright The OpenTelemetry Authors\n// SPDX-License-Identifier: Apache-2.0\n\npackage spanmetricsconnector // import \"github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector\"\n\nimport (\n\t\"bytes\"\n\t\"context\"\n\t\"sync\"\n\t\"time\"\n\n\t\"github.com/hashicorp/golang-lru/v2/simplelru\"\n\t\"github.com/jonboulle/clockwork\"\n\t\"github.com/lightstep/go-expohisto/structure\"\n\t\"go.opentelemetry.io/collector/component\"\n\t\"go.opentelemetry.io/collector/consumer\"\n\t\"go.opentelemetry.io/collector/pdata/pcommon\"\n\t\"go.opentelemetry.io/collector/pdata/pmetric\"\n\t\"go.opentelemetry.io/collector/pdata/ptrace\"\n\tconventions \"go.opentelemetry.io/collector/semconv/v1.27.0\"\n\t\"go.uber.org/zap\"\n\n\t\"github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/cache\"\n\t\"github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics\"\n\t\"github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil\"\n\tutilattri \"github.com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil\"\n\t\"github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil\"\n)\n\nconst (\n\tserviceNameKey     = conventions.AttributeServiceName\n\tspanNameKey        = \"span"
          },
          {
            "col": 53,
            "line": 34,
            "ln": 1435,
            "s": " non-standard constant.\n\tmetricKeySeparator = string(byte(0))\n\n\tdefaultDimensionsCacheSize      = 1000\n\tdefaultResourceMetricsCacheSize = 1000\n\n\tmetricNameDuration = \"duration\"\n\tmetricNameCalls    = \"calls\"\n\tmetricNameEvents   = \"events\"\n\n\tdefaultUnit = metrics.Millisec"
          },
          {
            "col": 33,
            "line": 52,
            "ln": 1827,
            "s": "s\n\n\t// Additional dimensions to add to metrics.\n\tdimensions []utilattri.Dimension\n\n\tresourceMetrics"
          },
          {
            "col": 13,
            "line": 77,
            "ln": 2528,
            "s": "tsConfig\n\n\t// Tracks the last TimestampUnixNano for delta metrics so that they represent an uninterrupted series. Unused for cumulative span metrics.\n\tlastDeltaTimestamp"
          },
          {
            "col": 12,
            "line": 88,
            "ln": 2913,
            "s": "mestamp captures when the first data points for this resource are recorded.\n\tstartTimestamp pcommon.Timestamp\n\t// lastSeen captures when the last da"
          },
          {
            "col": 48,
            "line": 144,
            "ln": 4856,
            "s": "fg.Dimensions),\n\t\tkeyBuf:                       bytes.NewBuffer(make([]byte, 0, 1024)),\n\t\tmetricKeyToDimensions:        metricKeyToDimensionsCache,\n\t\tlastDeltaTimestamps:          lastDeltaTimestamps,\n\t\tc"
          },
          {
            "col": 9,
            "line": 204,
            "ln": 6935,
            "s": "r.Info(\"Starting spanmetrics connector\")\n\n\tp.started = true\n\tgo func() {\n\t\tfor {\n\t\t\tselect {\n\t\t\tcase \u003c-p.done:\n\t\t\t\treturn\n\t\t\tcase \u003c-p.ticker.Chan():\n\t\t\t\tp.exportMetrics(ctx)\n\t\t\t}\n\t\t}\n\t}()\n\n\treturn nil\n}\n\n// Shutdown implements the component.Component interface.\nfunc (p *connectorImp) Shutdown(c"
          },
          {
            "col": 7,
            "line": 255,
            "ln": 8038,
            "s": "is component no longer needs to read the metrics once built, so it is safe to unlock.\n\tp.lock.Unlock"
          },
          {
            "col": 8,
            "line": 264,
            "ln": 8288,
            "s": "dMetrics collects the computed raw metrics data and builds OTLP metrics.\nfunc (p *connectorImp) buildMetrics() pmetric.Metrics {\n\tm := pmetric.NewM"
          },
          {
            "col": 79,
            "line": 288,
            "ln": 9463,
            "s": "hare the same key, so defer the update.\n\t\t\t\tdeltaMetricKeys[mk] = true\n\t\t\t}\n\t\t\treturn startTime\n\t\t}\n\n\t"
          },
          {
            "col": 134,
            "line": 320,
            "ln": 10740,
            "s": "series\n\t\t\tp.lastDeltaTimestamps.Add(mk, timestamp)\n\t\t}\n\t})\n\n\treturn m\n}\n\nfunc (p *connectorImp) res"
          },
          {
            "col": 12,
            "line": 354,
            "ln": 11817,
            "s": "trics expiration is configured, remove metrics that haven't been seen for longer than the expiration p"
          },
          {
            "col": 51,
            "line": 356,
            "ln": 12015,
            "s": "ration {\n\t\t\t\t\tp.resourceMetrics.Remove(k)\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t}\n}\n\n// aggregateMetrics aggregates the raw"
          },
          {
            "col": 49,
            "line": 531,
            "ln": 17531,
            "s": "lue string, prefixSep bool) {\n\tif prefixSep {\n\t\tdest.WriteString(metricKeySeparator)\n\t}\n\tdest.WriteString(value)\n}\n\n// buildKey builds the metric key from the s"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "newDimensions",
              3127
            ],
            [
              "newConnector",
              3472
            ],
            [
              "initHistogramMetrics",
              5349
            ],
            [
              "unitDivider",
              6400
            ],
            [
              "durationsToUnits",
              6589
            ],
            [
              "Start",
              6851
            ],
            [
              "Shutdown",
              7197
            ],
            [
              "Capabilities",
              7528
            ],
            [
              "ConsumeTraces",
              7755
            ],
            [
              "exportMetrics",
              7916
            ],
            [
              "buildMetrics",
              8361
            ],
            [
              "resetState",
              10813
            ],
            [
              "aggregateMetrics",
              12388
            ],
            [
              "addExemplar",
              15127
            ],
            [
              "createResourceKey",
              15397
            ],
            [
              "getOrCreateResourceMetrics",
              15737
            ],
            [
              "contains",
              16468
            ],
            [
              "buildAttributes",
              16621
            ],
            [
              "concatDimensionValue",
              17483
            ],
            [
              "buildKey",
              18094
            ],
            [
              "buildMetricName",
              19076
            ]
          ],
          "imp": [
            [
              "",
              "string"
            ],
            [
              "",
              "byte"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "pcommon.NewValueStr"
            ],
            [
              "",
              "logger.Info"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "cfg.GetAggregationTemporality"
            ],
            [
              "",
              "simplelru.NewLRU"
            ],
            [
              "",
              "cfg.GetDeltaTimestampCacheSize"
            ],
            [
              "",
              "logger.Info"
            ],
            [
              "",
              "zap.String"
            ],
            [
              "",
              "string"
            ],
            [
              "",
              "newDimensions"
            ],
            [
              "",
              "bytes.NewBuffer"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "clock.NewTicker"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "newDimensions"
            ],
            [
              "",
              "metrics.NewExponentialHistogramMetrics"
            ],
            [
              "",
              "durationsToUnits"
            ],
            [
              "",
              "unitDivider"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "float64"
            ],
            [
              "",
              "time.Second.Milliseconds"
            ],
            [
              "",
              "metrics.NewExplicitHistogramMetrics"
            ],
            [
              "",
              "time.Second.Nanoseconds"
            ],
            [
              "",
              "time.Millisecond.Nanoseconds"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "float64"
            ],
            [
              "",
              "v.Nanoseconds"
            ],
            [
              "",
              "float64"
            ],
            [
              "",
              "p.logger.Info"
            ],
            [
              "",
              "p.ticker.Chan"
            ],
            [
              "",
              "p.exportMetrics"
            ],
            [
              "",
              "p.shutdownOnce.Do"
            ],
            [
              "",
              "p.logger.Info"
            ],
            [
              "",
              "p.logger.Info"
            ],
            [
              "",
              "p.ticker.Stop"
            ],
            [
              "",
              "p.lock.Lock"
            ],
            [
              "",
              "p.aggregateMetrics"
            ],
            [
              "",
              "p.lock.Unlock"
            ],
            [
              "",
              "p.lock.Lock"
            ],
            [
              "",
              "p.buildMetrics"
            ],
            [
              "",
              "p.resetState"
            ],
            [
              "",
              "p.lock.Unlock"
            ],
            [
              "",
              "p.metricsConsumer.ConsumeMetrics"
            ],
            [
              "",
              "p.logger.Error"
            ],
            [
              "",
              "zap.Error"
            ],
            [
              "",
              "pmetric.NewMetrics"
            ],
            [
              "",
              "pcommon.NewTimestampFromTime"
            ],
            [
              "",
              "p.clock.Now"
            ],
            [
              "",
              "p.resourceMetrics.ForEach"
            ],
            [
              "",
              "m.ResourceMetrics.AppendEmpty"
            ],
            [
              "",
              "m.ResourceMetrics"
            ],
            [
              "",
              "rawMetrics.attributes.CopyTo"
            ],
            [
              "",
              "rm.Resource.Attributes"
            ],
            [
              "",
              "rm.Resource"
            ],
            [
              "",
              "rm.ScopeMetrics.AppendEmpty"
            ],
            [
              "",
              "rm.ScopeMetrics"
            ],
            [
              "",
              "sm.Scope.SetName"
            ],
            [
              "",
              "sm.Scope"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "p.config.GetAggregationTemporality"
            ],
            [
              "",
              "p.lastDeltaTimestamps.Get"
            ],
            [
              "",
              "legacyMetricNamesFeatureGate.IsEnabled"
            ],
            [
              "",
              "sm.Metrics.AppendEmpty"
            ],
            [
              "",
              "sm.Metrics"
            ],
            [
              "",
              "metric.SetName"
            ],
            [
              "",
              "buildMetricName"
            ],
            [
              "",
              "sums.BuildMetrics"
            ],
            [
              "",
              "p.config.GetAggregationTemporality"
            ],
            [
              "",
              "sm.Metrics.AppendEmpty"
            ],
            [
              "",
              "sm.Metrics"
            ],
            [
              "",
              "metric.SetName"
            ],
            [
              "",
              "buildMetricName"
            ],
            [
              "",
              "metric.SetUnit"
            ],
            [
              "",
              "p.config.Histogram.Unit.String"
            ],
            [
              "",
              "histograms.BuildMetrics"
            ],
            [
              "",
              "p.config.GetAggregationTemporality"
            ],
            [
              "",
              "sm.Metrics.AppendEmpty"
            ],
            [
              "",
              "sm.Metrics"
            ],
            [
              "",
              "metric.SetName"
            ],
            [
              "",
              "buildMetricName"
            ],
            [
              "",
              "events.BuildMetrics"
            ],
            [
              "",
              "p.config.GetAggregationTemporality"
            ],
            [
              "",
              "p.lastDeltaTimestamps.Add"
            ],
            [
              "",
              "p.config.GetAggregationTemporality"
            ],
            [
              "",
              "p.resourceMetrics.Purge"
            ],
            [
              "",
              "p.metricKeyToDimensions.Purge"
            ],
            [
              "",
              "p.resourceMetrics.RemoveEvictedItems"
            ],
            [
              "",
              "p.metricKeyToDimensions.RemoveEvictedItems"
            ],
            [
              "",
              "p.clock.Now"
            ],
            [
              "",
              "p.resourceMetrics.ForEach"
            ],
            [
              "",
              "m.sums.ClearExemplars"
            ],
            [
              "",
              "m.events.ClearExemplars"
            ],
            [
              "",
              "m.histograms.ClearExemplars"
            ],
            [
              "",
              "now.Sub"
            ],
            [
              "",
              "p.resourceMetrics.Remove"
            ],
            [
              "",
              "pcommon.NewTimestampFromTime"
            ],
            [
              "",
              "p.clock.Now"
            ],
            [
              "",
              "traces.ResourceSpans.Len"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "traces.ResourceSpans.At"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "rspans.Resource.Attributes"
            ],
            [
              "",
              "rspans.Resource"
            ],
            [
              "",
              "resourceAttr.Get"
            ],
            [
              "",
              "p.getOrCreateResourceMetrics"
            ],
            [
              "",
              "unitDivider"
            ],
            [
              "",
              "serviceAttr.Str"
            ],
            [
              "",
              "rspans.ScopeSpans"
            ],
            [
              "",
              "ilsSlice.Len"
            ],
            [
              "",
              "ilsSlice.At"
            ],
            [
              "",
              "ils.Spans"
            ],
            [
              "",
              "spans.Len"
            ],
            [
              "",
              "spans.At"
            ],
            [
              "",
              "float64"
            ],
            [
              "",
              "span.StartTimestamp"
            ],
            [
              "",
              "span.EndTimestamp"
            ],
            [
              "",
              "float64"
            ],
            [
              "",
              "float64"
            ],
            [
              "",
              "p.buildKey"
            ],
            [
              "",
              "p.metricKeyToDimensions.Get"
            ],
            [
              "",
              "p.buildAttributes"
            ],
            [
              "",
              "p.metricKeyToDimensions.Add"
            ],
            [
              "",
              "histograms.GetOrCreate"
            ],
            [
              "",
              "p.addExemplar"
            ],
            [
              "",
              "h.Observe"
            ],
            [
              "",
              "sums.GetOrCreate"
            ],
            [
              "",
              "span.TraceID.IsEmpty"
            ],
            [
              "",
              "span.TraceID"
            ],
            [
              "",
              "s.AddExemplar"
            ],
            [
              "",
              "span.TraceID"
            ],
            [
              "",
              "span.SpanID"
            ],
            [
              "",
              "s.Add"
            ],
            [
              "",
              "span.Events.Len"
            ],
            [
              "",
              "span.Events"
            ],
            [
              "",
              "span.Events.At"
            ],
            [
              "",
              "span.Events"
            ],
            [
              "",
              "append"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "rscAndEventAttrs.EnsureCapacity"
            ],
            [
              "",
              "resourceAttr.Len"
            ],
            [
              "",
              "event.Attributes.Len"
            ],
            [
              "",
              "event.Attributes"
            ],
            [
              "",
              "resourceAttr.CopyTo"
            ],
            [
              "",
              "event.Attributes.CopyTo"
            ],
            [
              "",
              "event.Attributes"
            ],
            [
              "",
              "p.buildKey"
            ],
            [
              "",
              "p.metricKeyToDimensions.Get"
            ],
            [
              "",
              "p.buildAttributes"
            ],
            [
              "",
              "p.metricKeyToDimensions.Add"
            ],
            [
              "",
              "events.GetOrCreate"
            ],
            [
              "",
              "span.TraceID.IsEmpty"
            ],
            [
              "",
              "span.TraceID"
            ],
            [
              "",
              "e.AddExemplar"
            ],
            [
              "",
              "span.TraceID"
            ],
            [
              "",
              "span.SpanID"
            ],
            [
              "",
              "e.Add"
            ],
            [
              "",
              "span.TraceID.IsEmpty"
            ],
            [
              "",
              "span.TraceID"
            ],
            [
              "",
              "h.AddExemplar"
            ],
            [
              "",
              "span.TraceID"
            ],
            [
              "",
              "span.SpanID"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "pdatautil.MapHash"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "attr.CopyTo"
            ],
            [
              "",
              "m.RemoveIf"
            ],
            [
              "",
              "pdatautil.MapHash"
            ],
            [
              "",
              "p.createResourceKey"
            ],
            [
              "",
              "p.resourceMetrics.Get"
            ],
            [
              "",
              "initHistogramMetrics"
            ],
            [
              "",
              "metrics.NewSumMetrics"
            ],
            [
              "",
              "metrics.NewSumMetrics"
            ],
            [
              "",
              "p.resourceMetrics.Add"
            ],
            [
              "",
              "p.clock.Now"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "attr.EnsureCapacity"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "contains"
            ],
            [
              "",
              "attr.PutStr"
            ],
            [
              "",
              "contains"
            ],
            [
              "",
              "attr.PutStr"
            ],
            [
              "",
              "span.Name"
            ],
            [
              "",
              "contains"
            ],
            [
              "",
              "attr.PutStr"
            ],
            [
              "",
              "traceutil.SpanKindStr"
            ],
            [
              "",
              "span.Kind"
            ],
            [
              "",
              "contains"
            ],
            [
              "",
              "attr.PutStr"
            ],
            [
              "",
              "traceutil.StatusCodeStr"
            ],
            [
              "",
              "span.Status.Code"
            ],
            [
              "",
              "span.Status"
            ],
            [
              "",
              "utilattri.GetDimensionValue"
            ],
            [
              "",
              "span.Attributes"
            ],
            [
              "",
              "v.CopyTo"
            ],
            [
              "",
              "attr.PutEmpty"
            ],
            [
              "",
              "dest.WriteString"
            ],
            [
              "",
              "dest.WriteString"
            ],
            [
              "",
              "p.keyBuf.Reset"
            ],
            [
              "",
              "contains"
            ],
            [
              "",
              "concatDimensionValue"
            ],
            [
              "",
              "contains"
            ],
            [
              "",
              "concatDimensionValue"
            ],
            [
              "",
              "span.Name"
            ],
            [
              "",
              "contains"
            ],
            [
              "",
              "concatDimensionValue"
            ],
            [
              "",
              "traceutil.SpanKindStr"
            ],
            [
              "",
              "span.Kind"
            ],
            [
              "",
              "contains"
            ],
            [
              "",
              "concatDimensionValue"
            ],
            [
              "",
              "traceutil.StatusCodeStr"
            ],
            [
              "",
              "span.Status.Code"
            ],
            [
              "",
              "span.Status"
            ],
            [
              "",
              "utilattri.GetDimensionValue"
            ],
            [
              "",
              "span.Attributes"
            ],
            [
              "",
              "concatDimensionValue"
            ],
            [
              "",
              "v.AsString"
            ],
            [
              "",
              "metrics.Key"
            ],
            [
              "",
              "p.keyBuf.String"
            ],
            [
              "",
              "bytes"
            ],
            [
              "",
              "context"
            ],
            [
              "",
              "sync"
            ],
            [
              "",
              "time"
            ],
            [
              "",
              "github.com/hashicorp/golang-lru/v2/simplelru"
            ],
            [
              "",
              "github.com/jonboulle/clockwork"
            ],
            [
              "",
              "github.com/lightstep/go-expohisto/structure"
            ],
            [
              "",
              "go.opentelemetry.io/collector/component"
            ],
            [
              "",
              "go.opentelemetry.io/collector/consumer"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/pcommon"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/pmetric"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/ptrace"
            ],
            [
              "",
              "go.opentelemetry.io/collector/semconv/v1.27.0"
            ],
            [
              "",
              "go.uber.org/zap"
            ],
            [
              "",
              "github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/cache"
            ],
            [
              "",
              "github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics"
            ],
            [
              "",
              "github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil"
            ],
            [
              "",
              "github.com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil"
            ],
            [
              "",
              "github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil"
            ]
          ],
          "mbr": [
            "attr.CopyTo",
            "attr.EnsureCapacity",
            "attr.PutEmpty",
            "attr.PutStr",
            "bytes.NewBuffer",
            "cfg.Dimensions",
            "cfg.DimensionsCacheSize",
            "cfg.Events",
            "cfg.Events.Dimensions",
            "cfg.Exemplars",
            "cfg.Exemplars.MaxPerDataPoint",
            "cfg.GetAggregationTemporality",
            "cfg.GetDeltaTimestampCacheSize",
            "cfg.Histogram",
            "cfg.Histogram.Disable",
            "cfg.Histogram.Explicit",
            "cfg.Histogram.Explicit.Buckets",
            "cfg.Histogram.Exponential",
            "cfg.Histogram.Exponential.MaxSize",
            "cfg.Histogram.Unit",
            "cfg.MetricsFlushInterval",
            "cfg.ResourceMetricsCacheSize",
            "cfg.ResourceMetricsKeyAttributes",
            "clock.NewTicker",
            "conventions.AttributeServiceName",
            "d.Name",
            "dest.WriteString",
            "e.Add",
            "e.AddExemplar",
            "event.Attributes",
            "event.Attributes.CopyTo",
            "event.Attributes.Len",
            "events.BuildMetrics",
            "events.GetOrCreate",
            "h.AddExemplar",
            "h.Observe",
            "histograms.BuildMetrics",
            "histograms.GetOrCreate",
            "ils.Spans",
            "ilsSlice.At",
            "ilsSlice.Len",
            "legacyMetricNamesFeatureGate.IsEnabled",
            "logger.Info",
            "m.RemoveIf",
            "m.ResourceMetrics",
            "m.ResourceMetrics.AppendEmpty",
            "m.events",
            "m.events.ClearExemplars",
            "m.histograms",
            "m.histograms.ClearExemplars",
            "m.lastSeen",
            "m.sums",
            "m.sums.ClearExemplars",
            "metric.SetName",
            "metric.SetUnit",
            "metrics.Key",
            "metrics.Milliseconds",
            "metrics.NewExplicitHistogramMetrics",
            "metrics.NewExponentialHistogramMetrics",
            "metrics.NewSumMetrics",
            "metrics.Seconds",
            "now.Sub",
            "p.addExemplar",
            "p.aggregateMetrics",
            "p.buildAttributes",
            "p.buildKey",
            "p.buildMetrics",
            "p.clock",
            "p.clock.Now",
            "p.config",
            "p.config.ExcludeDimensions",
            "p.config.Exemplars",
            "p.config.Exemplars.Enabled",
            "p.config.Exemplars.MaxPerDataPoint",
            "p.config.GetAggregationTemporality",
            "p.config.Histogram",
            "p.config.Histogram.Disable",
            "p.config.Histogram.Unit",
            "p.config.Histogram.Unit.String",
            "p.config.MetricsExpiration",
            "p.config.Namespace",
            "p.createResourceKey",
            "p.dimensions",
            "p.done",
            "p.eDimensions",
            "p.events",
            "p.events.Enabled",
            "p.exportMetrics",
            "p.getOrCreateResourceMetrics",
            "p.keyBuf",
            "p.keyBuf.Reset",
            "p.keyBuf.String",
            "p.lastDeltaTimestamps",
            "p.lastDeltaTimestamps.Add",
            "p.lastDeltaTimestamps.Get",
            "p.lock",
            "p.lock.Lock",
            "p.lock.Unlock",
            "p.logger",
            "p.logger.Error",
            "p.logger.Info",
            "p.metricKeyToDimensions",
            "p.metricKeyToDimensions.Add",
            "p.metricKeyToDimensions.Get",
            "p.metricKeyToDimensions.Purge",
            "p.metricKeyToDimensions.RemoveEvictedItems",
            "p.metricsConsumer",
            "p.metricsConsumer.ConsumeMetrics",
            "p.resetState",
            "p.resourceMetrics",
            "p.resourceMetrics.Add",
            "p.resourceMetrics.ForEach",
            "p.resourceMetrics.Get",
            "p.resourceMetrics.Purge",
            "p.resourceMetrics.Remove",
            "p.resourceMetrics.RemoveEvictedItems",
            "p.resourceMetricsKeyAttributes",
            "p.shutdownOnce",
            "p.shutdownOnce.Do",
            "p.started",
            "p.ticker",
            "p.ticker.Chan",
            "p.ticker.Stop",
            "pcommon.NewMap",
            "pcommon.NewTimestampFromTime",
            "pcommon.NewValueStr",
            "pdatautil.MapHash",
            "pmetric.AggregationTemporalityDelta",
            "pmetric.NewMetrics",
            "rawMetrics.attributes",
            "rawMetrics.attributes.CopyTo",
            "rawMetrics.events",
            "rawMetrics.histograms",
            "rawMetrics.startTimestamp",
            "rawMetrics.sums",
            "resourceAttr.CopyTo",
            "resourceAttr.Get",
            "resourceAttr.Len",
            "rm.Resource",
            "rm.Resource.Attributes",
            "rm.ScopeMetrics",
            "rm.ScopeMetrics.AppendEmpty",
            "rm.events",
            "rm.histograms",
            "rm.sums",
            "rscAndEventAttrs.EnsureCapacity",
            "rspans.Resource",
            "rspans.Resource.Attributes",
            "rspans.ScopeSpans",
            "s.Add",
            "s.AddExemplar",
            "serviceAttr.Str",
            "simplelru.NewLRU",
            "sm.Metrics",
            "sm.Metrics.AppendEmpty",
            "sm.Scope",
            "sm.Scope.SetName",
            "span.Attributes",
            "span.EndTimestamp",
            "span.Events",
            "span.Events.At",
            "span.Events.Len",
            "span.Kind",
            "span.Name",
            "span.SpanID",
            "span.StartTimestamp",
            "span.Status",
            "span.Status.Code",
            "span.TraceID",
            "span.TraceID.IsEmpty",
            "spans.At",
            "spans.Len",
            "structure.DefaultMaxSize",
            "sums.BuildMetrics",
            "sums.GetOrCreate",
            "time.Millisecond",
            "time.Millisecond.Nanoseconds",
            "time.Second",
            "time.Second.Milliseconds",
            "time.Second.Nanoseconds",
            "traces.ResourceSpans",
            "traces.ResourceSpans.At",
            "traces.ResourceSpans.Len",
            "traceutil.SpanKindStr",
            "traceutil.StatusCodeStr",
            "utilattri.GetDimensionValue",
            "v.AsString",
            "v.CopyTo",
            "v.Nanoseconds",
            "v.lastSeen",
            "zap.Error",
            "zap.String"
          ],
          "metrics": {
            "ast": {
              "call_count": 227,
              "max_array_length": 2,
              "max_concat_chain": 3,
              "max_depth": 27,
              "max_member_depth": 5,
              "member_count": 192,
              "node_count": 5384,
              "op.add": 4,
              "op.band": 3,
              "op.div": 3,
              "op.eq": 8,
              "op.ge": 1,
              "op.gt": 3,
              "op.land": 6,
              "op.lnot": 20,
              "op.lt": 4,
              "op.mul": 2,
              "op.ne": 10,
              "op.sub": 1,
              "op_density.add": 0,
              "op_density.band": 0,
              "op_density.div": 0,
              "op_density.eq": 0,
              "op_density.ge": 0,
              "op_density.gt": 0,
              "op_density.land": 0,
              "op_density.lnot": 0,
              "op_density.lt": 0,
              "op_density.mul": 0,
              "op_density.ne": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 19209,
              "peak_region_entropy": 4.97
            },
            "comments": {
              "chars": 3357,
              "count": 47,
              "empty": 2,
              "high_entropy": 1,
              "lines": 49,
              "to_code_ratio": 0.09
            },
            "file": {
              "entropy": 5.03,
              "size": 19209
            },
            "functions": {
              "anonymous": 7,
              "avg_length_lines": 19.54,
              "avg_name_length": 13.38,
              "avg_nesting_depth": 0.29,
              "avg_param_name_length": 5.76,
              "avg_params": 1.61,
              "code_ratio": 0.76,
              "count": 23,
              "density": 4.89,
              "high_entropy_names": 2,
              "length_stddev": 18.91,
              "max_length_lines": 79,
              "max_nesting_depth": 2,
              "max_params": 4,
              "min_length_lines": 3,
              "nested": 7,
              "no_params_count": 5,
              "single_char_params": 11
            },
            "identifiers": {
              "all_lowercase_ratio": 0.3,
              "all_uppercase_ratio": 0.01,
              "avg_entropy": 2.55,
              "avg_length": 9.28,
              "count": 1292,
              "has_digit_ratio": 0.01,
              "high_entropy_count": 25,
              "high_entropy_ratio": 0.09,
              "length_stddev": 6.23,
              "max_length": 31,
              "min_length": 1,
              "numeric_suffix_count": 2,
              "reuse_ratio": 0.21,
              "sequential_names": 12,
              "single_char_count": 13,
              "single_char_ratio": 0.05,
              "underscore_prefix_count": 1,
              "unique": 277
            },
            "imports": {
              "aliased": 2,
              "count": 19,
              "stdlib_count": 4,
              "stdlib_ratio": 0.21,
              "third_party_count": 15,
              "third_party_ratio": 0.79
            },
            "source": {
              "class_count": 2,
              "function_count": 21
            },
            "strings": {
              "avg_entropy": 3.25,
              "avg_length": 30,
              "bytes": 1080,
              "count": 36,
              "empty_count": 2,
              "entropy_stddev": 0.93,
              "max_length": 105,
              "url_count": 15
            },
            "text": {
              "anonymous_function_ratio": 0.25,
              "avg_line_length": 32.52,
              "char_entropy": 5.03,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.14,
              "identifier_density": 2.25,
              "identifiers_to_functions_ratio": 9.89,
              "import_density": 3.32,
              "imports_to_functions_ratio": 0.68,
              "last_line_length": 1,
              "line_length_stddev": 31.74,
              "lines": 573,
              "long_token_count": 2,
              "max_line_length": 154,
              "max_whitespace_run": 25,
              "mixed_indent": 1,
              "normalized_function_count": 1.17,
              "normalized_import_count": 0.79,
              "normalized_string_count": 1.5,
              "normalized_unique_identifiers": 30.23,
              "repeated_char_sequences": 12,
              "space_count": 1614,
              "string_density": 0.06,
              "strings_to_functions_ratio": 1.29,
              "suspicious_comment_ratio": 0.02,
              "suspicious_identifier_ratio": 0.04,
              "tab_count": 892,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.09,
              "unique_chars": 80,
              "whitespace_ratio": 0.16
            }
          },
          "tgt": [
            "append",
            "attr.CopyTo",
            "attr.EnsureCapacity",
            "attr.PutEmpty",
            "attr.PutStr",
            "buildMetricName",
            "byte",
            "bytes.NewBuffer",
            "cfg.GetAggregationTemporality",
            "cfg.GetDeltaTimestampCacheSize",
            "clock.NewTicker",
            "concatDimensionValue",
            "contains",
            "dest.WriteString",
            "durationsToUnits",
            "e.Add",
            "e.AddExemplar",
            "event.Attributes",
            "event.Attributes.CopyTo",
            "event.Attributes.Len",
            "events.BuildMetrics",
            "events.GetOrCreate",
            "float64",
            "h.AddExemplar",
            "h.Observe",
            "histograms.BuildMetrics",
            "histograms.GetOrCreate",
            "ils.Spans",
            "ilsSlice.At",
            "ilsSlice.Len",
            "initHistogramMetrics",
            "legacyMetricNamesFeatureGate.IsEnabled",
            "len",
            "logger.Info",
            "m.RemoveIf",
            "m.ResourceMetrics",
            "m.ResourceMetrics.AppendEmpty",
            "m.events.ClearExemplars",
            "m.histograms.ClearExemplars",
            "m.sums.ClearExemplars",
            "make",
            "metric.SetName",
            "metric.SetUnit",
            "metrics.Key",
            "metrics.NewExplicitHistogramMetrics",
            "metrics.NewExponentialHistogramMetrics",
            "metrics.NewSumMetrics",
            "newDimensions",
            "now.Sub",
            "p.addExemplar",
            "p.aggregateMetrics",
            "p.buildAttributes",
            "p.buildKey",
            "p.buildMetrics",
            "p.clock.Now",
            "p.config.GetAggregationTemporality",
            "p.config.Histogram.Unit.String",
            "p.createResourceKey",
            "p.exportMetrics",
            "p.getOrCreateResourceMetrics",
            "p.keyBuf.Reset",
            "p.keyBuf.String",
            "p.lastDeltaTimestamps.Add",
            "p.lastDeltaTimestamps.Get",
            "p.lock.Lock",
            "p.lock.Unlock",
            "p.logger.Error",
            "p.logger.Info",
            "p.metricKeyToDimensions.Add",
            "p.metricKeyToDimensions.Get",
            "p.metricKeyToDimensions.Purge",
            "p.metricKeyToDimensions.RemoveEvictedItems",
            "p.metricsConsumer.ConsumeMetrics",
            "p.resetState",
            "p.resourceMetrics.Add",
            "p.resourceMetrics.ForEach",
            "p.resourceMetrics.Get",
            "p.resourceMetrics.Purge",
            "p.resourceMetrics.Remove",
            "p.resourceMetrics.RemoveEvictedItems",
            "p.shutdownOnce.Do",
            "p.ticker.Chan",
            "p.ticker.Stop",
            "pcommon.NewMap",
            "pcommon.NewTimestampFromTime",
            "pcommon.NewValueStr",
            "pdatautil.MapHash",
            "pmetric.NewMetrics",
            "rawMetrics.attributes.CopyTo",
            "resourceAttr.CopyTo",
            "resourceAttr.Get",
            "resourceAttr.Len",
            "rm.Resource",
            "rm.Resource.Attributes",
            "rm.ScopeMetrics",
            "rm.ScopeMetrics.AppendEmpty",
            "rscAndEventAttrs.EnsureCapacity",
            "rspans.Resource",
            "rspans.Resource.Attributes",
            "rspans.ScopeSpans",
            "s.Add",
            "s.AddExemplar",
            "serviceAttr.Str",
            "simplelru.NewLRU",
            "sm.Metrics",
            "sm.Metrics.AppendEmpty",
            "sm.Scope",
            "sm.Scope.SetName",
            "span.Attributes",
            "span.EndTimestamp",
            "span.Events",
            "span.Events.At",
            "span.Events.Len",
            "span.Kind",
            "span.Name",
            "span.SpanID",
            "span.StartTimestamp",
            "span.Status",
            "span.Status.Code",
            "span.TraceID",
            "span.TraceID.IsEmpty",
            "spans.At",
            "spans.Len",
            "string",
            "sums.BuildMetrics",
            "sums.GetOrCreate",
            "time.Millisecond.Nanoseconds",
            "time.Second.Milliseconds",
            "time.Second.Nanoseconds",
            "traces.ResourceSpans",
            "traces.ResourceSpans.At",
            "traces.ResourceSpans.Len",
            "traceutil.SpanKindStr",
            "traceutil.StatusCodeStr",
            "unitDivider",
            "utilattri.GetDimensionValue",
            "v.AsString",
            "v.CopyTo",
            "v.Nanoseconds",
            "zap.Error",
            "zap.String"
          ]
        },
        "id": 5,
        "mol": "H₂(Db₃Po)Md(Pa)",
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/connector.go",
        "pid": 0,
        "risk": 6,
        "sha": "cc24af7d6270f066acc5f56585d94549b03c57ab14965eb5ca684239457fba45",
        "sid": 5259942497,
        "size": 19209,
        "supp": [
          {
            "by": [
              {
                "id": "tree-sitter",
                "spans": [
                  [
                    210,
                    103
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/lang/source/declaration::go-constant-only-file",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source SPDX license identifier declaration",
            "id": "metadata/package/license::spdx-license-identifier",
            "spans": [
              [
                42,
                35
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Go allocates a byte slice",
            "id": "micro-behaviors/data/buffer/alloc::go-byte-slice-make",
            "spans": [
              [
                4920,
                12
              ]
            ]
          },
          {
            "conf": 1.0,
            "crit": 3,
            "desc": "Contains an unbounded block loop",
            "id": "micro-behaviors/data/control-flow/loop/unconditional::block-unbounded-loop-header",
            "spans": [
              [
                7008,
                7
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 3,
            "desc": "Assigns or defaults bound to 1000-1024",
            "id": "micro-behaviors/data/string/assembly::variable-bound-1000-to-1024",
            "spans": [
              [
                1499,
                38
              ],
              [
                1539,
                38
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Go goroutine launch call",
            "id": "micro-behaviors/process/thread/create::go-goroutine-launch-call",
            "spans": [
              [
                6999,
                103
              ]
            ]
          },
          {
            "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": [
              [
                220,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports context",
            "id": "metadata/import/go/context::context",
            "spans": [
              [
                229,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/hashicorp/golang-lru/v2/simplelru",
            "id": "metadata/import/go/github/com/hashicorp/golang-lru/v2/simplelru::github/com/hashicorp/golang-lru/v2/simplelru",
            "spans": [
              [
                257,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/jonboulle/clockwork",
            "id": "metadata/import/go/github/com/jonboulle/clockwork::github/com/jonboulle/clockwork",
            "spans": [
              [
                305,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/lightstep/go-expohisto/structure",
            "id": "metadata/import/go/github/com/lightstep/go-expohisto/structure::github/com/lightstep/go-expohisto/structure",
            "spans": [
              [
                339,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/cache",
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/cache::github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/cache",
            "spans": [
              [
                692,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics",
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics::github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics",
            "spans": [
              [
                799,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil",
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil::github/com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal/traceutil",
            "spans": [
              [
                908,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil as utilattri",
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil::utilattri",
            "spans": [
              [
                1011,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil",
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil::github/com/open-telemetry/opentelemetry-collector-contrib/pkg/pdatautil",
            "spans": [
              [
                1091,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/component",
            "id": "metadata/import/go/go/opentelemetry/io/collector/component::go/opentelemetry/io/collector/component",
            "spans": [
              [
                386,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/consumer",
            "id": "metadata/import/go/go/opentelemetry/io/collector/consumer::go/opentelemetry/io/collector/consumer",
            "spans": [
              [
                429,
                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": [
              [
                471,
                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": [
              [
                518,
                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": [
              [
                565,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/semconv/v1.27.0 as conventions",
            "id": "metadata/import/go/go/opentelemetry/io/collector/semconv/v1/27/0::conventions",
            "spans": [
              [
                623,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.uber.org/zap",
            "id": "metadata/import/go/go/uber/org/zap::go/uber/org/zap",
            "spans": [
              [
                672,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sync",
            "id": "metadata/import/go/sync::sync",
            "spans": [
              [
                240,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "id": "metadata/import/go/time::time",
            "spans": [
              [
                248,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "spans": [
              [
                2576,
                0
              ]
            ],
            "uses": [
              32,
              33,
              34,
              35,
              36
            ]
          },
          {
            "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 calls byte or string I/O",
            "id": "micro-behaviors/data/buffer/transfer::go-byte-string-io-method-call",
            "spans": [
              [
                17579,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Launches a Go goroutine",
            "id": "micro-behaviors/process/thread/runtime::go-goroutine-statement",
            "spans": [
              [
                6996,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-access verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-access-verb-token",
            "spans": [
              [
                8070,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                12047,
                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 \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                8336,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                2597,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                2576,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                2961,
                0
              ]
            ]
          }
        ],
        "type": "go"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable",
          "flow-query-incomplete"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "// Copyright The OpenTelemetry Authors\n// SPDX-License-Identifier: Apache-2.0\n\npackage spanmetricsconnector\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"sync\"\n\t\"testing\"\n\t\"time\"\n\n\t\"github.com/jonboulle/clockwork\"\n\t\"github.com/lightstep/go-expohisto/structure\"\n\t\"github.com/stretchr/testify/assert\"\n\t\"github.com/stretchr/testify/require\"\n\t\"go.opentelemetry.io/collector/component/componenttest\"\n\t\"go.opentelemetry.io/collector/connector/connectortest\"\n\t\"go.opentelemetry.io/collector/consumer\"\n\t\"go.opentelemetry.io/collector/consumer/consumertest\"\n\t\"go.opentelemetry.io/collector/featuregate\"\n\t\"go.opentelemetry.io/collector/pdata/pcommon\"\n\t\"go.opentelemetry.io/collector/pdata/pmetric\"\n\t\"go.opentelemetry.io/collector/pdata/ptrace\"\n\tconventions \"go.opentelemetry.io/collector/semconv/v1.27.0\"\n\t\"go.uber.org/zap\"\n\t\"go.uber.org/zap/zapcore\"\n\t\"go.uber.org/zap/zaptest\"\n\t\"go.uber.org/zap/zaptest/observer\"\n\t\"google.golang.org/grpc/metadata\"\n\n\t\"github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics\"\n\t\"github.com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil\"\n)\n\nconst (\n\tstringAttrName           = \"stringAttrName\"\n\tintAttrName              = \"intAttrN"
          },
          {
            "col": 2,
            "line": 53,
            "ln": 1729,
            "s": "\n\n// metricID represents the minimum attributes that uniquely identifies a metric in our tests.\ntype metricID struct {\n\tservice    string\n\tname     "
          },
          {
            "col": 28,
            "line": 81,
            "ln": 2291,
            "s": "m(tb testing.TB, input pmetric.Metrics) bool {\n\tfor i := 0; i \u003c input.ResourceMetrics().Len(); i++ {\n\t\trm := input.ResourceMetrics().At(i)\n\t\tism :="
          },
          {
            "col": 3,
            "line": 85,
            "ln": 2459,
            "s": "// Checking all metrics, naming notice: ismC/mC - C here is for Counter.\n\t\tfor ismC := 0; ismC \u003c ism.L"
          },
          {
            "col": 29,
            "line": 124,
            "ln": 3531,
            "s": "Cumulative expects one accumulation of metrics, and marked as cumulative\nfunc verifyConsumeMetricsInputCumulative(tb testing.TB, input pmetric.Metr"
          },
          {
            "col": 33,
            "line": 148,
            "ln": 4751,
            "s": "ifies the input of the ConsumeMetrics call from this connector.\n// This is the best point to verify the computed metrics from spans are as expected."
          },
          {
            "col": 14,
            "line": 151,
            "ln": 5072,
            "s": "l(tb, 6, input.DataPointCount(),\n\t\t\"Should be 3 for each of call count and latency split into two resource scopes defined by: \"+\n\t\t\t\"service-a: service-a ("
          },
          {
            "col": 29,
            "line": 244,
            "ln": 8600,
            "s": "stogram buckets are empty except for the bucket with the 11ms duration.\n\t\tvar wantBucketCount uint64\n\t\tfor bi := 0; bi \u003c dp.BucketCounts().Len(); bi"
          },
          {
            "col": 14,
            "line": 301,
            "ln": 10815,
            "s": "al(tb, wantDimensions[k], v)\n\t\t\tdelete(wantDimensions, k)\n\t\t}\n\t\treturn true\n\t})\n\tassert.Empty(tb, want"
          },
          {
            "col": 4,
            "line": 320,
            "ln": 11417,
            "s": "common.NewTimestampFromTime(now.Add(time.Duration(sampleDuration) * time.Millisecond)))\n\treturn bad"
          },
          {
            "col": 1,
            "line": 498,
            "ln": 17045,
            "s": "\nfunc TestBuildKeySameServiceNameCharSequence(t *testing.T) {\n\tfactory := NewFactory()\n\tcfg := factory.CreateDefaultConfig().(*Config)\n\tc, err := newConne"
          },
          {
            "col": 36,
            "line": 511,
            "ln": 17468,
            "s": "pcommon.NewMap())\n\n\tassert.NotEqual(t, k0, k1)\n\tassert.Equal(t, metrics.Key(\"ab\\u0000c\\u0000SPAN_KIND_UNSPECIFIED\\u0000STATUS_CODE_UNSET\"), k0)\n\tassert.Equal(t, metrics.Key(\""
          },
          {
            "col": 16,
            "line": 649,
            "ln": 22033,
            "s": "r(t, err)\n\n\t// Allow goroutines time to start.\n\ttime.Sleep(time.Millisecond)\n\n\t// Simulate many goroutines trying to concurrently shutdown.\n\tvar wg sync.W"
          },
          {
            "col": 25,
            "line": 656,
            "ln": 22220,
            "s": "0\n\twg.Add(concurrency)\n\tfor i := 0; i \u003c concurrency; i++ {\n\t\tgo func() {\n\t\t\terr := p.Shutdown(ctx)\n\t\t\tassert.NoError(t, err)\n\t\t\twg.Done()\n\t\t}()\n\t}\n\twg.Wait()\n\n\t// Allow time for log observer to sync all logs emitted.\n\t// Even though the WaitGroup has been given the \"done"
          },
          {
            "col": 22,
            "line": 756,
            "ln": 25062,
            "s": "led ConsumeMetrics\", allLogs[0].Message)\n}\n\nfunc TestConsumeTraces(t *testing.T) {\n\tt.Parallel()\n\n\ttest"
          },
          {
            "col": 6,
            "line": 962,
            "ln": 33311,
            "s": "ces := buildSampleTrace()\n\n\t\t// add resource attributes to simulate additional resources providing "
          },
          {
            "col": 40,
            "line": 1036,
            "ln": 35978,
            "s": "en())\n}\n\nfunc BenchmarkConnectorConsumeTraces(b *testing.B) {\n\t// Prepare\n\tconn, err := newConnectorImp(stringp(\"defaultNullValue\"), explicitHistogramsCon"
          },
          {
            "col": 22,
            "line": 1163,
            "ln": 39995,
            "s": "Spans().AppendEmpty())\n\n\t// This trace does not have service-a, and may not result in an attempt to publish metrics for\n\t// service-a because service-a may be removed from t"
          },
          {
            "col": 8,
            "line": 1202,
            "ln": 41084,
            "s": "(len(wantDataPointCounts))\n\n\t// Note: default dimension key cache size is 2.\n\tmockClock := clockwork"
          },
          {
            "col": 68,
            "line": 1400,
            "ln": 46941,
            "s": "etsMs, nil),\n\t\t},\n\t\t{\n\t\t\tname: \"Disable histogram\",\n\t\t\tconfig: Config{\n\t\t\t\tHistogram: HistogramConfig{\n\t\t"
          },
          {
            "col": 25,
            "line": 1658,
            "ln": 55005,
            "s": ".Exemplars().At(0).TraceID(), traceID)\n\t\t\t\t\t}\n\t\t\t\tdefault:\n\t\t\t\t\tt.Fatalf(\"Unexpected metric type %s\", metric.Type())\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunc TestTimestampsForUninterruptedStream(t *testing.T) {\n\ttes"
          },
          {
            "col": 41,
            "line": 1701,
            "ln": 56532,
            "s": "ntext.Background(), nil)\n\n\t\t\t// Send first batch of spans\n\t\t\terr = p.ConsumeTraces(ctx, buildSampleT"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "verifyDisabledHistogram",
              2264
            ],
            [
              "verifyExemplarsExist",
              2842
            ],
            [
              "verifyConsumeMetricsInputCumulative",
              3604
            ],
            [
              "verifyBadMetricsOkay",
              3783
            ],
            [
              "verifyConsumeMetricsInputDelta",
              3983
            ],
            [
              "verifyMultipleCumulativeConsumptions",
              4384
            ],
            [
              "verifyConsumeMetricsInput",
              4900
            ],
            [
              "verifyExplicitHistogramDataPoints",
              7440
            ],
            [
              "verifyExponentialHistogramDataPoints",
              8987
            ],
            [
              "verifyMetricLabels",
              9761
            ],
            [
              "buildBadSampleTrace",
              11123
            ],
            [
              "buildSampleTrace",
              11669
            ],
            [
              "initServiceSpans",
              13037
            ],
            [
              "initSpan",
              13467
            ],
            [
              "disabledExemplarsConfig",
              14309
            ],
            [
              "enabledExemplarsConfig",
              14407
            ],
            [
              "enabledEventsConfig",
              14503
            ],
            [
              "disabledEventsConfig",
              14646
            ],
            [
              "explicitHistogramsConfig",
              14735
            ],
            [
              "exponentialHistogramsConfig",
              14960
            ],
            [
              "disabledHistogramsConfig",
              15130
            ],
            [
              "newConnectorImp",
              15252
            ],
            [
              "stringp",
              16995
            ],
            [
              "TestBuildKeySameServiceNameCharSequence",
              17046
            ],
            [
              "TestBuildKeyExcludeDimensionsAll",
              17712
            ],
            [
              "TestBuildKeyExcludeWrongDimensions",
              18191
            ],
            [
              "TestBuildKeyWithDimensions",
              18694
            ],
            [
              "TestStart",
              20994
            ],
            [
              "TestConcurrentShutdown",
              21490
            ],
            [
              "TestConnectorCapabilities",
              22917
            ],
            [
              "Capabilities",
              23430
            ],
            [
              "ConsumeMetrics",
              23544
            ],
            [
              "TestConsumeMetricsErrors",
              23661
            ],
            [
              "TestConsumeTraces",
              25106
            ],
            [
              "TestMetricKeyCache",
              31382
            ],
            [
              "TestResourceMetricsCache",
              32429
            ],
            [
              "TestResourceMetricsExpiration",
              33762
            ],
            [
              "TestResourceMetricsKeyAttributes",
              34504
            ],
            [
              "BenchmarkConnectorConsumeTraces",
              35987
            ],
            [
              "TestExcludeDimensionsConsumeTraces",
              36459
            ],
            [
              "TestConnectorConsumeTracesEvictedCacheKey",
              39023
            ],
            [
              "TestConnectorConsumeTracesExpiredMetrics",
              42669
            ],
            [
              "TestBuildMetricName",
              45263
            ],
            [
              "TestConnector_durationsToUnits",
              45653
            ],
            [
              "TestConnector_initHistogramMetrics",
              46462
            ],
            [
              "TestSpanMetrics_Events",
              49138
            ],
            [
              "TestExemplarsAreDiscardedAfterFlushing",
              50951
            ],
            [
              "assertDataPointsHaveExactlyOneExemplarForTrace",
              53657
            ],
            [
              "TestTimestampsForUninterruptedStream",
              55143
            ],
            [
              "verifyAndCollectCommonTimestamps",
              57961
            ],
            [
              "TestDeltaTimestampCacheExpiry",
              59480
            ],
            [
              "newAlwaysIncreasingClock",
              62532
            ],
            [
              "Now",
              62660
            ]
          ],
          "imp": [
            [
              "",
              "float64"
            ],
            [
              "",
              "input.ResourceMetrics.Len"
            ],
            [
              "",
              "input.ResourceMetrics"
            ],
            [
              "",
              "input.ResourceMetrics.At"
            ],
            [
              "",
              "input.ResourceMetrics"
            ],
            [
              "",
              "rm.ScopeMetrics"
            ],
            [
              "",
              "ism.Len"
            ],
            [
              "",
              "ism.At.Metrics"
            ],
            [
              "",
              "ism.At"
            ],
            [
              "",
              "m.Len"
            ],
            [
              "",
              "m.At"
            ],
            [
              "",
              "assert.NotEqual"
            ],
            [
              "",
              "metric.Type"
            ],
            [
              "",
              "assert.NotEqual"
            ],
            [
              "",
              "metric.Type"
            ],
            [
              "",
              "input.ResourceMetrics.Len"
            ],
            [
              "",
              "input.ResourceMetrics"
            ],
            [
              "",
              "input.ResourceMetrics.At"
            ],
            [
              "",
              "input.ResourceMetrics"
            ],
            [
              "",
              "rm.ScopeMetrics"
            ],
            [
              "",
              "ism.Len"
            ],
            [
              "",
              "ism.At.Metrics"
            ],
            [
              "",
              "ism.At"
            ],
            [
              "",
              "m.Len"
            ],
            [
              "",
              "m.At"
            ],
            [
              "",
              "metric.Type"
            ],
            [
              "",
              "metric.Histogram.DataPoints"
            ],
            [
              "",
              "metric.Histogram"
            ],
            [
              "",
              "dps.Len"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "assert.Positive"
            ],
            [
              "",
              "d.Exemplars.Len"
            ],
            [
              "",
              "d.Exemplars"
            ],
            [
              "",
              "verifyConsumeMetricsInput"
            ],
            [
              "",
              "verifyConsumeMetricsInput"
            ],
            [
              "",
              "verifyConsumeMetricsInput"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "input.DataPointCount"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "input.ResourceMetrics.Len"
            ],
            [
              "",
              "input.ResourceMetrics"
            ],
            [
              "",
              "input.ResourceMetrics.Len"
            ],
            [
              "",
              "input.ResourceMetrics"
            ],
            [
              "",
              "input.ResourceMetrics.At"
            ],
            [
              "",
              "input.ResourceMetrics"
            ],
            [
              "",
              "rm.Resource.Attributes.Get"
            ],
            [
              "",
              "rm.Resource.Attributes"
            ],
            [
              "",
              "rm.Resource"
            ],
            [
              "",
              "require.True"
            ],
            [
              "",
              "val.AsString"
            ],
            [
              "",
              "rm.ScopeMetrics"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "ilm.Len"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "ilm.At.Scope.Name"
            ],
            [
              "",
              "ilm.At.Scope"
            ],
            [
              "",
              "ilm.At"
            ],
            [
              "",
              "ilm.At.Metrics"
            ],
            [
              "",
              "ilm.At"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "m.Len"
            ],
            [
              "",
              "m.At"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "metric.Name"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "metric.Sum.AggregationTemporality"
            ],
            [
              "",
              "metric.Sum"
            ],
            [
              "",
              "assert.True"
            ],
            [
              "",
              "metric.Sum.IsMonotonic"
            ],
            [
              "",
              "metric.Sum"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "metric.Sum.DataPoints"
            ],
            [
              "",
              "metric.Sum"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "callsDps.Len"
            ],
            [
              "",
              "callsDps.At"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "int64"
            ],
            [
              "",
              "dp.IntValue"
            ],
            [
              "",
              "assert.NotZero"
            ],
            [
              "",
              "dp.StartTimestamp"
            ],
            [
              "",
              "assert.NotZero"
            ],
            [
              "",
              "dp.Timestamp"
            ],
            [
              "",
              "verifyMetricLabels"
            ],
            [
              "",
              "m.At"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "metric.Name"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "defaultUnit.String"
            ],
            [
              "",
              "metric.Unit"
            ],
            [
              "",
              "metric.Type"
            ],
            [
              "",
              "metric.ExponentialHistogram"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "hist.AggregationTemporality"
            ],
            [
              "",
              "verifyExponentialHistogramDataPoints"
            ],
            [
              "",
              "hist.DataPoints"
            ],
            [
              "",
              "metric.Histogram"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "hist.AggregationTemporality"
            ],
            [
              "",
              "verifyExplicitHistogramDataPoints"
            ],
            [
              "",
              "hist.DataPoints"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "dps.Len"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "float64"
            ],
            [
              "",
              "dp.Sum"
            ],
            [
              "",
              "assert.NotZero"
            ],
            [
              "",
              "dp.Timestamp"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "dp.ExplicitBounds.Len"
            ],
            [
              "",
              "dp.ExplicitBounds"
            ],
            [
              "",
              "dp.BucketCounts.Len"
            ],
            [
              "",
              "dp.BucketCounts"
            ],
            [
              "",
              "dp.ExplicitBounds.Len"
            ],
            [
              "",
              "dp.ExplicitBounds"
            ],
            [
              "",
              "dp.ExplicitBounds.At"
            ],
            [
              "",
              "dp.ExplicitBounds"
            ],
            [
              "",
              "dp.BucketCounts.Len"
            ],
            [
              "",
              "dp.BucketCounts"
            ],
            [
              "",
              "uint64"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "dp.BucketCounts.At"
            ],
            [
              "",
              "dp.BucketCounts"
            ],
            [
              "",
              "verifyMetricLabels"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "dps.Len"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "float64"
            ],
            [
              "",
              "dp.Sum"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "uint64"
            ],
            [
              "",
              "dp.Count"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "uint64"
            ],
            [
              "",
              "dp.Positive.BucketCounts.AsRaw"
            ],
            [
              "",
              "dp.Positive.BucketCounts"
            ],
            [
              "",
              "dp.Positive"
            ],
            [
              "",
              "assert.NotZero"
            ],
            [
              "",
              "dp.Timestamp"
            ],
            [
              "",
              "verifyMetricLabels"
            ],
            [
              "",
              "pcommon.NewValueStr"
            ],
            [
              "",
              "pcommon.NewValueInt"
            ],
            [
              "",
              "pcommon.NewValueDouble"
            ],
            [
              "",
              "pcommon.NewValueBool"
            ],
            [
              "",
              "pcommon.NewValueEmpty"
            ],
            [
              "",
              "pcommon.NewValueSlice"
            ],
            [
              "",
              "pcommon.NewValueMap"
            ],
            [
              "",
              "pcommon.NewValueStr"
            ],
            [
              "",
              "pcommon.NewValueStr"
            ],
            [
              "",
              "dp.Attributes.Range"
            ],
            [
              "",
              "dp.Attributes"
            ],
            [
              "",
              "v.Str"
            ],
            [
              "",
              "v.Str"
            ],
            [
              "",
              "v.Str"
            ],
            [
              "",
              "v.Str"
            ],
            [
              "",
              "assert.Fail"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "delete"
            ],
            [
              "",
              "assert.Empty"
            ],
            [
              "",
              "assert.False"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "badTrace.ResourceSpans.At.ScopeSpans.At.Spans.At"
            ],
            [
              "",
              "badTrace.ResourceSpans.At.ScopeSpans.At.Spans"
            ],
            [
              "",
              "badTrace.ResourceSpans.At.ScopeSpans.At"
            ],
            [
              "",
              "badTrace.ResourceSpans.At.ScopeSpans"
            ],
            [
              "",
              "badTrace.ResourceSpans.At"
            ],
            [
              "",
              "badTrace.ResourceSpans"
            ],
            [
              "",
              "time.Now"
            ],
            [
              "",
              "span.SetEndTimestamp"
            ],
            [
              "",
              "pcommon.NewTimestampFromTime"
            ],
            [
              "",
              "span.SetStartTimestamp"
            ],
            [
              "",
              "pcommon.NewTimestampFromTime"
            ],
            [
              "",
              "now.Add"
            ],
            [
              "",
              "time.Duration"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "spans.Resource.Attributes.PutStr"
            ],
            [
              "",
              "spans.Resource.Attributes"
            ],
            [
              "",
              "spans.Resource"
            ],
            [
              "",
              "spans.Resource.Attributes.PutStr"
            ],
            [
              "",
              "spans.Resource.Attributes"
            ],
            [
              "",
              "spans.Resource"
            ],
            [
              "",
              "spans.ScopeSpans.AppendEmpty"
            ],
            [
              "",
              "spans.ScopeSpans"
            ],
            [
              "",
              "initSpan"
            ],
            [
              "",
              "ils.Spans.AppendEmpty"
            ],
            [
              "",
              "ils.Spans"
            ],
            [
              "",
              "s.SetName"
            ],
            [
              "",
              "s.SetKind"
            ],
            [
              "",
              "s.Status.SetCode"
            ],
            [
              "",
              "s.Status"
            ],
            [
              "",
              "time.Now"
            ],
            [
              "",
              "s.SetStartTimestamp"
            ],
            [
              "",
              "pcommon.NewTimestampFromTime"
            ],
            [
              "",
              "s.SetEndTimestamp"
            ],
            [
              "",
              "pcommon.NewTimestampFromTime"
            ],
            [
              "",
              "now.Add"
            ],
            [
              "",
              "time.Duration"
            ],
            [
              "",
              "s.Attributes.PutStr"
            ],
            [
              "",
              "s.Attributes"
            ],
            [
              "",
              "s.Attributes.PutInt"
            ],
            [
              "",
              "s.Attributes"
            ],
            [
              "",
              "s.Attributes.PutDouble"
            ],
            [
              "",
              "s.Attributes"
            ],
            [
              "",
              "s.Attributes.PutBool"
            ],
            [
              "",
              "s.Attributes"
            ],
            [
              "",
              "s.Attributes.PutEmpty"
            ],
            [
              "",
              "s.Attributes"
            ],
            [
              "",
              "s.Attributes.PutEmptyMap"
            ],
            [
              "",
              "s.Attributes"
            ],
            [
              "",
              "s.Attributes.PutEmptySlice"
            ],
            [
              "",
              "s.Attributes"
            ],
            [
              "",
              "s.SetTraceID"
            ],
            [
              "",
              "pcommon.TraceID"
            ],
            [
              "",
              "s.SetSpanID"
            ],
            [
              "",
              "pcommon.SpanID"
            ],
            [
              "",
              "s.Events.AppendEmpty"
            ],
            [
              "",
              "s.Events"
            ],
            [
              "",
              "e.SetName"
            ],
            [
              "",
              "e.Attributes.PutStr"
            ],
            [
              "",
              "e.Attributes"
            ],
            [
              "",
              "histogramConfig"
            ],
            [
              "",
              "exemplarsConfig"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "eventsConfig"
            ],
            [
              "",
              "newConnector"
            ],
            [
              "",
              "zap.NewNop"
            ],
            [
              "",
              "consumertest.NewNop"
            ],
            [
              "",
              "NewFactory"
            ],
            [
              "",
              "factory.CreateDefaultConfig"
            ],
            [
              "",
              "newConnector"
            ],
            [
              "",
              "zaptest.NewLogger"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "ptrace.NewSpan"
            ],
            [
              "",
              "span0.SetName"
            ],
            [
              "",
              "c.buildKey"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "ptrace.NewSpan"
            ],
            [
              "",
              "span1.SetName"
            ],
            [
              "",
              "c.buildKey"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "assert.NotEqual"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "metrics.Key"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "metrics.Key"
            ],
            [
              "",
              "NewFactory"
            ],
            [
              "",
              "factory.CreateDefaultConfig"
            ],
            [
              "",
              "newConnector"
            ],
            [
              "",
              "zaptest.NewLogger"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "ptrace.NewSpan"
            ],
            [
              "",
              "span0.SetName"
            ],
            [
              "",
              "c.buildKey"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "metrics.Key"
            ],
            [
              "",
              "NewFactory"
            ],
            [
              "",
              "factory.CreateDefaultConfig"
            ],
            [
              "",
              "newConnector"
            ],
            [
              "",
              "zaptest.NewLogger"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "ptrace.NewSpan"
            ],
            [
              "",
              "span0.SetName"
            ],
            [
              "",
              "c.buildKey"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "metrics.Key"
            ],
            [
              "",
              "NewFactory"
            ],
            [
              "",
              "factory.CreateDefaultConfig"
            ],
            [
              "",
              "newConnector"
            ],
            [
              "",
              "zaptest.NewLogger"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "pcommon.NewValueStr"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "pcommon.NewMap"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "resAttr.FromRaw"
            ],
            [
              "",
              "ptrace.NewSpan"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "span0.Attributes.FromRaw"
            ],
            [
              "",
              "span0.Attributes"
            ],
            [
              "",
              "span0.SetName"
            ],
            [
              "",
              "c.buildKey"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "metrics.Key"
            ],
            [
              "",
              "NewFactory"
            ],
            [
              "",
              "factory.CreateDefaultConfig"
            ],
            [
              "",
              "connectortest.NewNopSettings"
            ],
            [
              "",
              "factory.CreateTracesToMetrics"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "consumertest.NewNop"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "smc.Start"
            ],
            [
              "",
              "componenttest.NewNopHost"
            ],
            [
              "",
              "smc.Shutdown"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "observer.New"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "new"
            ],
            [
              "",
              "zap.New"
            ],
            [
              "",
              "p.Start"
            ],
            [
              "",
              "componenttest.NewNopHost"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "time.Sleep"
            ],
            [
              "",
              "wg.Add"
            ],
            [
              "",
              "p.Shutdown"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "wg.Done"
            ],
            [
              "",
              "wg.Wait"
            ],
            [
              "",
              "assert.Eventually"
            ],
            [
              "",
              "observedLogs.All"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "assert.Len"
            ],
            [
              "",
              "NewFactory"
            ],
            [
              "",
              "factory.CreateDefaultConfig"
            ],
            [
              "",
              "newConnector"
            ],
            [
              "",
              "zaptest.NewLogger"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "new"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "c.Capabilities"
            ],
            [
              "",
              "assert.NotNil"
            ],
            [
              "",
              "assert.False"
            ],
            [
              "",
              "e.wg.Done"
            ],
            [
              "",
              "fmt.Errorf"
            ],
            [
              "",
              "observer.New"
            ],
            [
              "",
              "zap.New"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "p.Start"
            ],
            [
              "",
              "componenttest.NewNopHost"
            ],
            [
              "",
              "p.Shutdown"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "wg.Add"
            ],
            [
              "",
              "mockClock.Advance"
            ],
            [
              "",
              "wg.Wait"
            ],
            [
              "",
              "assert.Eventually"
            ],
            [
              "",
              "observedLogs.All"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "t.Parallel"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "verifyMultipleCumulativeConsumptions"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "buildBadSampleTrace"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "verifyMultipleCumulativeConsumptions"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "buildBadSampleTrace"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "p.Start"
            ],
            [
              "",
              "componenttest.NewNopHost"
            ],
            [
              "",
              "p.Shutdown"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "mockClock.Advance"
            ],
            [
              "",
              "require.Eventually"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "mcon.AllMetrics"
            ],
            [
              "",
              "tc.verifier"
            ],
            [
              "",
              "mcon.AllMetrics"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "mcon.AllMetrics"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "assert.Zero"
            ],
            [
              "",
              "p.metricKeyToDimensions.Len"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "assert.Eventually"
            ],
            [
              "",
              "p.metricKeyToDimensions.Len"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "assert.Eventually"
            ],
            [
              "",
              "p.metricKeyToDimensions.Len"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "assert.Zero"
            ],
            [
              "",
              "p.resourceMetrics.Len"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "p.resourceMetrics.Len"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "p.resourceMetrics.Len"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "traces.ResourceSpans.Len"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "traces.ResourceSpans.At.Resource.Attributes.PutStr"
            ],
            [
              "",
              "traces.ResourceSpans.At.Resource.Attributes"
            ],
            [
              "",
              "traces.ResourceSpans.At.Resource"
            ],
            [
              "",
              "traces.ResourceSpans.At"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "fmt.Sprintf"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "p.resourceMetrics.Len"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "assert.Zero"
            ],
            [
              "",
              "p.resourceMetrics.Len"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "p.resourceMetrics.Len"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "p.resourceMetrics.Len"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "assert.Zero"
            ],
            [
              "",
              "p.resourceMetrics.Len"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "p.resourceMetrics.Len"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "p.resourceMetrics.Len"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "traces.ResourceSpans.Len"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "traces.ResourceSpans.At.Resource.Attributes.PutStr"
            ],
            [
              "",
              "traces.ResourceSpans.At.Resource.Attributes"
            ],
            [
              "",
              "traces.ResourceSpans.At.Resource"
            ],
            [
              "",
              "traces.ResourceSpans.At"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "fmt.Sprintf"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "p.resourceMetrics.Len"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "conn.ConsumeTraces"
            ],
            [
              "",
              "fmt.Sprintf"
            ],
            [
              "",
              "fmt.Sprintf"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "legacyMetricNamesFeatureGate.IsEnabled"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "featuregate.GlobalRegistry.Set"
            ],
            [
              "",
              "featuregate.GlobalRegistry"
            ],
            [
              "",
              "legacyMetricNamesFeatureGate.ID"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "featuregate.GlobalRegistry.Set"
            ],
            [
              "",
              "featuregate.GlobalRegistry"
            ],
            [
              "",
              "legacyMetricNamesFeatureGate.ID"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "p.buildMetrics"
            ],
            [
              "",
              "metrics.ResourceMetrics.Len"
            ],
            [
              "",
              "metrics.ResourceMetrics"
            ],
            [
              "",
              "metrics.ResourceMetrics.At"
            ],
            [
              "",
              "metrics.ResourceMetrics"
            ],
            [
              "",
              "rm.ScopeMetrics"
            ],
            [
              "",
              "ism.Len"
            ],
            [
              "",
              "ism.At.Metrics"
            ],
            [
              "",
              "ism.At"
            ],
            [
              "",
              "m.Len"
            ],
            [
              "",
              "m.At"
            ],
            [
              "",
              "metric.Type"
            ],
            [
              "",
              "metric.Histogram.DataPoints"
            ],
            [
              "",
              "metric.Histogram"
            ],
            [
              "",
              "dp.Len"
            ],
            [
              "",
              "dp.At.Attributes.AsRaw"
            ],
            [
              "",
              "dp.At.Attributes"
            ],
            [
              "",
              "dp.At"
            ],
            [
              "",
              "assert.NotContains"
            ],
            [
              "",
              "metric.Sum.DataPoints"
            ],
            [
              "",
              "metric.Sum"
            ],
            [
              "",
              "dp.Len"
            ],
            [
              "",
              "dp.At.Attributes.AsRaw"
            ],
            [
              "",
              "dp.At.Attributes"
            ],
            [
              "",
              "dp.At"
            ],
            [
              "",
              "assert.NotContains"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces0.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces0.ResourceSpans"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces0.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces0.ResourceSpans"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces0.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces0.ResourceSpans"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces1.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces1.ResourceSpans"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces1.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces1.ResourceSpans"
            ],
            [
              "",
              "wg.Add"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "p.Start"
            ],
            [
              "",
              "componenttest.NewNopHost"
            ],
            [
              "",
              "p.Shutdown"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "time.Sleep"
            ],
            [
              "",
              "mockClock.Advance"
            ],
            [
              "",
              "time.Sleep"
            ],
            [
              "",
              "require.Eventually"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "mcon.AllMetrics"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "require.NotEmpty"
            ],
            [
              "",
              "require.GreaterOrEqual"
            ],
            [
              "",
              "mcon.AllMetrics"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces0.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces0.ResourceSpans"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces0.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces0.ResourceSpans"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces1.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces1.ResourceSpans"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "p.Start"
            ],
            [
              "",
              "componenttest.NewNopHost"
            ],
            [
              "",
              "p.Shutdown"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "time.Sleep"
            ],
            [
              "",
              "mockClock.Advance"
            ],
            [
              "",
              "time.Sleep"
            ],
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "mcon.AllMetrics"
            ],
            [
              "",
              "mcon.Reset"
            ],
            [
              "",
              "buildMetricName"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "durationsToUnits"
            ],
            [
              "",
              "unitDivider"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "make"
            ],
            [
              "",
              "len"
            ],
            [
              "",
              "metrics.NewExplicitHistogramMetrics"
            ],
            [
              "",
              "metrics.NewExplicitHistogramMetrics"
            ],
            [
              "",
              "metrics.NewExplicitHistogramMetrics"
            ],
            [
              "",
              "metrics.NewExplicitHistogramMetrics"
            ],
            [
              "",
              "metrics.NewExplicitHistogramMetrics"
            ],
            [
              "",
              "metrics.NewExponentialHistogramMetrics"
            ],
            [
              "",
              "metrics.NewExponentialHistogramMetrics"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "initHistogramMetrics"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "NewFactory"
            ],
            [
              "",
              "factory.CreateDefaultConfig"
            ],
            [
              "",
              "newConnector"
            ],
            [
              "",
              "zaptest.NewLogger"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "c.ConsumeTraces"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "c.buildMetrics"
            ],
            [
              "",
              "metrics.ResourceMetrics.Len"
            ],
            [
              "",
              "metrics.ResourceMetrics"
            ],
            [
              "",
              "metrics.ResourceMetrics.At"
            ],
            [
              "",
              "metrics.ResourceMetrics"
            ],
            [
              "",
              "rm.ScopeMetrics"
            ],
            [
              "",
              "ism.Len"
            ],
            [
              "",
              "ism.At.Metrics"
            ],
            [
              "",
              "ism.At"
            ],
            [
              "",
              "m.Len"
            ],
            [
              "",
              "m.Len"
            ],
            [
              "",
              "m.Len"
            ],
            [
              "",
              "m.At"
            ],
            [
              "",
              "metric.Name"
            ],
            [
              "",
              "metric.Type"
            ],
            [
              "",
              "metric.Sum.DataPoints.Len"
            ],
            [
              "",
              "metric.Sum.DataPoints"
            ],
            [
              "",
              "metric.Sum"
            ],
            [
              "",
              "metric.Sum.DataPoints.At.Attributes"
            ],
            [
              "",
              "metric.Sum.DataPoints.At"
            ],
            [
              "",
              "metric.Sum.DataPoints"
            ],
            [
              "",
              "metric.Sum"
            ],
            [
              "",
              "assert.Contains"
            ],
            [
              "",
              "attrs.AsRaw"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "p.exportMetrics"
            ],
            [
              "",
              "assertDataPointsHaveExactlyOneExemplarForTrace"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "traces.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "traces.ResourceSpans"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "p.exportMetrics"
            ],
            [
              "",
              "assertDataPointsHaveExactlyOneExemplarForTrace"
            ],
            [
              "",
              "metrics.ResourceMetrics.Len"
            ],
            [
              "",
              "metrics.ResourceMetrics"
            ],
            [
              "",
              "metrics.ResourceMetrics.At"
            ],
            [
              "",
              "metrics.ResourceMetrics"
            ],
            [
              "",
              "rm.ScopeMetrics"
            ],
            [
              "",
              "ism.Len"
            ],
            [
              "",
              "ism.At.Metrics"
            ],
            [
              "",
              "ism.At"
            ],
            [
              "",
              "m.Len"
            ],
            [
              "",
              "m.At"
            ],
            [
              "",
              "metric.Type"
            ],
            [
              "",
              "metric.Sum.DataPoints"
            ],
            [
              "",
              "metric.Sum"
            ],
            [
              "",
              "assert.Positive"
            ],
            [
              "",
              "dps.Len"
            ],
            [
              "",
              "dps.Len"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "dp.Exemplars.Len"
            ],
            [
              "",
              "dp.Exemplars"
            ],
            [
              "",
              "dp.Exemplars.At.TraceID"
            ],
            [
              "",
              "dp.Exemplars.At"
            ],
            [
              "",
              "dp.Exemplars"
            ],
            [
              "",
              "metric.Histogram.DataPoints"
            ],
            [
              "",
              "metric.Histogram"
            ],
            [
              "",
              "assert.Positive"
            ],
            [
              "",
              "dps.Len"
            ],
            [
              "",
              "dps.Len"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "dp.Exemplars.Len"
            ],
            [
              "",
              "dp.Exemplars"
            ],
            [
              "",
              "dp.Exemplars.At.TraceID"
            ],
            [
              "",
              "dp.Exemplars.At"
            ],
            [
              "",
              "dp.Exemplars"
            ],
            [
              "",
              "metric.ExponentialHistogram.DataPoints"
            ],
            [
              "",
              "metric.ExponentialHistogram"
            ],
            [
              "",
              "assert.Positive"
            ],
            [
              "",
              "dps.Len"
            ],
            [
              "",
              "dps.Len"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "dp.Exemplars.Len"
            ],
            [
              "",
              "dp.Exemplars"
            ],
            [
              "",
              "dp.Exemplars.At.TraceID"
            ],
            [
              "",
              "dp.Exemplars.At"
            ],
            [
              "",
              "dp.Exemplars"
            ],
            [
              "",
              "t.Fatalf"
            ],
            [
              "",
              "metric.Type"
            ],
            [
              "",
              "assert.Greater"
            ],
            [
              "",
              "assert.Greater"
            ],
            [
              "",
              "assert.Greater"
            ],
            [
              "",
              "assert.Greater"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "newAlwaysIncreasingClock"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "p.exportMetrics"
            ],
            [
              "",
              "verifyAndCollectCommonTimestamps"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "unrelatedTraces.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "unrelatedTraces.ResourceSpans"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "p.exportMetrics"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "buildSampleTrace"
            ],
            [
              "",
              "p.exportMetrics"
            ],
            [
              "",
              "verifyAndCollectCommonTimestamps"
            ],
            [
              "",
              "tt.verifyTimestamps"
            ],
            [
              "",
              "m.ResourceMetrics.Len"
            ],
            [
              "",
              "m.ResourceMetrics"
            ],
            [
              "",
              "m.ResourceMetrics.At"
            ],
            [
              "",
              "m.ResourceMetrics"
            ],
            [
              "",
              "rm.Resource.Attributes.Get"
            ],
            [
              "",
              "rm.Resource.Attributes"
            ],
            [
              "",
              "rm.Resource"
            ],
            [
              "",
              "serviceName.Str"
            ],
            [
              "",
              "rm.ScopeMetrics"
            ],
            [
              "",
              "ism.Len"
            ],
            [
              "",
              "ism.At.Metrics"
            ],
            [
              "",
              "ism.At"
            ],
            [
              "",
              "m.Len"
            ],
            [
              "",
              "m.At"
            ],
            [
              "",
              "metric.Type"
            ],
            [
              "",
              "metric.Sum.DataPoints"
            ],
            [
              "",
              "metric.Sum"
            ],
            [
              "",
              "dps.Len"
            ],
            [
              "",
              "int64"
            ],
            [
              "",
              "dps.At.StartTimestamp"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "dps.At.Timestamp"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "dps.At.StartTimestamp"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "dps.At.Timestamp"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "metric.Histogram.DataPoints"
            ],
            [
              "",
              "metric.Histogram"
            ],
            [
              "",
              "dps.Len"
            ],
            [
              "",
              "int64"
            ],
            [
              "",
              "dps.At.StartTimestamp"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "dps.At.Timestamp"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "dps.At.StartTimestamp"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "dps.At.Timestamp"
            ],
            [
              "",
              "dps.At"
            ],
            [
              "",
              "t.Fail"
            ],
            [
              "",
              "newAlwaysIncreasingClock"
            ],
            [
              "",
              "newConnectorImp"
            ],
            [
              "",
              "stringp"
            ],
            [
              "",
              "metadata.NewIncomingContext"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "serviceATrace1.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "serviceATrace1.ResourceSpans"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "p.exportMetrics"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "serviceBTrace1.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "serviceBTrace1.ResourceSpans"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "p.exportMetrics"
            ],
            [
              "",
              "ptrace.NewTraces"
            ],
            [
              "",
              "initServiceSpans"
            ],
            [
              "",
              "serviceATrace2.ResourceSpans.AppendEmpty"
            ],
            [
              "",
              "serviceATrace2.ResourceSpans"
            ],
            [
              "",
              "p.ConsumeTraces"
            ],
            [
              "",
              "p.exportMetrics"
            ],
            [
              "",
              "assert.Greater"
            ],
            [
              "",
              "clockwork.NewFakeClock"
            ],
            [
              "",
              "c.Clock.Now"
            ],
            [
              "",
              "context"
            ],
            [
              "",
              "fmt"
            ],
            [
              "",
              "sync"
            ],
            [
              "",
              "testing"
            ],
            [
              "",
              "time"
            ],
            [
              "",
              "github.com/jonboulle/clockwork"
            ],
            [
              "",
              "github.com/lightstep/go-expohisto/structure"
            ],
            [
              "",
              "github.com/stretchr/testify/assert"
            ],
            [
              "",
              "github.com/stretchr/testify/require"
            ],
            [
              "",
              "go.opentelemetry.io/collector/component/componenttest"
            ],
            [
              "",
              "go.opentelemetry.io/collector/connector/connectortest"
            ],
            [
              "",
              "go.opentelemetry.io/collector/consumer"
            ],
            [
              "",
              "go.opentelemetry.io/collector/consumer/consumertest"
            ],
            [
              "",
              "go.opentelemetry.io/collector/featuregate"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/pcommon"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/pmetric"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pdata/ptrace"
            ],
            [
              "",
              "go.opentelemetry.io/collector/semconv/v1.27.0"
            ],
            [
              "",
              "go.uber.org/zap"
            ],
            [
              "",
              "go.uber.org/zap/zapcore"
            ],
            [
              "",
              "go.uber.org/zap/zaptest"
            ],
            [
              "",
              "go.uber.org/zap/zaptest/observer"
            ],
            [
              "",
              "google.golang.org/grpc/metadata"
            ],
            [
              "",
              "github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics"
            ],
            [
              "",
              "github.com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil"
            ]
          ],
          "mbr": [
            "assert.Contains",
            "assert.Empty",
            "assert.Equal",
            "assert.Eventually",
            "assert.Fail",
            "assert.False",
            "assert.Greater",
            "assert.Len",
            "assert.NoError",
            "assert.NotContains",
            "assert.NotEqual",
            "assert.NotNil",
            "assert.NotZero",
            "assert.Positive",
            "assert.True",
            "assert.Zero",
            "attrs.AsRaw",
            "b.N",
            "badTrace.ResourceSpans",
            "badTrace.ResourceSpans.At",
            "badTrace.ResourceSpans.At.ScopeSpans",
            "badTrace.ResourceSpans.At.ScopeSpans.At",
            "badTrace.ResourceSpans.At.ScopeSpans.At.Spans",
            "badTrace.ResourceSpans.At.ScopeSpans.At.Spans.At",
            "c.Capabilities",
            "c.Clock",
            "c.Clock.Now",
            "c.ConsumeTraces",
            "c.buildKey",
            "c.buildMetrics",
            "c.metricsConsumer",
            "callsDps.At",
            "callsDps.Len",
            "caps.MutatesData",
            "cfg.Events",
            "cfg.ExcludeDimensions",
            "clockwork.NewFakeClock",
            "componenttest.NewNopHost",
            "conn.ConsumeTraces",
            "connectortest.NewNopSettings",
            "consumertest.NewNop",
            "context.Background",
            "conventions.AttributeServiceName",
            "d.Exemplars",
            "d.Exemplars.Len",
            "defaultUnit.String",
            "dp.At",
            "dp.At.Attributes",
            "dp.At.Attributes.AsRaw",
            "dp.Attributes",
            "dp.Attributes.Range",
            "dp.BucketCounts",
            "dp.BucketCounts.At",
            "dp.BucketCounts.Len",
            "dp.Count",
            "dp.Exemplars",
            "dp.Exemplars.At",
            "dp.Exemplars.At.TraceID",
            "dp.Exemplars.Len",
            "dp.ExplicitBounds",
            "dp.ExplicitBounds.At",
            "dp.ExplicitBounds.Len",
            "dp.IntValue",
            "dp.Len",
            "dp.Positive",
            "dp.Positive.BucketCounts",
            "dp.Positive.BucketCounts.AsRaw",
            "dp.StartTimestamp",
            "dp.Sum",
            "dp.Timestamp",
            "dps.At",
            "dps.At.StartTimestamp",
            "dps.At.Timestamp",
            "dps.Len",
            "e.Attributes",
            "e.Attributes.PutStr",
            "e.SetName",
            "e.fakeErr",
            "e.wg",
            "e.wg.Done",
            "factory.CreateDefaultConfig",
            "factory.CreateTracesToMetrics",
            "featuregate.GlobalRegistry",
            "featuregate.GlobalRegistry.Set",
            "fmt.Errorf",
            "fmt.Sprintf",
            "hist.AggregationTemporality",
            "hist.DataPoints",
            "ilm.At",
            "ilm.At.Metrics",
            "ilm.At.Scope",
            "ilm.At.Scope.Name",
            "ilm.Len",
            "ils.Spans",
            "ils.Spans.AppendEmpty",
            "input.DataPointCount",
            "input.ResourceMetrics",
            "input.ResourceMetrics.At",
            "input.ResourceMetrics.Len",
            "ism.At",
            "ism.At.Metrics",
            "ism.Len",
            "legacyMetricNamesFeatureGate.ID",
            "legacyMetricNamesFeatureGate.IsEnabled",
            "m.At",
            "m.Len",
            "m.ResourceMetrics",
            "m.ResourceMetrics.At",
            "m.ResourceMetrics.Len",
            "mID.kind",
            "mID.name",
            "mID.service",
            "mID.statusCode",
            "mcon.AllMetrics",
            "mcon.Reset",
            "metadata.NewIncomingContext",
            "metric.ExponentialHistogram",
            "metric.ExponentialHistogram.DataPoints",
            "metric.Histogram",
            "metric.Histogram.DataPoints",
            "metric.Name",
            "metric.Sum",
            "metric.Sum.AggregationTemporality",
            "metric.Sum.DataPoints",
            "metric.Sum.DataPoints.At",
            "metric.Sum.DataPoints.At.Attributes",
            "metric.Sum.DataPoints.Len",
            "metric.Sum.IsMonotonic",
            "metric.Type",
            "metric.Unit",
            "metrics.Key",
            "metrics.Milliseconds",
            "metrics.NewExplicitHistogramMetrics",
            "metrics.NewExponentialHistogramMetrics",
            "metrics.ResourceMetrics",
            "metrics.ResourceMetrics.At",
            "metrics.ResourceMetrics.Len",
            "metrics.Seconds",
            "mockClock.Advance",
            "now.Add",
            "observedLogs.All",
            "observer.New",
            "p.ConsumeTraces",
            "p.Shutdown",
            "p.Start",
            "p.buildMetrics",
            "p.exportMetrics",
            "p.logger",
            "p.metricKeyToDimensions",
            "p.metricKeyToDimensions.Len",
            "p.metricsConsumer",
            "p.resourceMetrics",
            "p.resourceMetrics.Len",
            "pcommon.NewMap",
            "pcommon.NewTimestampFromTime",
            "pcommon.NewValueBool",
            "pcommon.NewValueDouble",
            "pcommon.NewValueEmpty",
            "pcommon.NewValueInt",
            "pcommon.NewValueMap",
            "pcommon.NewValueSlice",
            "pcommon.NewValueStr",
            "pcommon.SpanID",
            "pcommon.TraceID",
            "pmetric.AggregationTemporalityCumulative",
            "pmetric.AggregationTemporalityDelta",
            "pmetric.MetricTypeEmpty",
            "pmetric.MetricTypeExponentialHistogram",
            "pmetric.MetricTypeGauge",
            "pmetric.MetricTypeHistogram",
            "pmetric.MetricTypeSum",
            "pmetric.MetricTypeSummary",
            "ptrace.NewSpan",
            "ptrace.NewTraces",
            "ptrace.SpanKindClient",
            "ptrace.SpanKindServer",
            "ptrace.StatusCodeError",
            "ptrace.StatusCodeOk",
            "require.Equal",
            "require.Eventually",
            "require.GreaterOrEqual",
            "require.NoError",
            "require.NotEmpty",
            "require.True",
            "resAttr.FromRaw",
            "rm.Resource",
            "rm.Resource.Attributes",
            "rm.Resource.Attributes.Get",
            "rm.ScopeMetrics",
            "s.Attributes",
            "s.Attributes.PutBool",
            "s.Attributes.PutDouble",
            "s.Attributes.PutEmpty",
            "s.Attributes.PutEmptyMap",
            "s.Attributes.PutEmptySlice",
            "s.Attributes.PutInt",
            "s.Attributes.PutStr",
            "s.Events",
            "s.Events.AppendEmpty",
            "s.SetEndTimestamp",
            "s.SetKind",
            "s.SetName",
            "s.SetSpanID",
            "s.SetStartTimestamp",
            "s.SetTraceID",
            "s.Status",
            "s.Status.SetCode",
            "serviceATrace1.ResourceSpans",
            "serviceATrace1.ResourceSpans.AppendEmpty",
            "serviceATrace2.ResourceSpans",
            "serviceATrace2.ResourceSpans.AppendEmpty",
            "serviceBTrace1.ResourceSpans",
            "serviceBTrace1.ResourceSpans.AppendEmpty",
            "serviceName.Str",
            "serviceSpans.serviceName",
            "serviceSpans.spans",
            "smc.Shutdown",
            "smc.Start",
            "span.SetEndTimestamp",
            "span.SetStartTimestamp",
            "span.kind",
            "span.name",
            "span.spanID",
            "span.statusCode",
            "span.traceID",
            "span0.Attributes",
            "span0.Attributes.FromRaw",
            "span0.SetName",
            "span1.SetName",
            "spans.Resource",
            "spans.Resource.Attributes",
            "spans.Resource.Attributes.PutStr",
            "spans.ScopeSpans",
            "spans.ScopeSpans.AppendEmpty",
            "structure.DefaultMaxSize",
            "t.Fail",
            "t.Fatalf",
            "t.Parallel",
            "t.Run",
            "tc.aggregationTemporality",
            "tc.dsc",
            "tc.exemplarConfig",
            "tc.featureGateEnabled",
            "tc.histogramConfig",
            "tc.name",
            "tc.optionalDims",
            "tc.resourceAttrMap",
            "tc.spanAttrMap",
            "tc.traces",
            "tc.verifier",
            "tc.wantKey",
            "test.expected",
            "test.metricName",
            "test.namespace",
            "time.Duration",
            "time.Microsecond",
            "time.Millisecond",
            "time.Nanosecond",
            "time.Now",
            "time.Second",
            "time.Sleep",
            "traces.ResourceSpans",
            "traces.ResourceSpans.AppendEmpty",
            "traces.ResourceSpans.At",
            "traces.ResourceSpans.At.Resource",
            "traces.ResourceSpans.At.Resource.Attributes",
            "traces.ResourceSpans.At.Resource.Attributes.PutStr",
            "traces.ResourceSpans.Len",
            "traces0.ResourceSpans",
            "traces0.ResourceSpans.AppendEmpty",
            "traces1.ResourceSpans",
            "traces1.ResourceSpans.AppendEmpty",
            "tt.config",
            "tt.eventsConfig",
            "tt.histogramConfig",
            "tt.input",
            "tt.name",
            "tt.shouldEventsMetricExist",
            "tt.temporality",
            "tt.unit",
            "tt.verifyTimestamps",
            "tt.want",
            "unrelatedTraces.ResourceSpans",
            "unrelatedTraces.ResourceSpans.AppendEmpty",
            "v.Str",
            "val.AsString",
            "wg.Add",
            "wg.Done",
            "wg.Wait",
            "zap.New",
            "zap.NewNop",
            "zapcore.ErrorLevel",
            "zapcore.InfoLevel",
            "zaptest.NewLogger"
          ],
          "metrics": {
            "ast": {
              "call_count": 909,
              "max_array_length": 2,
              "max_concat_chain": 3,
              "max_depth": 38,
              "max_member_depth": 7,
              "member_count": 294,
              "node_count": 19449,
              "op.add": 4,
              "op.band": 18,
              "op.div": 1,
              "op.eq": 10,
              "op.gt": 4,
              "op.lnot": 1,
              "op.lt": 39,
              "op.mul": 31,
              "op.ne": 4,
              "op.sub": 1,
              "op_density.add": 0,
              "op_density.band": 0,
              "op_density.div": 0,
              "op_density.eq": 0,
              "op_density.gt": 0,
              "op_density.lnot": 0,
              "op_density.lt": 0,
              "op_density.mul": 0,
              "op_density.ne": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 41984,
              "peak_region_entropy": 5.36
            },
            "comments": {
              "base64": 6,
              "chars": 7298,
              "count": 145,
              "empty": 1,
              "lines": 144,
              "to_code_ratio": 0.08,
              "url_count": 1
            },
            "file": {
              "entropy": 5.15,
              "size": 62790
            },
            "functions": {
              "anonymous": 25,
              "avg_length_lines": 25.91,
              "avg_name_length": 25.13,
              "avg_nesting_depth": 0.36,
              "avg_param_name_length": 5.08,
              "avg_params": 1.14,
              "code_ratio": 0.92,
              "count": 59,
              "density": 4.16,
              "high_entropy_names": 45,
              "length_stddev": 30.13,
              "many_params_count": 1,
              "max_length_lines": 151,
              "max_nesting_depth": 2,
              "max_params": 10,
              "min_length_lines": 1,
              "nested": 18,
              "no_params_count": 26,
              "one_liners": 5,
              "over_100_lines": 3,
              "single_char_params": 42
            },
            "identifiers": {
              "all_lowercase_ratio": 0.24,
              "all_uppercase_ratio": 0.01,
              "avg_entropy": 2.73,
              "avg_length": 11.5,
              "base64_like_names": 13,
              "count": 4026,
              "has_digit_ratio": 0.06,
              "high_entropy_count": 104,
              "high_entropy_ratio": 0.23,
              "keyboard_pattern_names": 1,
              "length_stddev": 8.4,
              "max_length": 46,
              "min_length": 1,
              "numeric_suffix_count": 24,
              "reuse_ratio": 0.11,
              "sequential_names": 18,
              "single_char_count": 17,
              "single_char_ratio": 0.04,
              "underscore_prefix_count": 1,
              "unique": 461
            },
            "imports": {
              "aliased": 1,
              "count": 25,
              "dynamic": 1,
              "stdlib_count": 5,
              "stdlib_ratio": 0.2,
              "third_party_count": 20,
              "third_party_ratio": 0.8
            },
            "source": {
              "class_count": 6,
              "function_count": 53
            },
            "strings": {
              "avg_entropy": 3.08,
              "avg_length": 22.07,
              "base64_candidates": 16,
              "bytes": 4524,
              "count": 205,
              "empty_count": 4,
              "entropy_stddev": 0.95,
              "max_length": 105,
              "path_count": 17,
              "url_count": 20
            },
            "text": {
              "anonymous_function_ratio": 0.32,
              "avg_line_length": 32.45,
              "char_entropy": 5.15,
              "digit_ratio": 0.03,
              "dynamic_import_ratio": 0.04,
              "empty_line_ratio": 0.11,
              "encoded_string_ratio": 0.08,
              "escape_density": 0.04,
              "identifier_density": 2.14,
              "identifiers_to_functions_ratio": 5.91,
              "import_density": 1.33,
              "imports_to_functions_ratio": 0.32,
              "last_line_length": 1,
              "line_length_stddev": 32.07,
              "lines": 1877,
              "lines_over_200": 4,
              "long_token_count": 4,
              "max_line_length": 352,
              "max_whitespace_run": 20,
              "normalized_function_count": 1.8,
              "normalized_import_count": 0.58,
              "normalized_string_count": 4.73,
              "normalized_unique_identifiers": 42.39,
              "repeated_char_sequences": 72,
              "space_count": 5698,
              "string_density": 0.11,
              "strings_to_functions_ratio": 2.63,
              "suspicious_comment_ratio": 0.04,
              "suspicious_identifier_ratio": 0.07,
              "tab_count": 3952,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unicode_escape_count": 28,
              "unique_chars": 87,
              "whitespace_ratio": 0.18
            }
          },
          "tgt": [
            "NewFactory",
            "assert.Contains",
            "assert.Empty",
            "assert.Equal",
            "assert.Eventually",
            "assert.Fail",
            "assert.False",
            "assert.Greater",
            "assert.Len",
            "assert.NoError",
            "assert.NotContains",
            "assert.NotEqual",
            "assert.NotNil",
            "assert.NotZero",
            "assert.Positive",
            "assert.True",
            "assert.Zero",
            "assertDataPointsHaveExactlyOneExemplarForTrace",
            "attrs.AsRaw",
            "badTrace.ResourceSpans",
            "badTrace.ResourceSpans.At",
            "badTrace.ResourceSpans.At.ScopeSpans",
            "badTrace.ResourceSpans.At.ScopeSpans.At",
            "badTrace.ResourceSpans.At.ScopeSpans.At.Spans",
            "badTrace.ResourceSpans.At.ScopeSpans.At.Spans.At",
            "buildBadSampleTrace",
            "buildMetricName",
            "buildSampleTrace",
            "c.Capabilities",
            "c.Clock.Now",
            "c.ConsumeTraces",
            "c.buildKey",
            "c.buildMetrics",
            "callsDps.At",
            "callsDps.Len",
            "clockwork.NewFakeClock",
            "componenttest.NewNopHost",
            "conn.ConsumeTraces",
            "connectortest.NewNopSettings",
            "consumertest.NewNop",
            "context.Background",
            "d.Exemplars",
            "d.Exemplars.Len",
            "defaultUnit.String",
            "delete",
            "dp.At",
            "dp.At.Attributes",
            "dp.At.Attributes.AsRaw",
            "dp.Attributes",
            "dp.Attributes.Range",
            "dp.BucketCounts",
            "dp.BucketCounts.At",
            "dp.BucketCounts.Len",
            "dp.Count",
            "dp.Exemplars",
            "dp.Exemplars.At",
            "dp.Exemplars.At.TraceID",
            "dp.Exemplars.Len",
            "dp.ExplicitBounds",
            "dp.ExplicitBounds.At",
            "dp.ExplicitBounds.Len",
            "dp.IntValue",
            "dp.Len",
            "dp.Positive",
            "dp.Positive.BucketCounts",
            "dp.Positive.BucketCounts.AsRaw",
            "dp.StartTimestamp",
            "dp.Sum",
            "dp.Timestamp",
            "dps.At",
            "dps.At.StartTimestamp",
            "dps.At.Timestamp",
            "dps.Len",
            "durationsToUnits",
            "e.Attributes",
            "e.Attributes.PutStr",
            "e.SetName",
            "e.wg.Done",
            "eventsConfig",
            "exemplarsConfig",
            "factory.CreateDefaultConfig",
            "factory.CreateTracesToMetrics",
            "featuregate.GlobalRegistry",
            "featuregate.GlobalRegistry.Set",
            "float64",
            "fmt.Errorf",
            "fmt.Sprintf",
            "hist.AggregationTemporality",
            "hist.DataPoints",
            "histogramConfig",
            "ilm.At",
            "ilm.At.Metrics",
            "ilm.At.Scope",
            "ilm.At.Scope.Name",
            "ilm.Len",
            "ils.Spans",
            "ils.Spans.AppendEmpty",
            "initHistogramMetrics",
            "initServiceSpans",
            "initSpan",
            "input.DataPointCount",
            "input.ResourceMetrics",
            "input.ResourceMetrics.At",
            "input.ResourceMetrics.Len",
            "int64",
            "ism.At",
            "ism.At.Metrics",
            "ism.Len",
            "legacyMetricNamesFeatureGate.ID",
            "legacyMetricNamesFeatureGate.IsEnabled",
            "len",
            "m.At",
            "m.Len",
            "m.ResourceMetrics",
            "m.ResourceMetrics.At",
            "m.ResourceMetrics.Len",
            "make",
            "mcon.AllMetrics",
            "mcon.Reset",
            "metadata.NewIncomingContext",
            "metric.ExponentialHistogram",
            "metric.ExponentialHistogram.DataPoints",
            "metric.Histogram",
            "metric.Histogram.DataPoints",
            "metric.Name",
            "metric.Sum",
            "metric.Sum.AggregationTemporality",
            "metric.Sum.DataPoints",
            "metric.Sum.DataPoints.At",
            "metric.Sum.DataPoints.At.Attributes",
            "metric.Sum.DataPoints.Len",
            "metric.Sum.IsMonotonic",
            "metric.Type",
            "metric.Unit",
            "metrics.Key",
            "metrics.NewExplicitHistogramMetrics",
            "metrics.NewExponentialHistogramMetrics",
            "metrics.ResourceMetrics",
            "metrics.ResourceMetrics.At",
            "metrics.ResourceMetrics.Len",
            "mockClock.Advance",
            "new",
            "newAlwaysIncreasingClock",
            "newConnector",
            "newConnectorImp",
            "now.Add",
            "observedLogs.All",
            "observer.New",
            "p.ConsumeTraces",
            "p.Shutdown",
            "p.Start",
            "p.buildMetrics",
            "p.exportMetrics",
            "p.metricKeyToDimensions.Len",
            "p.resourceMetrics.Len",
            "pcommon.NewMap",
            "pcommon.NewTimestampFromTime",
            "pcommon.NewValueBool",
            "pcommon.NewValueDouble",
            "pcommon.NewValueEmpty",
            "pcommon.NewValueInt",
            "pcommon.NewValueMap",
            "pcommon.NewValueSlice",
            "pcommon.NewValueStr",
            "pcommon.SpanID",
            "pcommon.TraceID",
            "ptrace.NewSpan",
            "ptrace.NewTraces",
            "require.Equal",
            "require.Eventually",
            "require.GreaterOrEqual",
            "require.NoError",
            "require.NotEmpty",
            "require.True",
            "resAttr.FromRaw",
            "rm.Resource",
            "rm.Resource.Attributes",
            "rm.Resource.Attributes.Get",
            "rm.ScopeMetrics",
            "s.Attributes",
            "s.Attributes.PutBool",
            "s.Attributes.PutDouble",
            "s.Attributes.PutEmpty",
            "s.Attributes.PutEmptyMap",
            "s.Attributes.PutEmptySlice",
            "s.Attributes.PutInt",
            "s.Attributes.PutStr",
            "s.Events",
            "s.Events.AppendEmpty",
            "s.SetEndTimestamp",
            "s.SetKind",
            "s.SetName",
            "s.SetSpanID",
            "s.SetStartTimestamp",
            "s.SetTraceID",
            "s.Status",
            "s.Status.SetCode",
            "serviceATrace1.ResourceSpans",
            "serviceATrace1.ResourceSpans.AppendEmpty",
            "serviceATrace2.ResourceSpans",
            "serviceATrace2.ResourceSpans.AppendEmpty",
            "serviceBTrace1.ResourceSpans",
            "serviceBTrace1.ResourceSpans.AppendEmpty",
            "serviceName.Str",
            "smc.Shutdown",
            "smc.Start",
            "span.SetEndTimestamp",
            "span.SetStartTimestamp",
            "span0.Attributes",
            "span0.Attributes.FromRaw",
            "span0.SetName",
            "span1.SetName",
            "spans.Resource",
            "spans.Resource.Attributes",
            "spans.Resource.Attributes.PutStr",
            "spans.ScopeSpans",
            "spans.ScopeSpans.AppendEmpty",
            "stringp",
            "t.Fail",
            "t.Fatalf",
            "t.Parallel",
            "t.Run",
            "tc.verifier",
            "time.Duration",
            "time.Now",
            "time.Sleep",
            "traces.ResourceSpans",
            "traces.ResourceSpans.AppendEmpty",
            "traces.ResourceSpans.At",
            "traces.ResourceSpans.At.Resource",
            "traces.ResourceSpans.At.Resource.Attributes",
            "traces.ResourceSpans.At.Resource.Attributes.PutStr",
            "traces.ResourceSpans.Len",
            "traces0.ResourceSpans",
            "traces0.ResourceSpans.AppendEmpty",
            "traces1.ResourceSpans",
            "traces1.ResourceSpans.AppendEmpty",
            "tt.verifyTimestamps",
            "uint64",
            "unitDivider",
            "unrelatedTraces.ResourceSpans",
            "unrelatedTraces.ResourceSpans.AppendEmpty",
            "v.Str",
            "val.AsString",
            "verifyAndCollectCommonTimestamps",
            "verifyConsumeMetricsInput",
            "verifyExplicitHistogramDataPoints",
            "verifyExponentialHistogramDataPoints",
            "verifyMetricLabels",
            "verifyMultipleCumulativeConsumptions",
            "wg.Add",
            "wg.Done",
            "wg.Wait",
            "zap.New",
            "zap.NewNop",
            "zaptest.NewLogger"
          ]
        },
        "id": 6,
        "mol": "H₂(CmPo)Md₂(InPa₂)",
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/connector_test.go",
        "pid": 0,
        "risk": 6,
        "sha": "b70b45388dd99ddd4090675088f267d37b1a5faf94b42da1361c4944d390fe61",
        "sid": 10765515248,
        "size": 62790,
        "supp": [
          {
            "by": [
              {
                "id": "tree-sitter",
                "spans": [
                  [
                    109,
                    103
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/lang/source/declaration::go-constant-only-file",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports google.golang.org/grpc/metadata",
            "id": "metadata/import/go/google/golang/org/grpc/metadata::google/golang/org/grpc/metadata",
            "spans": [
              [
                889,
                31
              ]
            ]
          },
          {
            "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.Fatal or t.Fatalf",
            "id": "metadata/package/testing/harness/unit::go-t-fatal-call",
            "spans": [
              [
                55069,
                8
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "Imports gRPC-Go package or subpackage",
            "id": "micro-behaviors/communications/grpc::grpc-go-import",
            "mbc": "C0002",
            "spans": [
              [
                889,
                31
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 3,
            "desc": "Go goroutine launch call",
            "id": "micro-behaviors/process/thread/create::go-goroutine-launch-call",
            "spans": [
              [
                22284,
                79
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "GitHub versioned source archive member",
            "id": "metadata/build/archive::github-versioned-source-archive-member"
          },
          {
            "conf": 0.9,
            "crit": 2,
            "desc": "Decoded unicode-escape content",
            "id": "metadata/encoded-payload/unicode-escape",
            "spans": [
              [
                17516,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports context",
            "id": "metadata/import/go/context::context",
            "spans": [
              [
                119,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports fmt",
            "id": "metadata/import/go/fmt::fmt",
            "spans": [
              [
                130,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/jonboulle/clockwork",
            "id": "metadata/import/go/github/com/jonboulle/clockwork::github/com/jonboulle/clockwork",
            "spans": [
              [
                165,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/lightstep/go-expohisto/structure",
            "id": "metadata/import/go/github/com/lightstep/go-expohisto/structure::github/com/lightstep/go-expohisto/structure",
            "spans": [
              [
                199,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics",
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics::github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics",
            "spans": [
              [
                925,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil",
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil::github/com/open-telemetry/opentelemetry-collector-contrib/internal/pdatautil",
            "spans": [
              [
                1034,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/stretchr/testify/assert",
            "id": "metadata/import/go/github/com/stretchr/testify/assert::github/com/stretchr/testify/assert",
            "spans": [
              [
                246,
                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": [
              [
                284,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/component/componenttest",
            "id": "metadata/import/go/go/opentelemetry/io/collector/component/componenttest::go/opentelemetry/io/collector/component/componenttest",
            "spans": [
              [
                323,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/connector/connectortest",
            "id": "metadata/import/go/go/opentelemetry/io/collector/connector/connectortest::go/opentelemetry/io/collector/connector/connectortest",
            "spans": [
              [
                380,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/consumer/consumertest",
            "id": "metadata/import/go/go/opentelemetry/io/collector/consumer/consumertest::go/opentelemetry/io/collector/consumer/consumertest",
            "spans": [
              [
                479,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/consumer",
            "id": "metadata/import/go/go/opentelemetry/io/collector/consumer::go/opentelemetry/io/collector/consumer",
            "spans": [
              [
                437,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/featuregate",
            "id": "metadata/import/go/go/opentelemetry/io/collector/featuregate::go/opentelemetry/io/collector/featuregate",
            "spans": [
              [
                534,
                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": [
              [
                579,
                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": [
              [
                626,
                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": [
              [
                673,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/semconv/v1.27.0 as conventions",
            "id": "metadata/import/go/go/opentelemetry/io/collector/semconv/v1/27/0::conventions",
            "spans": [
              [
                731,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.uber.org/zap/zapcore",
            "id": "metadata/import/go/go/uber/org/zap/zapcore::go/uber/org/zap/zapcore",
            "spans": [
              [
                799,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.uber.org/zap/zaptest/observer",
            "id": "metadata/import/go/go/uber/org/zap/zaptest/observer::go/uber/org/zap/zaptest/observer",
            "spans": [
              [
                853,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.uber.org/zap/zaptest",
            "id": "metadata/import/go/go/uber/org/zap/zaptest::go/uber/org/zap/zaptest",
            "spans": [
              [
                826,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.uber.org/zap",
            "id": "metadata/import/go/go/uber/org/zap::go/uber/org/zap",
            "spans": [
              [
                780,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports sync",
            "id": "metadata/import/go/sync::sync",
            "spans": [
              [
                137,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports testing",
            "id": "metadata/import/go/testing::testing",
            "spans": [
              [
                145,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "id": "metadata/import/go/time::time",
            "spans": [
              [
                156,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 2,
            "desc": "Contains common English function words",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english",
            "spans": [
              [
                2339,
                0
              ]
            ],
            "uses": [
              50,
              51,
              52,
              53,
              54,
              55,
              56
            ]
          },
          {
            "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.75,
            "crit": 2,
            "desc": "Go test t.Fatal method",
            "id": "metadata/package/testing/harness/unit::go-t-fatal",
            "spans": [
              [
                17093,
                0
              ],
              [
                55069,
                0
              ]
            ],
            "uses": [
              2,
              39
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "Go testing package",
            "id": "metadata/package/testing/harness/unit::go-test",
            "spans": [
              [
                36026,
                0
              ]
            ],
            "uses": [
              34,
              38,
              39
            ]
          },
          {
            "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": [
              [
                36026,
                0
              ]
            ],
            "uses": [
              36,
              40
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "testing.B type",
            "id": "metadata/package/testing/harness/unit::go-testing-b",
            "spans": [
              [
                36026,
                0
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test uses a testing.T parameter",
            "id": "metadata/package/testing/harness/unit::go-testing-t",
            "spans": [
              [
                17093,
                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.9,
            "crit": 2,
            "desc": "For/foreach loop over a collection",
            "id": "micro-behaviors/data/control-flow/loop/collection::record-loop-header",
            "spans": [
              [
                5120,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Launches a Go goroutine",
            "id": "micro-behaviors/process/thread/runtime::go-goroutine-statement",
            "spans": [
              [
                22281,
                0
              ]
            ]
          },
          {
            "conf": 0.75,
            "crit": 2,
            "desc": "Go time.Sleep delay call",
            "id": "micro-behaviors/time/sleep/interval::go-time-sleep",
            "spans": [
              [
                22081,
                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": [
              [
                40095,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "Data-transfer verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::data-transfer-verb-token",
            "spans": [
              [
                56564,
                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": [
              [
                2491,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                33343,
                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 \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                3579,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"that\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-3",
            "spans": [
              [
                1777,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"have\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-4",
            "spans": [
              [
                40043,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                2339,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                8648,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                4799,
                0
              ]
            ]
          }
        ],
        "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\n//go:generate mdatagen metadata.yaml\n\npackage spanmetricsconnector // import \"github.com/open-telemetry/opentelemetry-collecto"
          },
          {
            "col": 94,
            "line": 6,
            "ln": 210,
            "s": "trib/connector/spanmetricsconnector\"\n\nimport (\n\t\"context\"\n\t\"time\"\n\n\t\"github.com/jonboulle/clockwork\"\n\t\"go.opentelemetry.io/collector/component\"\n\t\"go.opentelemetry.io/collector/connector\"\n\t\"go.opentelemetry.io/collector/consumer\"\n\t\"go.opentelemetry.io/collector/featuregate\"\n\n\t\"github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata\"\n)\n\nconst (\n\tDefaultNamespace               = \"traces.span.metrics\"\n\tlegacyMetricNamesFeatureG"
          },
          {
            "col": 36,
            "line": 26,
            "ln": 776,
            "s": "eaturegate.Gate\n\nfunc init() {\n\t// TODO: Remove this feature gate when the legacy metric names are removed.\n\tlegacyMetricNamesFeatureGate = featureg"
          },
          {
            "col": 113,
            "line": 34,
            "ln": 1272,
            "s": "/33227\"),\n\t)\n}\n\n// NewFactory creates a factory for the spanmetrics connector.\nfunc NewFactory() connector.Factory {\n\treturn connector.NewFactory(\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "init",
              793
            ],
            [
              "NewFactory",
              1351
            ],
            [
              "createDefaultConfig",
              1565
            ],
            [
              "createTracesToMetricsConnector",
              1989
            ]
          ],
          "imp": [
            [
              "",
              "featuregate.GlobalRegistry.MustRegister"
            ],
            [
              "",
              "featuregate.GlobalRegistry"
            ],
            [
              "",
              "featuregate.WithRegisterDescription"
            ],
            [
              "",
              "featuregate.WithRegisterReferenceURL"
            ],
            [
              "",
              "connector.NewFactory"
            ],
            [
              "",
              "connector.WithTracesToMetrics"
            ],
            [
              "",
              "newConnector"
            ],
            [
              "",
              "clockwork.FromContext"
            ],
            [
              "",
              "context"
            ],
            [
              "",
              "time"
            ],
            [
              "",
              "github.com/jonboulle/clockwork"
            ],
            [
              "",
              "go.opentelemetry.io/collector/component"
            ],
            [
              "",
              "go.opentelemetry.io/collector/connector"
            ],
            [
              "",
              "go.opentelemetry.io/collector/consumer"
            ],
            [
              "",
              "go.opentelemetry.io/collector/featuregate"
            ],
            [
              "",
              "github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata"
            ]
          ],
          "mbr": [
            "c.metricsConsumer",
            "clockwork.FromContext",
            "connector.NewFactory",
            "connector.WithTracesToMetrics",
            "featuregate.GlobalRegistry",
            "featuregate.GlobalRegistry.MustRegister",
            "featuregate.StageAlpha",
            "featuregate.WithRegisterDescription",
            "featuregate.WithRegisterReferenceURL",
            "metadata.TracesToMetricsStability",
            "metadata.Type",
            "params.Logger",
            "time.Second"
          ],
          "metrics": {
            "ast": {
              "call_count": 8,
              "max_array_length": 2,
              "max_depth": 15,
              "max_member_depth": 3,
              "member_count": 13,
              "node_count": 395,
              "op.band": 1,
              "op.mul": 1,
              "op.ne": 1,
              "op_density.band": 0,
              "op_density.mul": 0,
              "op_density.ne": 0
            },
            "binary": {
              "peak_region_bytes": 2315,
              "peak_region_entropy": 5.01
            },
            "comments": {
              "chars": 383,
              "count": 7,
              "lines": 7,
              "to_code_ratio": 0.12,
              "todo_count": 1
            },
            "file": {
              "entropy": 4.94,
              "size": 2315
            },
            "functions": {
              "avg_length_lines": 8.5,
              "avg_name_length": 15.75,
              "avg_param_name_length": 6,
              "avg_params": 1,
              "code_ratio": 0.52,
              "count": 4,
              "density": 6.15,
              "high_entropy_names": 1,
              "length_stddev": 1.12,
              "max_length_lines": 10,
              "max_params": 4,
              "min_length_lines": 7,
              "no_params_count": 3
            },
            "identifiers": {
              "all_lowercase_ratio": 0.29,
              "avg_entropy": 2.83,
              "avg_length": 12.31,
              "count": 81,
              "high_entropy_count": 14,
              "high_entropy_ratio": 0.25,
              "length_stddev": 8.05,
              "max_length": 31,
              "min_length": 1,
              "reuse_ratio": 0.68,
              "sequential_names": 1,
              "single_char_count": 1,
              "single_char_ratio": 0.02,
              "unique": 55
            },
            "imports": {
              "count": 8,
              "stdlib_count": 2,
              "stdlib_ratio": 0.25,
              "third_party_count": 6,
              "third_party_ratio": 0.75
            },
            "source": {
              "function_count": 4
            },
            "strings": {
              "avg_entropy": 3.56,
              "avg_length": 40.23,
              "bytes": 523,
              "count": 13,
              "entropy_stddev": 0.6,
              "max_length": 106,
              "url_count": 7
            },
            "text": {
              "avg_line_length": 34.62,
              "char_entropy": 4.94,
              "digit_ratio": 0,
              "empty_line_ratio": 0.17,
              "identifier_density": 1.25,
              "identifiers_to_functions_ratio": 13.75,
              "import_density": 12.31,
              "imports_to_functions_ratio": 2,
              "last_line_length": 1,
              "line_length_stddev": 37.04,
              "lines": 65,
              "long_token_count": 2,
              "max_line_length": 164,
              "max_whitespace_run": 16,
              "normalized_function_count": 0.5,
              "normalized_import_count": 0.99,
              "normalized_string_count": 1.61,
              "normalized_unique_identifiers": 9.13,
              "repeated_char_sequences": 3,
              "space_count": 160,
              "string_density": 0.2,
              "strings_to_functions_ratio": 3.25,
              "suspicious_identifier_ratio": 0.02,
              "tab_count": 50,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.11,
              "unique_chars": 69,
              "whitespace_ratio": 0.12
            }
          },
          "tgt": [
            "clockwork.FromContext",
            "connector.NewFactory",
            "connector.WithTracesToMetrics",
            "featuregate.GlobalRegistry",
            "featuregate.GlobalRegistry.MustRegister",
            "featuregate.WithRegisterDescription",
            "featuregate.WithRegisterReferenceURL",
            "newConnector"
          ]
        },
        "id": 7,
        "mol": "H(Po)Md₂(BkPa)",
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/factory.go",
        "pid": 0,
        "risk": 4,
        "sha": "110e13095bc6ccb13aecf140bfd5cae89d70b59c9e8d52c3925424a9d336506d",
        "sid": 5259941483,
        "size": 2315,
        "supp": [
          {
            "by": [
              {
                "id": "tree-sitter",
                "spans": [
                  [
                    248,
                    103
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/lang/source/declaration::go-constant-only-file",
            "kind": "unless"
          }
        ],
        "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.98,
            "crit": 3,
            "desc": "Defines Go package startup initialization",
            "id": "micro-behaviors/process/lifecycle/auto-exec::go-package-initializer"
          },
          {
            "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 context",
            "id": "metadata/import/go/context::context",
            "spans": [
              [
                258,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/jonboulle/clockwork",
            "id": "metadata/import/go/github/com/jonboulle/clockwork::github/com/jonboulle/clockwork",
            "spans": [
              [
                278,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata",
            "id": "metadata/import/go/github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata::github/com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metadata",
            "spans": [
              [
                486,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/component",
            "id": "metadata/import/go/go/opentelemetry/io/collector/component::go/opentelemetry/io/collector/component",
            "spans": [
              [
                312,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/connector",
            "id": "metadata/import/go/go/opentelemetry/io/collector/connector::go/opentelemetry/io/collector/connector",
            "spans": [
              [
                355,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/consumer",
            "id": "metadata/import/go/go/opentelemetry/io/collector/consumer::go/opentelemetry/io/collector/consumer",
            "spans": [
              [
                398,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/featuregate",
            "id": "metadata/import/go/go/opentelemetry/io/collector/featuregate::go/opentelemetry/io/collector/featuregate",
            "spans": [
              [
                440,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports time",
            "id": "metadata/import/go/time::time",
            "spans": [
              [
                269,
                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": [
              17,
              18,
              19
            ]
          },
          {
            "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.88,
            "crit": 1,
            "desc": "Directive or message vocabulary token",
            "id": "metadata/lang/natural/vocabulary/content-word::directive-or-message-word-token",
            "spans": [
              [
                811,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 1,
            "desc": "English edit-action verb token",
            "id": "metadata/lang/natural/vocabulary/content-word::english-edit-verb-token",
            "spans": [
              [
                817,
                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": [
              [
                1320,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"this\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-7",
            "spans": [
              [
                824,
                0
              ]
            ]
          }
        ],
        "type": "go"
      },
      {
        "depth": 1,
        "id": 8,
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/factory_test.go",
        "pid": 0,
        "risk": 0,
        "sha": "aaec0c75a41a242794b12bd6665467bf8c62b42f6aa534e5d5111f40ebee23aa",
        "sid": 5259942303,
        "size": 1990,
        "type": "go"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "// Code generated by mdatagen. DO NOT EDIT.\n\npackage spanmetricsconnector\n\nimport (\n\t\"context\"\n\t\"testing\"\n\n\t\"github.com/stretchr/testify/require\"\n\t\"go.opentelemetry.io/collector/component\"\n\t\"go.opentelemetry.io/collector/component/componenttest\"\n\t\"go.opentelemetry.io/collector/confmap/confmaptest\"\n\t\"go.opentelemetry.io/collector/connector\"\n\t\"go.opentelemetry.io/collector/connector/connectortest\"\n\t\"go.opentelemetry.io/collector/consumer\"\n\t\"go.opentelemetry.io/collector/consumer/consumertest\"\n\t\"go.opentelemetry.io/collector/pipeline\"\n)\n\nfunc TestComponentFactoryType(t *testing.T) {\n\trequire.Equal(t, \"spanmetrics\", NewFactory().Type().String())\n}\n\nfunc TestComponentConfigSt"
          },
          {
            "col": 12,
            "line": 50,
            "ln": 1571,
            "s": "Error(t, sub.Unmarshal(\u0026cfg))\n\n\tfor _, tt := range tests {\n\t\tt.Run(tt.name+\"-shutdown\", func(t *tes"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "TestComponentFactoryType",
              541
            ],
            [
              "TestComponentConfigStruct",
              653
            ],
            [
              "TestComponentLifecycle",
              792
            ]
          ],
          "imp": [
            [
              "",
              "require.Equal"
            ],
            [
              "",
              "NewFactory.Type.String"
            ],
            [
              "",
              "NewFactory.Type"
            ],
            [
              "",
              "NewFactory"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "componenttest.CheckConfigStruct"
            ],
            [
              "",
              "NewFactory.CreateDefaultConfig"
            ],
            [
              "",
              "NewFactory"
            ],
            [
              "",
              "NewFactory"
            ],
            [
              "",
              "connector.NewMetricsRouter"
            ],
            [
              "",
              "pipeline.NewID"
            ],
            [
              "",
              "consumertest.NewNop"
            ],
            [
              "",
              "factory.CreateTracesToMetrics"
            ],
            [
              "",
              "confmaptest.LoadConf"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "factory.CreateDefaultConfig"
            ],
            [
              "",
              "cm.Sub"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "sub.Unmarshal"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "tt.createFn"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "connectortest.NewNopSettings"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "c.Shutdown"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "tt.createFn"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "connectortest.NewNopSettings"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "componenttest.NewNopHost"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "firstConnector.Start"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "firstConnector.Shutdown"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "tt.createFn"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "connectortest.NewNopSettings"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "secondConnector.Start"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "require.NoError"
            ],
            [
              "",
              "secondConnector.Shutdown"
            ],
            [
              "",
              "context.Background"
            ],
            [
              "",
              "context"
            ],
            [
              "",
              "testing"
            ],
            [
              "",
              "github.com/stretchr/testify/require"
            ],
            [
              "",
              "go.opentelemetry.io/collector/component"
            ],
            [
              "",
              "go.opentelemetry.io/collector/component/componenttest"
            ],
            [
              "",
              "go.opentelemetry.io/collector/confmap/confmaptest"
            ],
            [
              "",
              "go.opentelemetry.io/collector/connector"
            ],
            [
              "",
              "go.opentelemetry.io/collector/connector/connectortest"
            ],
            [
              "",
              "go.opentelemetry.io/collector/consumer"
            ],
            [
              "",
              "go.opentelemetry.io/collector/consumer/consumertest"
            ],
            [
              "",
              "go.opentelemetry.io/collector/pipeline"
            ]
          ],
          "mbr": [
            "NewFactory.CreateDefaultConfig",
            "NewFactory.Type",
            "NewFactory.Type.String",
            "c.Shutdown",
            "cm.Sub",
            "componenttest.CheckConfigStruct",
            "componenttest.NewNopHost",
            "confmaptest.LoadConf",
            "connector.NewMetricsRouter",
            "connectortest.NewNopSettings",
            "consumertest.NewNop",
            "context.Background",
            "factory.CreateDefaultConfig",
            "factory.CreateTracesToMetrics",
            "firstConnector.Shutdown",
            "firstConnector.Start",
            "pipeline.NewID",
            "pipeline.SignalMetrics",
            "require.Equal",
            "require.NoError",
            "secondConnector.Shutdown",
            "secondConnector.Start",
            "sub.Unmarshal",
            "t.Run",
            "tt.createFn",
            "tt.name"
          ],
          "metrics": {
            "ast": {
              "call_count": 51,
              "max_array_length": 2,
              "max_concat_chain": 2,
              "max_depth": 26,
              "max_member_depth": 3,
              "member_count": 26,
              "node_count": 878,
              "op.add": 2,
              "op.band": 1,
              "op_density.add": 0,
              "op_density.band": 0
            },
            "binary": {
              "peak_region_bytes": 2524,
              "peak_region_entropy": 4.89
            },
            "comments": {
              "chars": 41,
              "count": 1,
              "lines": 1,
              "to_code_ratio": 0.01
            },
            "file": {
              "entropy": 4.87,
              "size": 2524
            },
            "functions": {
              "anonymous": 3,
              "avg_length_lines": 12.17,
              "avg_name_length": 23.67,
              "avg_nesting_depth": 0.5,
              "avg_param_name_length": 1.75,
              "avg_params": 1.33,
              "code_ratio": 0.71,
              "count": 3,
              "density": 8.33,
              "high_entropy_names": 3,
              "length_stddev": 15,
              "max_length_lines": 45,
              "max_nesting_depth": 1,
              "max_params": 3,
              "min_length_lines": 3,
              "nested": 1,
              "single_char_params": 5
            },
            "identifiers": {
              "all_lowercase_ratio": 0.46,
              "all_uppercase_ratio": 0.05,
              "avg_entropy": 2.35,
              "avg_length": 8.41,
              "count": 204,
              "high_entropy_count": 6,
              "high_entropy_ratio": 0.1,
              "length_stddev": 5.84,
              "max_length": 25,
              "min_length": 1,
              "reuse_ratio": 0.31,
              "sequential_names": 3,
              "single_char_count": 4,
              "single_char_ratio": 0.06,
              "underscore_prefix_count": 1,
              "unique": 63
            },
            "imports": {
              "count": 11,
              "dynamic": 1,
              "stdlib_count": 2,
              "stdlib_ratio": 0.18,
              "third_party_count": 9,
              "third_party_ratio": 0.82
            },
            "source": {
              "function_count": 3
            },
            "strings": {
              "avg_entropy": 3.31,
              "avg_length": 28.35,
              "bytes": 482,
              "count": 17,
              "entropy_stddev": 0.43,
              "max_length": 53,
              "url_count": 9
            },
            "text": {
              "anonymous_function_ratio": 0.5,
              "avg_line_length": 34.06,
              "char_entropy": 4.87,
              "dynamic_import_ratio": 0.09,
              "empty_line_ratio": 0.14,
              "identifier_density": 2.83,
              "identifiers_to_functions_ratio": 10.5,
              "import_density": 15.28,
              "imports_to_functions_ratio": 1.83,
              "last_line_length": 1,
              "line_length_stddev": 31.77,
              "lines": 72,
              "max_line_length": 137,
              "max_whitespace_run": 5,
              "normalized_function_count": 0.71,
              "normalized_import_count": 1.3,
              "normalized_string_count": 2,
              "normalized_unique_identifiers": 10.21,
              "space_count": 109,
              "string_density": 0.24,
              "strings_to_functions_ratio": 2.83,
              "suspicious_identifier_ratio": 0.05,
              "tab_count": 100,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.09,
              "unique_chars": 58,
              "whitespace_ratio": 0.11
            }
          },
          "tgt": [
            "NewFactory",
            "NewFactory.CreateDefaultConfig",
            "NewFactory.Type",
            "NewFactory.Type.String",
            "c.Shutdown",
            "cm.Sub",
            "componenttest.CheckConfigStruct",
            "componenttest.NewNopHost",
            "confmaptest.LoadConf",
            "connector.NewMetricsRouter",
            "connectortest.NewNopSettings",
            "consumertest.NewNop",
            "context.Background",
            "factory.CreateDefaultConfig",
            "factory.CreateTracesToMetrics",
            "firstConnector.Shutdown",
            "firstConnector.Start",
            "pipeline.NewID",
            "require.Equal",
            "require.NoError",
            "secondConnector.Shutdown",
            "secondConnector.Start",
            "sub.Unmarshal",
            "t.Run",
            "tt.createFn"
          ]
        },
        "id": 9,
        "mol": "Md(Bk)",
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/generated_component_test.go",
        "pid": 0,
        "risk": 3,
        "sha": "f9188c32a954dd26d3a3c0aa290128f1bee0c87b3d4a55d1e281f90616c49058",
        "sid": 10765515255,
        "size": 2524,
        "traits": [
          {
            "conf": 0.97,
            "crit": 3,
            "desc": "Go generated-code header comment",
            "id": "metadata/build/artifact::go-generated-source-header",
            "spans": [
              [
                0,
                43
              ]
            ]
          },
          {
            "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 context",
            "id": "metadata/import/go/context::context",
            "spans": [
              [
                85,
                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": [
              [
                108,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/component/componenttest",
            "id": "metadata/import/go/go/opentelemetry/io/collector/component/componenttest::go/opentelemetry/io/collector/component/componenttest",
            "spans": [
              [
                190,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/component",
            "id": "metadata/import/go/go/opentelemetry/io/collector/component::go/opentelemetry/io/collector/component",
            "spans": [
              [
                147,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/confmap/confmaptest",
            "id": "metadata/import/go/go/opentelemetry/io/collector/confmap/confmaptest::go/opentelemetry/io/collector/confmap/confmaptest",
            "spans": [
              [
                247,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/connector/connectortest",
            "id": "metadata/import/go/go/opentelemetry/io/collector/connector/connectortest::go/opentelemetry/io/collector/connector/connectortest",
            "spans": [
              [
                343,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/connector",
            "id": "metadata/import/go/go/opentelemetry/io/collector/connector::go/opentelemetry/io/collector/connector",
            "spans": [
              [
                300,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/consumer/consumertest",
            "id": "metadata/import/go/go/opentelemetry/io/collector/consumer/consumertest::go/opentelemetry/io/collector/consumer/consumertest",
            "spans": [
              [
                442,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/consumer",
            "id": "metadata/import/go/go/opentelemetry/io/collector/consumer::go/opentelemetry/io/collector/consumer",
            "spans": [
              [
                400,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports go.opentelemetry.io/collector/pipeline",
            "id": "metadata/import/go/go/opentelemetry/io/collector/pipeline::go/opentelemetry/io/collector/pipeline",
            "spans": [
              [
                497,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports testing",
            "id": "metadata/import/go/testing::testing",
            "spans": [
              [
                96,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Generated code do-not-edit warning",
            "id": "metadata/lang/generated::generated-code-do-not-edit-text",
            "spans": [
              [
                3,
                0
              ]
            ]
          },
          {
            "conf": 0.85,
            "crit": 2,
            "desc": "Contains generated-by or generated-from wording",
            "id": "metadata/lang/natural/phrasing/documentation::generated-by-wording",
            "spans": [
              [
                8,
                0
              ]
            ]
          },
          {
            "conf": 0.88,
            "crit": 2,
            "desc": "Source has at most two comments",
            "id": "metadata/lang/source/comment::source-at-most-two-comments"
          },
          {
            "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": [
              [
                573,
                0
              ]
            ],
            "uses": [
              17,
              20
            ]
          },
          {
            "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": [
              [
                573,
                0
              ]
            ],
            "uses": [
              18,
              21
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test uses a testing.T parameter",
            "id": "metadata/package/testing/harness/unit::go-testing-t",
            "spans": [
              [
                573,
                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.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                1603,
                0
              ]
            ]
          }
        ],
        "type": "go"
      },
      {
        "depth": 1,
        "id": 10,
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/generated_package_test.go",
        "pid": 0,
        "risk": 0,
        "sha": "ae26d2d2baff23cdfdb5db1bc2f0e474f9ba9a920fc802a1d61cd83e4b0d1c0b",
        "sid": 1869088535,
        "size": 179,
        "type": "go"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=\ngithub.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=\ngithub.com/davecgh/go-spew v1.1.0/go"
          }
        ],
        "depth": 1,
        "facts": {
          "metrics": {
            "binary": {
              "peak_region_bytes": 15002,
              "peak_region_entropy": 5.81
            },
            "file": {
              "entropy": 5.81,
              "size": 15002
            }
          }
        },
        "id": 11,
        "mol": "Md(Pa)",
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/go.sum",
        "pid": 0,
        "refs": [
          {
            "kind": "undefined",
            "off": 0,
            "to": "pkg:golang/github.com/cespare/xxhash/v2@v2.3.0"
          },
          {
            "kind": "undefined",
            "off": 84,
            "to": "pkg:golang/github.com/cespare/xxhash/v2@v2.3.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/go-logr/logr@v1.2.2"
          },
          {
            "kind": "undefined",
            "off": 521,
            "to": "pkg:golang/github.com/go-logr/logr@v1.4.2"
          },
          {
            "kind": "undefined",
            "off": 600,
            "to": "pkg:golang/github.com/go-logr/logr@v1.4.2"
          },
          {
            "kind": "undefined",
            "off": 686,
            "to": "pkg:golang/github.com/go-logr/stdr@v1.2.2"
          },
          {
            "kind": "undefined",
            "off": 765,
            "to": "pkg:golang/github.com/go-logr/stdr@v1.2.2"
          },
          {
            "kind": "undefined",
            "off": 851,
            "to": "pkg:golang/github.com/go-viper/mapstructure/v2@v2.2.1"
          },
          {
            "kind": "undefined",
            "off": 942,
            "to": "pkg:golang/github.com/go-viper/mapstructure/v2@v2.2.1"
          },
          {
            "kind": "undefined",
            "off": 1040,
            "to": "pkg:golang/github.com/gogo/protobuf@v1.3.2"
          },
          {
            "kind": "undefined",
            "off": 1120,
            "to": "pkg:golang/github.com/gogo/protobuf@v1.3.2"
          },
          {
            "kind": "undefined",
            "off": 1207,
            "to": "pkg:golang/github.com/golang/protobuf@v1.5.4"
          },
          {
            "kind": "undefined",
            "off": 1289,
            "to": "pkg:golang/github.com/golang/protobuf@v1.5.4"
          },
          {
            "kind": "undefined",
            "off": 1378,
            "to": "pkg:golang/github.com/google/go-cmp@v0.6.0"
          },
          {
            "kind": "undefined",
            "off": 1458,
            "to": "pkg:golang/github.com/google/go-cmp@v0.6.0"
          },
          {
            "kind": "undefined",
            "off": 1545,
            "to": "pkg:golang/github.com/google/gofuzz@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 1632,
            "to": "pkg:golang/github.com/google/uuid@v1.6.0"
          },
          {
            "kind": "undefined",
            "off": 1710,
            "to": "pkg:golang/github.com/google/uuid@v1.6.0"
          },
          {
            "kind": "undefined",
            "off": 1795,
            "to": "pkg:golang/github.com/hashicorp/go-version@v1.7.0"
          },
          {
            "kind": "undefined",
            "off": 1882,
            "to": "pkg:golang/github.com/hashicorp/go-version@v1.7.0"
          },
          {
            "kind": "undefined",
            "off": 1976,
            "to": "pkg:golang/github.com/hashicorp/golang-lru/v2@v2.0.7"
          },
          {
            "kind": "undefined",
            "off": 2066,
            "to": "pkg:golang/github.com/hashicorp/golang-lru/v2@v2.0.7"
          },
          {
            "kind": "undefined",
            "off": 2163,
            "to": "pkg:golang/github.com/jonboulle/clockwork@v0.4.0"
          },
          {
            "kind": "undefined",
            "off": 2249,
            "to": "pkg:golang/github.com/jonboulle/clockwork@v0.4.0"
          },
          {
            "kind": "undefined",
            "off": 2342,
            "to": "pkg:golang/github.com/json-iterator/go@v1.1.12"
          },
          {
            "kind": "undefined",
            "off": 2426,
            "to": "pkg:golang/github.com/json-iterator/go@v1.1.12"
          },
          {
            "kind": "undefined",
            "off": 2517,
            "to": "pkg:golang/github.com/kisielk/errcheck@v1.5.0"
          },
          {
            "kind": "undefined",
            "off": 2607,
            "to": "pkg:golang/github.com/kisielk/gotool@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 2695,
            "to": "pkg:golang/github.com/knadh/koanf/maps@v0.1.1"
          },
          {
            "kind": "undefined",
            "off": 2778,
            "to": "pkg:golang/github.com/knadh/koanf/maps@v0.1.1"
          },
          {
            "kind": "undefined",
            "off": 2868,
            "to": "pkg:golang/github.com/knadh/koanf/providers/confmap@v0.1.0"
          },
          {
            "kind": "undefined",
            "off": 2964,
            "to": "pkg:golang/github.com/knadh/koanf/providers/confmap@v0.1.0"
          },
          {
            "kind": "undefined",
            "off": 3067,
            "to": "pkg:golang/github.com/knadh/koanf/v2@v2.1.2"
          },
          {
            "kind": "undefined",
            "off": 3148,
            "to": "pkg:golang/github.com/knadh/koanf/v2@v2.1.2"
          },
          {
            "kind": "undefined",
            "off": 3236,
            "to": "pkg:golang/github.com/kr/pretty@v0.3.1"
          },
          {
            "kind": "undefined",
            "off": 3312,
            "to": "pkg:golang/github.com/kr/pretty@v0.3.1"
          },
          {
            "kind": "undefined",
            "off": 3395,
            "to": "pkg:golang/github.com/kr/text@v0.2.0"
          },
          {
            "kind": "undefined",
            "off": 3469,
            "to": "pkg:golang/github.com/kr/text@v0.2.0"
          },
          {
            "kind": "undefined",
            "off": 3550,
            "to": "pkg:golang/github.com/lightstep/go-expohisto@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 3639,
            "to": "pkg:golang/github.com/lightstep/go-expohisto@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 3735,
            "to": "pkg:golang/github.com/mitchellh/copystructure@v1.2.0"
          },
          {
            "kind": "undefined",
            "off": 3825,
            "to": "pkg:golang/github.com/mitchellh/copystructure@v1.2.0"
          },
          {
            "kind": "undefined",
            "off": 3922,
            "to": "pkg:golang/github.com/mitchellh/reflectwalk@v1.0.2"
          },
          {
            "kind": "undefined",
            "off": 4010,
            "to": "pkg:golang/github.com/mitchellh/reflectwalk@v1.0.2"
          },
          {
            "kind": "undefined",
            "off": 4105,
            "to": "pkg:golang/github.com/modern-go/concurrent@v0.0.0-20180228061459-e0a39a4cb421"
          },
          {
            "kind": "undefined",
            "off": 4227,
            "to": "pkg:golang/github.com/modern-go/concurrent@v0.0.0-20180306012644-bacd9c7ef1dd"
          },
          {
            "kind": "undefined",
            "off": 4342,
            "to": "pkg:golang/github.com/modern-go/concurrent@v0.0.0-20180306012644-bacd9c7ef1dd"
          },
          {
            "kind": "undefined",
            "off": 4464,
            "to": "pkg:golang/github.com/modern-go/reflect2@v1.0.2"
          },
          {
            "kind": "undefined",
            "off": 4549,
            "to": "pkg:golang/github.com/modern-go/reflect2@v1.0.2"
          },
          {
            "kind": "undefined",
            "off": 4641,
            "to": "pkg:golang/github.com/pmezard/go-difflib@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 4726,
            "to": "pkg:golang/github.com/pmezard/go-difflib@v1.0.0"
          },
          {
            "kind": "undefined",
            "off": 4818,
            "to": "pkg:golang/github.com/rogpeppe/go-internal@v1.13.1"
          },
          {
            "kind": "undefined",
            "off": 4906,
            "to": "pkg:golang/github.com/rogpeppe/go-internal@v1.13.1"
          },
          {
            "kind": "undefined",
            "off": 5001,
            "to": "pkg:golang/github.com/stretchr/objx@v0.1.0"
          },
          {
            "kind": "undefined",
            "off": 5088,
            "to": "pkg:golang/github.com/stretchr/testify@v1.3.0"
          },
          {
            "kind": "undefined",
            "off": 5178,
            "to": "pkg:golang/github.com/stretchr/testify@v1.10.0"
          },
          {
            "kind": "undefined",
            "off": 5262,
            "to": "pkg:golang/github.com/stretchr/testify@v1.10.0"
          },
          {
            "kind": "undefined",
            "off": 5353,
            "to": "pkg:golang/github.com/yuin/goldmark@v1.1.27"
          },
          {
            "kind": "undefined",
            "off": 5441,
            "to": "pkg:golang/github.com/yuin/goldmark@v1.2.1"
          },
          {
            "kind": "undefined",
            "off": 5528,
            "to": "pkg:golang/go.opentelemetry.io/auto/sdk@v1.1.0"
          },
          {
            "kind": "undefined",
            "off": 5612,
            "to": "pkg:golang/go.opentelemetry.io/auto/sdk@v1.1.0"
          },
          {
            "kind": "undefined",
            "off": 5703,
            "to": "pkg:golang/go.opentelemetry.io/collector/component@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 5800,
            "to": "pkg:golang/go.opentelemetry.io/collector/component@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 5904,
            "to": "pkg:golang/go.opentelemetry.io/collector/component/componenttest@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 6015,
            "to": "pkg:golang/go.opentelemetry.io/collector/component/componenttest@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 6133,
            "to": "pkg:golang/go.opentelemetry.io/collector/config/configtelemetry@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 6243,
            "to": "pkg:golang/go.opentelemetry.io/collector/config/configtelemetry@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 6360,
            "to": "pkg:golang/go.opentelemetry.io/collector/confmap@v1.25.0"
          },
          {
            "kind": "undefined",
            "off": 6454,
            "to": "pkg:golang/go.opentelemetry.io/collector/confmap@v1.25.0"
          },
          {
            "kind": "undefined",
            "off": 6555,
            "to": "pkg:golang/go.opentelemetry.io/collector/connector@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 6652,
            "to": "pkg:golang/go.opentelemetry.io/collector/connector@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 6756,
            "to": "pkg:golang/go.opentelemetry.io/collector/connector/connectortest@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 6867,
            "to": "pkg:golang/go.opentelemetry.io/collector/connector/connectortest@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 6985,
            "to": "pkg:golang/go.opentelemetry.io/collector/connector/xconnector@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 7093,
            "to": "pkg:golang/go.opentelemetry.io/collector/connector/xconnector@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 7208,
            "to": "pkg:golang/go.opentelemetry.io/collector/consumer@v1.25.0"
          },
          {
            "kind": "undefined",
            "off": 7303,
            "to": "pkg:golang/go.opentelemetry.io/collector/consumer@v1.25.0"
          },
          {
            "kind": "undefined",
            "off": 7405,
            "to": "pkg:golang/go.opentelemetry.io/collector/consumer/consumertest@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 7514,
            "to": "pkg:golang/go.opentelemetry.io/collector/consumer/consumertest@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 7630,
            "to": "pkg:golang/go.opentelemetry.io/collector/consumer/xconsumer@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 7736,
            "to": "pkg:golang/go.opentelemetry.io/collector/consumer/xconsumer@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 7849,
            "to": "pkg:golang/go.opentelemetry.io/collector/featuregate@v1.25.0"
          },
          {
            "kind": "undefined",
            "off": 7947,
            "to": "pkg:golang/go.opentelemetry.io/collector/featuregate@v1.25.0"
          },
          {
            "kind": "undefined",
            "off": 8052,
            "to": "pkg:golang/go.opentelemetry.io/collector/internal/fanoutconsumer@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 8163,
            "to": "pkg:golang/go.opentelemetry.io/collector/internal/fanoutconsumer@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 8281,
            "to": "pkg:golang/go.opentelemetry.io/collector/pdata@v1.25.0"
          },
          {
            "kind": "undefined",
            "off": 8373,
            "to": "pkg:golang/go.opentelemetry.io/collector/pdata@v1.25.0"
          },
          {
            "kind": "undefined",
            "off": 8472,
            "to": "pkg:golang/go.opentelemetry.io/collector/pdata/pprofile@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 8574,
            "to": "pkg:golang/go.opentelemetry.io/collector/pdata/pprofile@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 8683,
            "to": "pkg:golang/go.opentelemetry.io/collector/pdata/testdata@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 8785,
            "to": "pkg:golang/go.opentelemetry.io/collector/pdata/testdata@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 8894,
            "to": "pkg:golang/go.opentelemetry.io/collector/pipeline@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 8990,
            "to": "pkg:golang/go.opentelemetry.io/collector/pipeline@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 9093,
            "to": "pkg:golang/go.opentelemetry.io/collector/pipeline/xpipeline@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 9199,
            "to": "pkg:golang/go.opentelemetry.io/collector/pipeline/xpipeline@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 9312,
            "to": "pkg:golang/go.opentelemetry.io/collector/semconv@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 9407,
            "to": "pkg:golang/go.opentelemetry.io/collector/semconv@v0.119.0"
          },
          {
            "kind": "undefined",
            "off": 9509,
            "to": "pkg:golang/go.opentelemetry.io/otel@v1.34.0"
          },
          {
            "kind": "undefined",
            "off": 9590,
            "to": "pkg:golang/go.opentelemetry.io/otel@v1.34.0"
          },
          {
            "kind": "undefined",
            "off": 9678,
            "to": "pkg:golang/go.opentelemetry.io/otel/metric@v1.34.0"
          },
          {
            "kind": "undefined",
            "off": 9766,
            "to": "pkg:golang/go.opentelemetry.io/otel/metric@v1.34.0"
          },
          {
            "kind": "undefined",
            "off": 9861,
            "to": "pkg:golang/go.opentelemetry.io/otel/sdk@v1.34.0"
          },
          {
            "kind": "undefined",
            "off": 9946,
            "to": "pkg:golang/go.opentelemetry.io/otel/sdk@v1.34.0"
          },
          {
            "kind": "undefined",
            "off": 10038,
            "to": "pkg:golang/go.opentelemetry.io/otel/sdk/metric@v1.34.0"
          },
          {
            "kind": "undefined",
            "off": 10130,
            "to": "pkg:golang/go.opentelemetry.io/otel/sdk/metric@v1.34.0"
          },
          {
            "kind": "undefined",
            "off": 10229,
            "to": "pkg:golang/go.opentelemetry.io/otel/trace@v1.34.0"
          },
          {
            "kind": "undefined",
            "off": 10316,
            "to": "pkg:golang/go.opentelemetry.io/otel/trace@v1.34.0"
          },
          {
            "kind": "undefined",
            "off": 10410,
            "to": "pkg:golang/go.uber.org/goleak@v1.3.0"
          },
          {
            "kind": "undefined",
            "off": 10484,
            "to": "pkg:golang/go.uber.org/goleak@v1.3.0"
          },
          {
            "kind": "undefined",
            "off": 10565,
            "to": "pkg:golang/go.uber.org/multierr@v1.11.0"
          },
          {
            "kind": "undefined",
            "off": 10642,
            "to": "pkg:golang/go.uber.org/multierr@v1.11.0"
          },
          {
            "kind": "undefined",
            "off": 10726,
            "to": "pkg:golang/go.uber.org/zap@v1.27.0"
          },
          {
            "kind": "undefined",
            "off": 10798,
            "to": "pkg:golang/go.uber.org/zap@v1.27.0"
          },
          {
            "kind": "undefined",
            "off": 10877,
            "to": "pkg:golang/golang.org/x/crypto@v0.0.0-20190308221718-c2843e01d9a2"
          },
          {
            "kind": "undefined",
            "off": 10987,
            "to": "pkg:golang/golang.org/x/crypto@v0.0.0-20191011191535-87dc89f01550"
          },
          {
            "kind": "undefined",
            "off": 11097,
            "to": "pkg:golang/golang.org/x/crypto@v0.0.0-20200622213623-75b288015ac9"
          },
          {
            "kind": "undefined",
            "off": 11207,
            "to": "pkg:golang/golang.org/x/mod@v0.2.0"
          },
          {
            "kind": "undefined",
            "off": 11286,
            "to": "pkg:golang/golang.org/x/mod@v0.3.0"
          },
          {
            "kind": "undefined",
            "off": 11365,
            "to": "pkg:golang/golang.org/x/net@v0.0.0-20190404232315-eb5bcb51f2a3"
          },
          {
            "kind": "undefined",
            "off": 11472,
            "to": "pkg:golang/golang.org/x/net@v0.0.0-20190620200207-3b0461eec859"
          },
          {
            "kind": "undefined",
            "off": 11579,
            "to": "pkg:golang/golang.org/x/net@v0.0.0-20200226121028-0de0cce0169b"
          },
          {
            "kind": "undefined",
            "off": 11686,
            "to": "pkg:golang/golang.org/x/net@v0.0.0-20201021035429-f5854403a974"
          },
          {
            "kind": "undefined",
            "off": 11793,
            "to": "pkg:golang/golang.org/x/net@v0.33.0"
          },
          {
            "kind": "undefined",
            "off": 11866,
            "to": "pkg:golang/golang.org/x/net@v0.33.0"
          },
          {
            "kind": "undefined",
            "off": 11946,
            "to": "pkg:golang/golang.org/x/sync@v0.0.0-20190423024810-112230192c58"
          },
          {
            "kind": "undefined",
            "off": 12054,
            "to": "pkg:golang/golang.org/x/sync@v0.0.0-20190911185100-cd5d95a43a6e"
          },
          {
            "kind": "undefined",
            "off": 12162,
            "to": "pkg:golang/golang.org/x/sync@v0.0.0-20201020160332-67f06af15bc9"
          },
          {
            "kind": "undefined",
            "off": 12270,
            "to": "pkg:golang/golang.org/x/sys@v0.0.0-20190215142949-d0b11bdaac8a"
          },
          {
            "kind": "undefined",
            "off": 12377,
            "to": "pkg:golang/golang.org/x/sys@v0.0.0-20190412213103-97732733099d"
          },
          {
            "kind": "undefined",
            "off": 12484,
            "to": "pkg:golang/golang.org/x/sys@v0.0.0-20200930185726-fdedc70b468f"
          },
          {
            "kind": "undefined",
            "off": 12591,
            "to": "pkg:golang/golang.org/x/sys@v0.29.0"
          },
          {
            "kind": "undefined",
            "off": 12664,
            "to": "pkg:golang/golang.org/x/sys@v0.29.0"
          },
          {
            "kind": "undefined",
            "off": 12744,
            "to": "pkg:golang/golang.org/x/text@v0.3.0"
          },
          {
            "kind": "undefined",
            "off": 12824,
            "to": "pkg:golang/golang.org/x/text@v0.3.3"
          },
          {
            "kind": "undefined",
            "off": 12904,
            "to": "pkg:golang/golang.org/x/text@v0.21.0"
          },
          {
            "kind": "undefined",
            "off": 12978,
            "to": "pkg:golang/golang.org/x/text@v0.21.0"
          },
          {
            "kind": "undefined",
            "off": 13059,
            "to": "pkg:golang/golang.org/x/tools@v0.0.0-20180917221912-90fa682c2a6e"
          },
          {
            "kind": "undefined",
            "off": 13168,
            "to": "pkg:golang/golang.org/x/tools@v0.0.0-20191119224855-298f0cb1881e"
          },
          {
            "kind": "undefined",
            "off": 13277,
            "to": "pkg:golang/golang.org/x/tools@v0.0.0-20200619180055-7c47624df98f"
          },
          {
            "kind": "undefined",
            "off": 13386,
            "to": "pkg:golang/golang.org/x/tools@v0.0.0-20210106214847-113979e3529a"
          },
          {
            "kind": "undefined",
            "off": 13495,
            "to": "pkg:golang/golang.org/x/xerrors@v0.0.0-20190717185122-a985d3407aa7"
          },
          {
            "kind": "undefined",
            "off": 13606,
            "to": "pkg:golang/golang.org/x/xerrors@v0.0.0-20191011141410-1b5146add898"
          },
          {
            "kind": "undefined",
            "off": 13717,
            "to": "pkg:golang/golang.org/x/xerrors@v0.0.0-20191204190536-9bdfabe68543"
          },
          {
            "kind": "undefined",
            "off": 13828,
            "to": "pkg:golang/golang.org/x/xerrors@v0.0.0-20200804184101-5ec99f83aff1"
          },
          {
            "kind": "undefined",
            "off": 13939,
            "to": "pkg:golang/google.golang.org/genproto/googleapis/rpc@v0.0.0-20241202173237-19429a94021a"
          },
          {
            "kind": "undefined",
            "off": 14064,
            "to": "pkg:golang/google.golang.org/genproto/googleapis/rpc@v0.0.0-20241202173237-19429a94021a"
          },
          {
            "kind": "undefined",
            "off": 14196,
            "to": "pkg:golang/google.golang.org/grpc@v1.70.0"
          },
          {
            "kind": "undefined",
            "off": 14275,
            "to": "pkg:golang/google.golang.org/grpc@v1.70.0"
          },
          {
            "kind": "undefined",
            "off": 14361,
            "to": "pkg:golang/google.golang.org/protobuf@v1.36.4"
          },
          {
            "kind": "undefined",
            "off": 14444,
            "to": "pkg:golang/google.golang.org/protobuf@v1.36.4"
          },
          {
            "kind": "undefined",
            "off": 14534,
            "to": "pkg:golang/gopkg.in/check.v1@v0.0.0-20161208181325-20d25e280405"
          },
          {
            "kind": "undefined",
            "off": 14642,
            "to": "pkg:golang/gopkg.in/check.v1@v1.0.0-20201130134442-10cb98267c6c"
          },
          {
            "kind": "undefined",
            "off": 14743,
            "to": "pkg:golang/gopkg.in/check.v1@v1.0.0-20201130134442-10cb98267c6c"
          },
          {
            "kind": "undefined",
            "off": 14851,
            "to": "pkg:golang/gopkg.in/yaml.v3@v3.0.1"
          },
          {
            "kind": "undefined",
            "off": 14923,
            "to": "pkg:golang/gopkg.in/yaml.v3@v3.0.1"
          }
        ],
        "risk": 1,
        "sha": "bf11f0a4f155f7bc1151231958678fcb83f55d3b73191af0a5f1a883f468cce3",
        "sid": 10765515250,
        "size": 15002,
        "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"
      },
      {
        "depth": 1,
        "id": 12,
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/internal/cache/cache.go",
        "pid": 0,
        "risk": 0,
        "sha": "d71f12e7995430adfdcebe3917c1ad43474195ea5e081aca0ef0b5be18cfca7c",
        "sid": 1935926888,
        "size": 2702,
        "type": "go"
      },
      {
        "analysis_gaps": [
          "flow-graph-limited",
          "flow-call-unavailable"
        ],
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "// Copyright The OpenTelemetry Authors\n// SPDX-License-Identifier: Apache-2.0\n\npackage cache\n\nimport (\n\t\"testing\"\n\n\t\"github.com/stretchr/testify/assert\"\n)\n\nfunc TestNewCache(t *testing.T) {\n\ttype args struct {\n\t\tsize int\n\t}\n\ttests := []struct {\n\t\tname    string\n\t\targs    args\n\t\twantErr bool\n\t}{\n\t\t{\n\t\t\tname: \"create a new Cache with length 10\",\n\t\t\targs: args{\n\t\t\t\tsize: 10,\n\t\t\t},\n\t\t\twantErr: false,\n\t\t},\n\t\t{\n\t\t\tname: \"create a n"
          },
          {
            "col": 14,
            "line": 37,
            "ln": 575,
            "s": "{\n\t\t\t\tsize: 0,\n\t\t\t},\n\t\t\twantErr: true,\n\t\t},\n\t}\n\tfor _, tt := range tests {\n\t\tt.Run(tt.name, func(t *testing.T) {\n\t\t\tt.Parallel()\n\t\t\t_, err := NewCa"
          },
          {
            "col": 17,
            "line": 57,
            "ln": 917,
            "s": "Cache[string, string](1)\n\tcache.Add(\"key0\", \"val_from_LRU\")\n\tcache.evictedItems[\"key1\"] = \"val_from"
          },
          {
            "col": 26,
            "line": 127,
            "ln": 2868,
            "s": "et(tt.key)\n\t\t\tif !assert.Equal(t, tt.wantValue, gotValue) {\n\t\t\t\tt.Errorf(\"Get() gotValue = %v, want %v\", gotValue, tt.wantValue)\n\t\t\t}\n\t\t\tif gotOk != tt.wantOk {\n\t\t\t\tt.Errorf(\"Get() gotOk = %v, want %v"
          },
          {
            "col": 21,
            "line": 144,
            "ln": 3272,
            "s": "hen there is no evicted item to remove\",\n\t\t\tlruCache: func() (*Cache[string, string], error) {\n\t\t\t\tret"
          },
          {
            "col": 3,
            "line": 196,
            "ln": 4553,
            "s": "{\n\t\t\tname: \"remove all the items from lru cache and the evicted items\",\n\t\t\tlruCache: func() (*Cache[string, string], error) {\n\t\t\t\tcache, err := New"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "TestNewCache",
              156
            ],
            [
              "TestCache_GetReviveEvicted",
              853
            ],
            [
              "TestCache_Get",
              1601
            ],
            [
              "TestCache_RemoveEvictedItems",
              3105
            ],
            [
              "TestCache_PurgeItems",
              3947
            ]
          ],
          "imp": [
            [
              "",
              "t.Run"
            ],
            [
              "",
              "t.Parallel"
            ],
            [
              "",
              "assert.Error"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "cache.Add"
            ],
            [
              "",
              "cache.Get"
            ],
            [
              "",
              "assert.True"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "cache.Get"
            ],
            [
              "",
              "assert.True"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "cache.RemoveEvictedItems"
            ],
            [
              "",
              "cache.Get"
            ],
            [
              "",
              "assert.False"
            ],
            [
              "",
              "cache.Get"
            ],
            [
              "",
              "assert.True"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "cache.Add"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "t.Parallel"
            ],
            [
              "",
              "tt.lruCache"
            ],
            [
              "",
              "c.Get"
            ],
            [
              "",
              "assert.Equal"
            ],
            [
              "",
              "t.Errorf"
            ],
            [
              "",
              "t.Errorf"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "t.Parallel"
            ],
            [
              "",
              "tt.lruCache"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "cache.RemoveEvictedItems"
            ],
            [
              "",
              "assert.Empty"
            ],
            [
              "",
              "cache.Add"
            ],
            [
              "",
              "cache.Add"
            ],
            [
              "",
              "t.Run"
            ],
            [
              "",
              "t.Parallel"
            ],
            [
              "",
              "tt.lruCache"
            ],
            [
              "",
              "assert.NoError"
            ],
            [
              "",
              "cache.Purge"
            ],
            [
              "",
              "assert.Zero"
            ],
            [
              "",
              "cache.Len"
            ],
            [
              "",
              "assert.Empty"
            ],
            [
              "",
              "testing"
            ],
            [
              "",
              "github.com/stretchr/testify/assert"
            ]
          ],
          "mbr": [
            "assert.Empty",
            "assert.Equal",
            "assert.Error",
            "assert.False",
            "assert.NoError",
            "assert.True",
            "assert.Zero",
            "c.Get",
            "cache.Add",
            "cache.Get",
            "cache.Len",
            "cache.Purge",
            "cache.RemoveEvictedItems",
            "cache.evictedItems",
            "cache.evictedItems.key",
            "cache.evictedItems.key0",
            "cache.evictedItems.key1",
            "t.Errorf",
            "t.Parallel",
            "t.Run",
            "tt.args",
            "tt.args.size",
            "tt.key",
            "tt.lruCache",
            "tt.name",
            "tt.wantErr",
            "tt.wantOk",
            "tt.wantValue"
          ],
          "metrics": {
            "ast": {
              "call_count": 41,
              "max_array_length": 2,
              "max_depth": 21,
              "max_member_depth": 3,
              "member_count": 28,
              "node_count": 2076,
              "op.lnot": 1,
              "op.ne": 4,
              "op.sub": 1,
              "op_density.lnot": 0,
              "op_density.ne": 0,
              "op_density.sub": 0
            },
            "binary": {
              "peak_region_bytes": 5120,
              "peak_region_entropy": 5
            },
            "comments": {
              "chars": 132,
              "count": 3,
              "lines": 3,
              "to_code_ratio": 0.01
            },
            "file": {
              "entropy": 4.98,
              "size": 5183
            },
            "functions": {
              "anonymous": 12,
              "avg_length_lines": 17.12,
              "avg_name_length": 19.8,
              "avg_nesting_depth": 0.71,
              "avg_param_name_length": 1,
              "avg_params": 0.53,
              "code_ratio": 0.93,
              "count": 6,
              "density": 7.69,
              "high_entropy_names": 3,
              "length_stddev": 16.97,
              "max_length_lines": 57,
              "max_nesting_depth": 1,
              "max_params": 1,
              "min_length_lines": 3,
              "nested": 4,
              "no_params_count": 8,
              "single_char_params": 9
            },
            "identifiers": {
              "all_lowercase_ratio": 0.36,
              "all_uppercase_ratio": 0.04,
              "avg_entropy": 2.03,
              "avg_length": 6.72,
              "count": 386,
              "high_entropy_count": 3,
              "high_entropy_ratio": 0.06,
              "length_stddev": 5.76,
              "max_length": 28,
              "min_length": 1,
              "reuse_ratio": 0.12,
              "sequential_names": 3,
              "single_char_count": 4,
              "single_char_ratio": 0.09,
              "underscore_prefix_count": 1,
              "unique": 47
            },
            "imports": {
              "count": 2,
              "stdlib_count": 1,
              "stdlib_ratio": 0.5,
              "third_party_count": 1,
              "third_party_ratio": 0.5
            },
            "source": {
              "class_count": 1,
              "function_count": 5
            },
            "strings": {
              "avg_entropy": 2.68,
              "avg_length": 16.18,
              "bytes": 906,
              "count": 56,
              "empty_count": 1,
              "entropy_stddev": 0.94,
              "max_length": 71,
              "sql": 1,
              "url_count": 1
            },
            "text": {
              "anonymous_function_ratio": 0.71,
              "avg_line_length": 22.45,
              "char_entropy": 4.98,
              "digit_ratio": 0.01,
              "empty_line_ratio": 0.06,
              "identifier_density": 1.75,
              "identifiers_to_functions_ratio": 2.76,
              "import_density": 0.9,
              "imports_to_functions_ratio": 0.12,
              "last_line_length": 1,
              "line_length_stddev": 19.25,
              "lines": 221,
              "max_line_length": 92,
              "max_whitespace_run": 10,
              "normalized_function_count": 1.14,
              "normalized_import_count": 0.13,
              "normalized_string_count": 3.77,
              "normalized_unique_identifiers": 6.04,
              "repeated_char_sequences": 1,
              "space_count": 494,
              "string_density": 0.25,
              "strings_to_functions_ratio": 3.29,
              "suspicious_identifier_ratio": 0.06,
              "suspicious_string_ratio": 0.02,
              "tab_count": 499,
              "top_char": 101,
              "top_char_null": 0,
              "top_char_ratio": 0.08,
              "unique_chars": 65,
              "whitespace_ratio": 0.23
            }
          },
          "tgt": [
            "assert.Empty",
            "assert.Equal",
            "assert.Error",
            "assert.False",
            "assert.NoError",
            "assert.True",
            "assert.Zero",
            "c.Get",
            "cache.Add",
            "cache.Get",
            "cache.Len",
            "cache.Purge",
            "cache.RemoveEvictedItems",
            "t.Errorf",
            "t.Parallel",
            "t.Run",
            "tt.lruCache"
          ]
        },
        "id": 13,
        "mol": "Md(Pa₂)",
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/internal/cache/cache_test.go",
        "pid": 0,
        "risk": 2,
        "sha": "3e855a117ec4ee16a70e7852288938bf0870037c9e3163b9164af402d9fd8a4a",
        "sid": 1935926874,
        "size": 5183,
        "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": [
              [
                2932,
                8
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports github.com/stretchr/testify/assert",
            "id": "metadata/import/go/github/com/stretchr/testify/assert::github/com/stretchr/testify/assert",
            "spans": [
              [
                116,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports testing",
            "id": "metadata/import/go/testing::testing",
            "spans": [
              [
                104,
                0
              ]
            ]
          },
          {
            "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": [
              [
                176,
                0
              ]
            ],
            "uses": [
              4,
              6
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test uses a testing.T parameter",
            "id": "metadata/package/testing/harness/unit::go-testing-t",
            "spans": [
              [
                176,
                0
              ]
            ]
          },
          {
            "conf": 0.7,
            "crit": 2,
            "desc": "Go test file suffix",
            "id": "metadata/package/testing/presence/harness::go-test-file"
          },
          {
            "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 \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                4601,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"for\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-5",
            "spans": [
              [
                623,
                0
              ]
            ]
          },
          {
            "conf": 0.8,
            "crit": 1,
            "desc": "English function-word token \"with\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-6",
            "spans": [
              [
                329,
                0
              ]
            ]
          }
        ],
        "type": "go"
      },
      {
        "depth": 1,
        "id": 14,
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/internal/cache/package_test.go",
        "pid": 0,
        "risk": 0,
        "sha": "d386ef79c3ff1131258ad6ccaf8e20700b69403680f82bfc6213939fa9f892c1",
        "sid": 1673658512,
        "size": 198,
        "type": "go"
      },
      {
        "depth": 1,
        "id": 15,
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/internal/metadata/generated_status.go",
        "pid": 0,
        "risk": 0,
        "sha": "5da789386120b040f6688e5b669914abf46b5bf824deac9dc0364e012533b807",
        "sid": 3627323316,
        "size": 349,
        "type": "go"
      },
      {
        "depth": 1,
        "id": 16,
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/internal/metrics/metrics.go",
        "pid": 0,
        "risk": 0,
        "sha": "400569ebf757824502a5c4f34e35cfe9acf1cbaec702e2fea8a970bb34f0fd00",
        "sid": 5259941650,
        "size": 8145,
        "type": "go"
      },
      {
        "depth": 1,
        "id": 17,
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/internal/metrics/metrics_test.go",
        "pid": 0,
        "risk": 0,
        "sha": "68b5171832db18185addb01ff58ec888af78d3bcf1be5900dc52d09442abe4be",
        "sid": 1869088528,
        "size": 6940,
        "type": "go"
      },
      {
        "depth": 1,
        "id": 18,
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/internal/metrics/package_test.go",
        "pid": 0,
        "risk": 0,
        "sha": "2004cd808b973a31b2726bb7934efea39ed9d4f85a151d5adf8194c227ffe1c1",
        "sid": 1476361342,
        "size": 200,
        "type": "go"
      },
      {
        "ctx": [
          {
            "col": 1,
            "line": 1,
            "ln": 0,
            "s": "// Copyright The OpenTelemetry Authors\n// SPDX-License-Identifier: Apache-2.0\n\npackage metrics // import \"github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector/internal/metrics\"\n\nimport (\n\t\"encoding\"\n\t\"errors\"\n\t\"fmt\"\n\t\"strings\"\n)\n\nconst (\n\tMilliseconds Unit = iota\n\tSeconds\n\n\tMillisecondsStr = \"ms\"\n\tSecondsStr      = \"s\"\n)\n\ntype Unit int8\n\nvar (\n\t_ encoding.TextMarshaler   = (*Unit)(nil)\n\t_ encoding.TextUnmarshaler = (*Unit)(nil)\n)\n\nfunc (u Unit) String() string {\n\tswitch u {\n\tcase Milliseconds:\n\t\treturn MillisecondsStr\n\tcase Seconds:\n\t\treturn SecondsStr\n\t}\n\treturn \"\"\n}\n\n// MarshalText marshals Unit to text.\nfunc (u Unit) MarshalText() (text []byte, err error) {\n\treturn []byte(u.String()), nil\n}\n\n// UnmarshalText unmarshalls text to a Unit.\nfunc (u *Unit) UnmarshalText(text []byte) error {\n\tif u == nil {\n\t\treturn errors.New(\"cannot unmarshal to a nil *Unit\")\n\t}\n\n\tstr := strings.ToLower(string(text))\n\tswitch str {\n\tcase strings.ToLower(MillisecondsStr):\n\t\t*u = Milliseconds\n\t\treturn nil\n\tcase strings.ToLower(SecondsStr):\n\t\t*u = Seconds\n\t\treturn nil\n\t}\n\treturn fmt.Errorf(\"unknown Unit %q, allowed units are %q and %q\", str, MillisecondsStr, SecondsStr)\n}\n"
          }
        ],
        "depth": 1,
        "facts": {
          "funcs": [
            [
              "String",
              471
            ],
            [
              "MarshalText",
              650
            ],
            [
              "UnmarshalText",
              785
            ]
          ],
          "imp": [
            [
              "",
              "u.String"
            ],
            [
              "",
              "errors.New"
            ],
            [
              "",
              "strings.ToLower"
            ],
            [
              "",
              "string"
            ],
            [
              "",
              "strings.ToLower"
            ],
            [
              "",
              "strings.ToLower"
            ],
            [
              "",
              "fmt.Errorf"
            ],
            [
              "",
              "encoding"
            ],
            [
              "",
              "errors"
            ],
            [
              "",
              "fmt"
            ],
            [
              "",
              "strings"
            ]
          ],
          "mbr": [
            "errors.New",
            "fmt.Errorf",
            "strings.ToLower",
            "u.String"
          ],
          "metrics": {
            "ast": {
              "call_count": 9,
              "max_depth": 12,
              "max_member_depth": 2,
              "member_count": 4,
              "node_count": 354,
              "op.eq": 1,
              "op.mul": 4,
              "op_density.eq": 0,
              "op_density.mul": 0.01
            },
            "binary": {
              "peak_region_bytes": 1203,
              "peak_region_entropy": 4.9
            },
            "comments": {
              "chars": 264,
              "count": 5,
              "lines": 5,
              "to_code_ratio": 0.09
            },
            "file": {
              "entropy": 4.92,
              "size": 1203
            },
            "functions": {
              "avg_length_lines": 9.33,
              "avg_name_length": 10,
              "avg_param_name_length": 4,
              "avg_params": 0.33,
              "code_ratio": 0.47,
              "count": 3,
              "density": 5.08,
              "high_entropy_names": 1,
              "length_stddev": 5.31,
              "max_length_lines": 16,
              "max_params": 1,
              "min_length_lines": 3,
              "no_params_count": 2
            },
            "identifiers": {
              "all_lowercase_ratio": 0.48,
              "all_uppercase_ratio": 0.04,
              "avg_entropy": 2.22,
              "avg_length": 6.81,
              "count": 65,
              "has_digit_ratio": 0.04,
              "high_entropy_count": 3,
              "high_entropy_ratio": 0.11,
              "length_stddev": 3.99,
              "max_length": 15,
              "min_length": 1,
              "numeric_suffix_count": 1,
              "reuse_ratio": 0.42,
              "sequential_names": 1,
              "single_char_count": 2,
              "single_char_ratio": 0.07,
              "underscore_prefix_count": 1,
              "unique": 27
            },
            "imports": {
              "count": 4,
              "stdlib_count": 4,
              "stdlib_ratio": 1
            },
            "source": {
              "function_count": 3
            },
            "strings": {
              "avg_entropy": 2.14,
              "avg_length": 11.33,
              "bytes": 102,
              "count": 9,
              "empty_count": 1,
              "entropy_stddev": 1.22,
              "max_length": 44
            },
            "text": {
              "avg_line_length": 19.39,
              "char_entropy": 4.92,
              "digit_ratio": 0,
              "empty_line_ratio": 0.17,
              "identifier_density": 1.1,
              "identifiers_to_functions_ratio": 9,
              "import_density": 6.78,
              "imports_to_functions_ratio": 1.33,
              "last_line_length": 1,
              "line_length_stddev": 24.27,
              "lines": 59,
              "long_token_count": 1,
              "max_line_length": 133,
              "max_whitespace_run": 6,
              "normalized_function_count": 0.39,
              "normalized_import_count": 0.52,
              "normalized_string_count": 1.17,
              "normalized_unique_identifiers": 4.59,
              "space_count": 108,
              "string_density": 0.15,
              "strings_to_functions_ratio": 3,
              "suspicious_identifier_ratio": 0.04,
              "tab_count": 38,
              "top_char": 116,
              "top_char_null": 0,
              "top_char_ratio": 0.07,
              "unique_chars": 60,
              "whitespace_ratio": 0.17
            }
          },
          "tgt": [
            "errors.New",
            "fmt.Errorf",
            "string",
            "strings.ToLower",
            "u.String"
          ]
        },
        "id": 19,
        "mol": "H(Db)Md₂(InPa)",
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/internal/metrics/unit.go",
        "pid": 0,
        "risk": 3,
        "sha": "599c06c37b05925efdf702575235de67e54c8bf7e1f8f1fd7c169608625ac2fb",
        "sid": 1935926877,
        "size": 1203,
        "supp": [
          {
            "by": [
              {
                "id": "tree-sitter",
                "spans": [
                  [
                    214,
                    50
                  ]
                ]
              }
            ],
            "crit": "notable",
            "id": "metadata/lang/source/declaration::go-constant-only-file",
            "kind": "unless"
          }
        ],
        "traits": [
          {
            "conf": 0.95,
            "crit": 3,
            "desc": "imports encoding",
            "id": "metadata/import/go/encoding::encoding",
            "spans": [
              [
                224,
                8
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source SPDX license identifier declaration",
            "id": "metadata/package/license::spdx-license-identifier",
            "spans": [
              [
                42,
                35
              ]
            ]
          },
          {
            "conf": 0.9,
            "crit": 3,
            "desc": "Source changes string letter casing",
            "id": "micro-behaviors/data/string/case::source-case-transform",
            "spans": [
              [
                925,
                7
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports errors",
            "id": "metadata/import/go/errors::errors",
            "spans": [
              [
                236,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports fmt",
            "id": "metadata/import/go/fmt::fmt",
            "spans": [
              [
                246,
                0
              ]
            ]
          },
          {
            "conf": 0.95,
            "crit": 2,
            "desc": "imports strings",
            "id": "metadata/import/go/strings::strings",
            "spans": [
              [
                253,
                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 \"and\"",
            "id": "metadata/lang/natural/vocabulary/function-word::lang-english--atom-2",
            "spans": [
              [
                1158,
                0
              ]
            ]
          }
        ],
        "type": "go"
      },
      {
        "depth": 1,
        "id": 20,
        "path": "v0.119.0.zip!!github.com/open-telemetry/opentelemetry-collector-contrib/connector/spanmetricsconnector@v0.119.0/internal/metrics/unit_test.go",
        "pid": 0,
        "risk": 0,
        "sha": "97d68b9a887cd6c4d5a47a3d94f7139c7d3444af383ca31bb17682eef7896612",
        "sid": 1869088532,
        "size": 1343,
        "type": "go"
      }
    ],
    "v": 8
  }
}