Repository Analysis

vectordotdev/vector

A high-performance observability data pipeline.

3.6 Likely human-written View on GitHub
3.6
Adjusted Score
3.6
Raw Score
100%
Time Factor
2026-05-30
Last Push
21,945
Stars
Rust
Language
486,701
Lines of Code
6813
Files
1172
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 41HIGH 13MEDIUM 58LOW 1060

Pattern Findings

1172 matches across 15 categories. Click a row to expand file-level details.

Over-Commented Block1039 hits · 1032 pts
SeverityFileLineSnippet
LOWCargo.toml521[features]
LOWconfig/vector.yaml1# __ __ __
LOWconfig/vector.yaml41 json:
LOWconfig/examples/environment_variables.yaml1# Environment Variables Example
LOWwebsite/content/en/docs/reference/vrl/_index.md61
LOWtests/e2e/datadog/metrics/series.rs221fn compare_intakes(agent_intake: &SeriesIntake, vector_intake: &SeriesIntake) {
LOWrfcs/2020-08-31-3641-mongo-metrics.md181# TYPE go_memstats_buck_hash_sys_bytes gauge
LOWrfcs/2020-08-31-3641-mongo-metrics.md201# HELP go_memstats_heap_objects Number of allocated objects.
LOWrfcs/2020-08-31-3641-mongo-metrics.md221go_memstats_mcache_inuse_bytes 13888
LOWrfcs/2020-08-31-3641-mongo-metrics.md261# HELP mongodb_connections_metrics_created_total totalCreated provides a count of all incoming connections created to th
LOWrfcs/2020-08-31-3641-mongo-metrics.md281mongodb_extra_info_heap_usage_bytes 0
LOWrfcs/2020-08-31-3641-mongo-metrics.md381mongodb_mongod_metrics_get_last_error_wtime_total_milliseconds 0
LOWrfcs/2020-08-31-3641-mongo-metrics.md401# TYPE mongodb_mongod_metrics_repl_apply_batches_total_milliseconds counter
LOWrfcs/2020-08-31-3641-mongo-metrics.md421mongodb_mongod_metrics_repl_executor_queue{type="sleepers"} 0
LOWrfcs/2020-08-31-3641-mongo-metrics.md441# TYPE mongodb_mongod_metrics_repl_oplog_insert_bytes_total counter
LOWrfcs/2020-08-31-3641-mongo-metrics.md541# HELP mongodb_mongod_wiredtiger_log_records_total The total number of compressed/uncompressed records written to the Wi
LOWrfcs/2020-08-31-3641-mongo-metrics.md621# TYPE go_goroutines gauge
LOWrfcs/2020-08-31-3641-mongo-metrics.md641# HELP go_memstats_gc_sys_bytes Number of bytes used for garbage collection system metadata.
LOWrfcs/2020-08-31-3641-mongo-metrics.md661go_memstats_heap_sys_bytes 6.63552e+07
LOWrfcs/2020-08-31-3641-mongo-metrics.md681# TYPE go_memstats_mspan_sys_bytes gauge
LOWrfcs/2020-08-31-3641-mongo-metrics.md701# HELP mongodb_active_reads Telegraf collected metric
LOWrfcs/2020-08-31-3641-mongo-metrics.md721mongodb_assert_rollovers{host="mba.local",hostname="127.0.0.1:27017",version="4.4.0"} 0
LOWrfcs/2020-08-31-3641-mongo-metrics.md741# TYPE mongodb_connections_available untyped
LOWrfcs/2020-08-31-3641-mongo-metrics.md761# HELP mongodb_cursor_pinned Telegraf collected metric
LOWrfcs/2020-08-31-3641-mongo-metrics.md781mongodb_delete_command_failed{host="mba.local",hostname="127.0.0.1:27017",version="4.4.0"} 0
LOWrfcs/2020-08-31-3641-mongo-metrics.md801# TYPE mongodb_document_inserted untyped
LOWrfcs/2020-08-31-3641-mongo-metrics.md821# HELP mongodb_flushes Telegraf collected metric
LOWrfcs/2020-08-31-3641-mongo-metrics.md841mongodb_getmores_per_sec{host="mba.local",hostname="127.0.0.1:27017",version="4.4.0"} 0
LOWrfcs/2020-08-31-3641-mongo-metrics.md861# TYPE mongodb_latency_commands_count untyped
LOWrfcs/2020-08-31-3641-mongo-metrics.md881# HELP mongodb_net_out_bytes Telegraf collected metric
LOWrfcs/2020-08-31-3641-mongo-metrics.md901mongodb_percent_cache_dirty{host="mba.local",hostname="127.0.0.1:27017",version="4.4.0"} 0
LOWrfcs/2020-08-31-3641-mongo-metrics.md921# TYPE mongodb_storage_freelist_search_bucket_exhausted untyped
LOWrfcs/2020-08-31-3641-mongo-metrics.md941# HELP mongodb_tcmalloc_max_total_thread_cache_bytes Telegraf collected metric
LOWrfcs/2020-08-31-3641-mongo-metrics.md961mongodb_tcmalloc_pageheap_scavenge_count{host="mba.local",hostname="127.0.0.1:27017",version="4.4.0"} 0
LOWrfcs/2020-08-31-3641-mongo-metrics.md981# TYPE mongodb_tcmalloc_total_free_bytes untyped
LOWrfcs/2020-08-31-3641-mongo-metrics.md1001# HELP mongodb_total_refreshing Telegraf collected metric
LOWrfcs/2020-08-31-3641-mongo-metrics.md1021mongodb_ttl_passes_per_sec{host="mba.local",hostname="127.0.0.1:27017",version="4.4.0"} 0
LOWrfcs/2020-08-31-3641-mongo-metrics.md1041# TYPE mongodb_wtcache_app_threads_page_read_count untyped
LOWrfcs/2020-08-31-3641-mongo-metrics.md1061# HELP mongodb_wtcache_max_bytes_configured Telegraf collected metric
LOW…s/2021-06-29-7709-helm-update-vector-config-pattern.md81{{- end }}
LOW…s/2021-06-29-7709-helm-update-vector-config-pattern.md101 # type: host_metrics
LOWscripts/check-style.sh1#!/usr/bin/env bash
LOWscripts/test-behavior.sh1#!/bin/bash
LOWscripts/deploy-chart-test.sh1#!/usr/bin/env bash
LOWscripts/upload-test-results.sh1#!/usr/bin/env bash
LOWscripts/test-e2e-kubernetes.sh61 # Hint #1: you can use `scripts/start-docker-registry.sh`, but it requires
LOWscripts/package-deb.sh1#!/usr/bin/env bash
LOWscripts/package-deb.sh61
LOWscripts/build.sh1#!/usr/bin/env bash
LOWscripts/upload-benchmarks-s3.sh1#!/usr/bin/env bash
LOWscripts/sync-install.sh1#!/bin/bash
LOWscripts/package-archive.sh1#!/usr/bin/env bash
LOWscripts/package-rpm.sh1#!/usr/bin/env bash
LOWscripts/run-integration-test.sh121# Remove stale combined coverage from a previous (possibly failed) attempt so
LOW.github/workflows/coverage.yml1# Coverage
LOW.github/workflows/regression.yml1# Regression Detection Suite
LOW.github/workflows/master_merge_queue.yml1# Master Merge Queue Test Suite
LOW.github/workflows/k8s_e2e.yml1# K8s E2E Suite
LOW.github/workflows/ci-review-trigger.yml1# CI Review Trigger
LOW.github/workflows/ci-review-trigger.yml21# /ci-run-unit-windows : runs Unit - Windows
979 more matches not shown…
Hallucination Indicators41 hits · 462 pts
SeverityFileLineSnippet
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs245 {"log":"\u0009at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(Security
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs247 {"log":"\u0009at org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doF
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs248 {"log":"\u0009at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs250 {"log":"\u0009at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:21
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs251 {"log":"\u0009at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:178)\n","s
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs252 {"log":"\u0009at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.j
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs253 {"log":"\u0009at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:27
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs254 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.jav
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs255 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs256 {"log":"\u0009at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.j
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs257 {"log":"\u0009at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs258 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.jav
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs259 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs260 {"log":"\u0009at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContent
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs261 {"log":"\u0009at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs262 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.jav
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs263 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs264 {"log":"\u0009at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilt
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs265 {"log":"\u0009at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs266 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.jav
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs267 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs268 {"log":"\u0009at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.filterAndRecordMet
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs269 {"log":"\u0009at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(W
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs270 {"log":"\u0009at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs271 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.jav
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs272 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs273 {"log":"\u0009at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFi
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs274 {"log":"\u0009at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs275 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.jav
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs276 {"log":"\u0009at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs277 {"log":"\u0009at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)\n","str
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs278 {"log":"\u0009at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)\n","stre
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs279 {"log":"\u0009at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493)\n","
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs280 {"log":"\u0009at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)\n","stream":"
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs281 {"log":"\u0009at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)\n","stream":"s
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs282 {"log":"\u0009at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)\n","stream
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs283 {"log":"\u0009at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)\n","stream":"st
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs284 {"log":"\u0009at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)\n","stream":"std
CRITICALlib/codecs/src/decoding/framing/character_delimited.rs288 {"log":"\u0009at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n","stream"
CRITICALlib/vector-vrl/web-playground/public/index.js228 this.monaco.languages.json.jsonDefaults.setDiagnosticsOptions({ validate: false });
CRITICALlib/vector-vrl/web-playground/public/index.js232 this.monaco.languages.json.jsonDefaults.setDiagnosticsOptions({ validate: true });
Decorative Section Separators33 hits · 96 pts
SeverityFileLineSnippet
MEDIUMconfig/vector.yaml9# ------------------------------------------------------------------------------
MEDIUMconfig/vector.yaml13# ------------------------------------------------------------------------------
MEDIUMconfig/examples/environment_variables.yaml2# ------------------------------------------------------------------------------
MEDIUMconfig/examples/file_to_cloudwatch_metrics.yaml2# ------------------------------------------------------------------------------
MEDIUMconfig/examples/wrapped_json.yaml2# ------------------------------------------------------------------------------
MEDIUMconfig/examples/es_s3_hybrid.yaml2# ------------------------------------------------------------------------------
MEDIUMconfig/examples/file_to_prometheus.yaml2# ----------------------------------------------------
MEDIUMconfig/examples/stdio.yaml2# ------------------------------------------------------------------------------
MEDIUMconfig/examples/prometheus_to_console.yaml2# ------------------------------------------------------------------------------
MEDIUMconfig/examples/http_sink_custom_retry.yaml2# ----------------------------------------------------
MEDIUMtests/behavior/transforms/vrl_test_input.toml21##------------------------------------------------------------------------------
MEDIUMtests/behavior/transforms/reduce.toml89##------------------------------------------------------------------------------
MEDIUMtests/behavior/transforms/reduce.toml198##------------------------------------------------------------------------------
MEDIUMtests/behavior/transforms/reduce.toml282##------------------------------------------------------------------------------
MEDIUMtests/behavior/transforms/reduce.toml374##------------------------------------------------------------------------------
MEDIUMtests/behavior/transforms/reduce.toml433##------------------------------------------------------------------------------
MEDIUMtests/behavior/transforms/reduce.toml487##------------------------------------------------------------------------------
MEDIUMtests/behavior/transforms/reduce.toml541##------------------------------------------------------------------------------
MEDIUMtests/behavior/transforms/reduce.toml595##------------------------------------------------------------------------------
MEDIUMdistribution/install.sh247# ------------------------------------------------------------------------------
MEDIUMdistribution/install.sh250# ------------------------------------------------------------------------------
MEDIUMlib/codecs/src/encoding/format/parquet.rs585 // ── AutoInfer mode ───────────────────────────────────────────────────────
MEDIUMlib/codecs/src/encoding/format/parquet.rs746 // ── Schema file mode ─────────────────────────────────────────────────────
MEDIUMlib/codecs/src/encoding/format/parquet.rs827 // ── Schema mode: strict / relaxed ────────────────────────────────────────
MEDIUMsrc/sinks/webhdfs/mod.rs10//! ┌───────────────┐
MEDIUMsrc/sinks/webhdfs/mod.rs12//! └───────────────┘
MEDIUMsrc/sinks/webhdfs/mod.rs14//! ┌───────────────┐ │ ┌───────────────┐
MEDIUMsrc/sinks/webhdfs/mod.rs15//! │ Data Node 1 │◄──────────┼───────────►│ Data Node 3 │
MEDIUMsrc/sinks/webhdfs/mod.rs16//! └───────────────┘ │ └───────────────┘
MEDIUMsrc/sinks/webhdfs/mod.rs17//! ┌───────┴───────┐
MEDIUMsrc/sinks/webhdfs/mod.rs19//! └───────────────┘
MEDIUMsrc/sinks/webhdfs/mod.rs22//! ┌──────┴─────┐
MEDIUMsrc/sinks/webhdfs/mod.rs24//! └────────────┘
AI Slop Vocabulary22 hits · 66 pts
SeverityFileLineSnippet
MEDIUMlib/vector-config-macros/src/configurable.rs963 // each variant until it finds one that can deserialize the data correctly. Essentially,
MEDIUMlib/vector-core/src/fanout.rs157 // Essentially, we should only land here if the control channel is closed but we
MEDIUMlib/vector-stream/src/driver.rs114 // Essentially, we bounce back and forth between "grab the new batch from the input
MEDIUMlib/vector-config/tests/integration/named.rs6// Essentially, this just derives an impl of `vector_config::NamedComponent` where the component
MEDIUMlib/vector-config/src/schema/helpers.rs39 // too generic and muddles the output. Essentially, if the callsite decides to provide an
MEDIUMlib/vector-buffers/src/variants/disk_v2/writer.rs981 // Essentially, we defer the actual skipping to avoid deadlocking here trying to open a
MEDIUMlib/vector-buffers/src/variants/disk_v2/reader.rs996 // Essentially: is the writer still writing to this data file or not, and are we
MEDIUMlib/vector-buffers/src/variants/disk_v2/reader.rs1043 // Fundamentally, when `try_read_record` returns `None`, there's three possible
MEDIUM…ector-buffers/src/variants/disk_v2/tests/invariants.rs258 // happening there. Essentially, the process of doing a read or write could contain a
MEDIUMsrc/config/cmd.rs174 // Start by serializing to a `ConfigBuilder`. This will leverage validation in config
MEDIUMsrc/sinks/splunk_hec/common/util.rs56// This sink should undergo a refactor to utilize the `HttpService`
MEDIUMsrc/sinks/appsignal/service.rs27 // This sink should undergo a refactor to utilize the `HttpService`
MEDIUMsrc/sinks/datadog/logs/config.rs93 // utilize it, since it all follows the same pattern.
MEDIUMsrc/sinks/datadog/events/service.rs50 // This sink should undergo a refactor to utilize the `HttpService`
MEDIUMsrc/sinks/elasticsearch/service.rs74 // This sink should undergo a refactor to utilize the `HttpService`
MEDIUMsrc/internal_telemetry/allocations/mod.rs187/// a [`tracing::Span`] to achieve this" we utilize the logical invariants provided by spans --
MEDIUMsrc/sources/util/http_client.rs65/// Builds the context, allowing the source-specific implementation to leverage data from the
MEDIUMsrc/sources/windows_event_log/checkpoint.rs23/// Uses Windows Event Log bookmarks for robust position tracking that survives
MEDIUMsrc/sources/windows_event_log/checkpoint.rs57/// each channel. Bookmarks are more robust than record IDs as they survive
MEDIUMsrc/sources/windows_event_log/checkpoint.rs99 /// Bookmarks provide robust position tracking that survives channel clears,
MEDIUMsrc/sources/windows_event_log/bookmark.rs21/// Bookmarks provide robust, Windows-managed position tracking in event logs.
MEDIUMsrc/sources/aws_s3/sqs.rs796 // so we explicitly drop it so that we can again utilize `read_error` below.
Cross-File Repetition12 hits · 60 pts
SeverityFileLineSnippet
HIGHconfig/examples/file_to_prometheus.yaml0. |= parse_apache_log!(string!(.message), "common")
HIGHtests/namespacing/success/transforms/apache_parser.toml0. |= parse_apache_log!(string!(.message), "common")
HIGH…mespacing/ignore-invalid/transforms/apache_parser.toml0. |= parse_apache_log!(string!(.message), "common")
HIGHsrc/config/unit_test/tests.rs0assert_eq!(.new_field, "string value") assert_eq!(.second_new_field, "also a string value") assert_eq!(.message, "nah th
HIGHsrc/config/unit_test/tests.rs0assert_eq!(.new_field, "string value") assert_eq!(.second_new_field, "also a string value") assert_eq!(.message, "nah th
HIGHsrc/config/unit_test/tests.rs0assert_eq!(.new_field, "string value") assert_eq!(.second_new_field, "also a string value") assert_eq!(.message, "nah th
HIGHsrc/config/unit_test/tests.rs0assert_eq!(.new_field, "string value") assert_eq!(.second_new_field, "also a string value") assert_eq!(.third_new_field,
HIGHsrc/config/unit_test/tests.rs0assert_eq!(.new_field, "string value") assert_eq!(.second_new_field, "also a string value") assert_eq!(.third_new_field,
HIGHsrc/config/unit_test/tests.rs0assert_eq!(.new_field, "string value") assert_eq!(.second_new_field, "also a string value") assert_eq!(.third_new_field,
HIGHsrc/config/unit_test/tests.rs0assert_eq!(.message, "test1", "incorrect message") assert_eq!(.new_field, "value1", "incorrect value") assert_eq!(.anoth
HIGHsrc/config/unit_test/tests.rs0assert_eq!(.message, "test1", "incorrect message") assert_eq!(.new_field, "value1", "incorrect value") assert_eq!(.anoth
HIGHsrc/config/unit_test/tests.rs0assert_eq!(.message, "test1", "incorrect message") assert_eq!(.new_field, "value1", "incorrect value") assert_eq!(.anoth
Verbosity Indicators8 hits · 12 pts
SeverityFileLineSnippet
LOWvdev/src/commands/release/prepare.rs122 // Step 1: Create a new release branch
LOWvdev/src/commands/release/prepare.rs131 // Step 2: Create a new release preparation branch
LOWvdev/src/commands/release/prepare.rs253 /// Step 9: Add new version to `versions.cue`
LOWvdev/src/commands/release/prepare.rs284 /// Step 10: Create a new release md file
LOWvdev/src/commands/release/prepare.rs461 // Step 1: get the latest tag
LOWvdev/src/commands/release/prepare.rs475 // Step 2: fetch CHANGELOG.md for that tag
LOWsrc/sinks/datadog/metrics/encoder.rs2044 // Step 1: measure a single metric's encoded size.
LOWsrc/sinks/datadog/metrics/encoder.rs2060 // Step 2: encode metrics until buffered_bound decreases (= flush detected).
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOWdistribution/install.sh695# Check if curl supports the --retry flag
LOWscripts/check-docs.sh31 # Check if any files were modified
LOW.github/workflows/changes.yml419 # Check if at least one integration test has changes
LOW.github/workflows/changes.yml481 # Check if at least one e2e test has changes
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMscripts/package-deb.sh62# Create the license file for binary distributions (LICENSE + NOTICE)
MEDIUMscripts/package-archive.sh87# Create the license file for binary distributions (LICENSE + NOTICE)
Magic Placeholder Names1 hit · 5 pts
SeverityFileLineSnippet
HIGHwebsite/content/en/guides/aws/aws-secrets-manager.md30 "api_key": "your-api-key-here",
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippet
LOWCargo.toml465# make sure to update the external docs when the Lua version changes
MEDIUMscripts/test-e2e-kubernetes.sh61 # Hint #1: you can use `scripts/start-docker-registry.sh`, but it requires
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippet
LOWtests/integration/gcp/config/invalidauth.json6 "client_email": "test@test.com",
LOWtests/integration/gcp/config/auth.json6 "client_email": "test@test.com",
LOWsrc/sinks/util/uri.rs230 test_parse("user@example.com", "example.com", Some(("user", "")));
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippet
LOWwebsite/content/en/guides/developer/debugging.md132class DebuggingHTTPRequestHandler(http.server.BaseHTTPRequestHandler):
LOWdocs/tutorials/sinks/2_http_sink.md467class RequestHandler(http.server.BaseHTTPRequestHandler):
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippet
LOWtests/behavior/secrets/mock_secrets_exec.py60def handle_request(req: Request) -> Response:
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippet
LOWtests/behavior/secrets/mock_secrets_exec.py99 except Exception as e:
Unused Imports1 hit · 1 pts
SeverityFileLineSnippet
LOWtests/e2e/datadog-metrics/dogstatsd_client/client.py4