A modern load testing tool, using Go and JavaScript
331 matches across 14 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packaging/bin/generate_index.py | 1 | #!/usr/bin/env python3 |
| LOW | packaging/bin/create-rpm-repo.sh | 1 | #!/bin/bash |
| LOW | packaging/bin/entrypoint.sh | 1 | #!/bin/bash |
| LOW | packaging/bin/create-deb-repo.sh | 1 | #!/bin/bash |
| LOW | metrics/tags.go | 21 | // values for map indexes and caching. |
| LOW | metrics/tags.go | 41 | // existing TagSet except the one with the given key. |
| LOW | metrics/tags.go | 121 | json.Marshaler |
| LOW | metrics/package.go | 1 | // Package metrics contains various k6 components that deal with metrics and |
| LOW | metrics/thresholds_parser.go | 21 | // would result in AggregationValue to be set to 99.9. |
| LOW | metrics/thresholds_parser.go | 41 | // case specifically. If we encounter the percentile aggregation method token, |
| LOW | metrics/thresholds_parser.go | 61 | // counter -> "count" | "rate" |
| LOW | cmd/state/doc.go | 1 | // Package state contains the types and functionality used for keeping track of |
| LOW | cmd/state/state.go | 41 | |
| LOW | js/promises/promises.go | 1 | // Package promises provides helpers for working with promises in k6. |
| LOW | js/common/initenv.go | 21 | // GetAbsFilePath should be used to access the FileSystems, since afero has a |
| LOW | js/modulestest/runtime.go | 81 | goModules, loader, c, r.VU.InitEnvField.CWD, r.VU.InitEnvField.Usage, r.VU.InitEnvField.Logger) |
| LOW | js/modules/modules.go | 41 | // VU gives access to the currently executing VU to a module Instance |
| LOW | release notes/v0.55.0.md | 141 | // You can call metric.tag multiple times within the callback function. |
| LOW | secretsource/doc.go | 1 | // Package secretsource is a package to provide secret source interface and common functionality |
| LOW | internal/cmd/test_load.go | 301 | // Step 1 — failed imports (extractUnknownModules): modules that the resolver |
| LOW | internal/cmd/subcommand.go | 21 | // |
| LOW | internal/cmd/tests/cmd_cloud_run_test.go | 41 | // } |
| LOW | internal/cmd/tests/cmd_cloud_upload_test.go | 41 | cmd.ExecuteWithGlobalState(ts.GlobalState) |
| LOW | internal/cmd/tests/doc.go | 1 | // Package tests contains integration tests that run k6 commands, and interact |
| LOW | internal/cmd/tests/cmd_run_test.go | 2421 | }, |
| LOW | internal/ds/histogram/hdr.go | 21 | // Hdr represents a distribution of metrics samples' values as histogram. |
| LOW | internal/ds/histogram/hdr.go | 121 | // distribution (2^7=128 primary buckets of which each can be further |
| LOW | internal/ds/histogram/hdr.go | 141 | // the "sub" bucket within that major bucket. This system provides us with a fine level |
| LOW | internal/js/runner.go | 561 | } |
| LOW | internal/js/summary.go | 21 | var jslibSummaryCode string |
| LOW | internal/js/eventloop/eventloop.go | 61 | // asynchronous work off the main thread and that you may need to execute some |
| LOW | internal/js/eventloop/eventloop.go | 81 | // scenario has ended). Any error returned by any callback on the main thread |
| LOW | internal/js/eventloop/eventloop.go | 101 | // resolve(result) |
| LOW | …s/modules/k6/experimental/streams/underlying_source.go | 21 | // PullFunc is a function that is called whenever the stream's internal queue of chunks |
| LOW | …s/modules/k6/experimental/streams/underlying_source.go | 41 | Cancel sobek.Value `json:"cancel"` |
| LOW | …experimental/streams/readable_stream_default_reader.go | 101 | // |
| LOW | …ules/k6/experimental/streams/readable_stream_reader.go | 21 | // ReadableStreamGenericReader defines common internal getters/setters |
| LOW | …rimental/streams/readable_stream_default_controller.go | 321 | |
| LOW | …rimental/streams/readable_stream_default_controller.go | 361 | // |
| LOW | internal/js/modules/k6/experimental/streams/errors.go | 21 | throw(rt, newError(kind, message)) |
| LOW | internal/js/modules/k6/experimental/csv/reader.go | 21 | // options holds the reader's options. |
| LOW | internal/js/modules/k6/experimental/csv/module.go | 301 | ToLine null.Int `js:"toLine"` |
| LOW | internal/js/modules/k6/experimental/fs/cache_test.go | 61 | // |
| LOW | internal/js/modules/k6/experimental/fs/cache.go | 21 | // already caches the content of the files it opens. However, the current implementation of |
| LOW | internal/js/modules/k6/experimental/fs/cache.go | 41 | type cache struct { |
| LOW | internal/js/modules/k6/experimental/fs/cache.go | 61 | // If the file was previously "opened" (and thus cached), it |
| LOW | internal/js/modules/k6/experimental/fs/module.go | 181 | type File struct { |
| LOW | internal/js/modules/k6/experimental/fs/errors.go | 41 | |
| LOW | internal/js/modules/k6/browser/k6ext/k6test/vu.go | 61 | } |
| LOW | internal/js/modules/k6/browser/trace/trace.go | 81 | // TraceNavigation is only to be used when a frame has navigated. |
| LOW | …nal/js/modules/k6/browser/tests/lifecycle_wait_test.go | 21 | // Remove the promises. We don't need them anymore. |
| LOW | …nal/js/modules/k6/browser/tests/lifecycle_wait_test.go | 41 | // 1. The HTML is loaded. |
| LOW | …al/js/modules/k6/browser/tests/network_manager_test.go | 181 | // the page's response body won't be available yet due to request |
| LOW | internal/js/modules/k6/browser/tests/test_browser.go | 61 | |
| LOW | internal/js/modules/k6/browser/tests/test_browser.go | 141 | |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 461 | return true; |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 2941 | // |
| LOW | internal/js/modules/k6/browser/chromium/browser_type.go | 161 | // which can be used for controlling the Chrome browser. |
| LOW | internal/js/modules/k6/browser/browser/registry.go | 261 | for e := range eventsCh { |
| LOW | internal/js/modules/k6/browser/common/frame.go | 421 | // to the actual destination for the iframe; |
| 125 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | js/modules/k6/html/serialize_test.go | 16 | <h1 id="top" data-test="dataval" data-num-a="123" data-num-b="1.5" data-not-num-a="1.50" data-not-num-b="1.1e02">Lorem |
| LOW | js/modules/k6/html/serialize_test.go | 17 | <p data-test-b="true" data-opts='{"id":101}' data-test-empty="">Lorem ipsum dolor sit amet, consectetur adipiscing elit |
| LOW | js/modules/k6/html/serialize_test.go | 17 | <p data-test-b="true" data-opts='{"id":101}' data-test-empty="">Lorem ipsum dolor sit amet, consectetur adipiscing elit |
| LOW | js/modules/k6/html/serialize_test.go | 36 | <textarea id="textarea" name="textarea" multiple>Lorem ipsum dolor sit amet</textarea> |
| LOW | js/modules/k6/html/serialize_test.go | 36 | <textarea id="textarea" name="textarea" multiple>Lorem ipsum dolor sit amet</textarea> |
| LOW | js/modules/k6/html/serialize_test.go | 86 | assert.Equal(t, "Lorem ipsum dolor sit amet", arr[6].Value.String()) |
| LOW | js/modules/k6/html/serialize_test.go | 86 | assert.Equal(t, "Lorem ipsum dolor sit amet", arr[6].Value.String()) |
| LOW | js/modules/k6/html/serialize_test.go | 150 | assert.Equal(t, "Lorem ipsum dolor sit amet", obj["textarea"].String()) |
| LOW | js/modules/k6/html/serialize_test.go | 150 | assert.Equal(t, "Lorem ipsum dolor sit amet", obj["textarea"].String()) |
| LOW | js/modules/k6/html/html_test.go | 23 | <h1 id="top" data-test="dataval" data-num-a="123" data-num-b="1.5" data-not-num-a="1.50" data-not-num-b="1.1e02">Lorem |
| LOW | js/modules/k6/html/html_test.go | 25 | <p data-test-b="true" data-opts='{"id":101}' data-test-empty="">Lorem ipsum dolor sit amet, consectetur adipiscing elit |
| LOW | js/modules/k6/html/html_test.go | 25 | <p data-test-b="true" data-opts='{"id":101}' data-test-empty="">Lorem ipsum dolor sit amet, consectetur adipiscing elit |
| LOW | js/modules/k6/html/html_test.go | 43 | <textarea id="textarea" name="textarea" multiple>Lorem ipsum dolor sit amet</textarea> |
| LOW | js/modules/k6/html/html_test.go | 43 | <textarea id="textarea" name="textarea" multiple>Lorem ipsum dolor sit amet</textarea> |
| LOW | js/modules/k6/html/html_test.go | 128 | assert.Equal(t, "Lorem ipsum", sel.Text()) |
| LOW | js/modules/k6/html/html_test.go | 140 | assert.Equal(t, "Lorem ipsumThis is the footer.", sel.Text()) |
| LOW | js/modules/k6/html/html_test.go | 148 | assert.Equal(t, "Lorem ipsumThis is the footer.", sel.Text()) |
| LOW | js/modules/k6/html/html_test.go | 158 | assert.Equal(t, "Lorem ipsum", v.Export()) |
| LOW | js/modules/k6/html/html_test.go | 195 | assert.Equal(t, "Lorem ipsum", v.Export()) |
| LOW | js/modules/k6/html/html_test.go | 238 | assert.Equal(t, "Lorem ipsum dolor sit amet", v.Export()) |
| LOW | js/modules/k6/html/html_test.go | 238 | assert.Equal(t, "Lorem ipsum dolor sit amet", v.Export()) |
| LOW | js/modules/k6/html/html_test.go | 315 | v, err := rt.RunString(`doc.find("h1").is(function(idx, val){ return val.text() == "Lorem ipsum" })`) |
| LOW | js/modules/k6/html/html_test.go | 797 | assert.Contains(t, sel.Text(), "Lorem ipsum dolor") |
| LOW | js/modules/k6/html/html_test.go | 828 | assert.Contains(t, elem.InnerHTML().Export(), "Lorem ipsum dolor sit amet") |
| LOW | js/modules/k6/html/html_test.go | 828 | assert.Contains(t, elem.InnerHTML().Export(), "Lorem ipsum dolor sit amet") |
| LOW | js/modules/k6/html/html_test.go | 851 | assert.Contains(t, arr[0].sel.Text(), "Lorem ipsum dolor sit amet") |
| LOW | js/modules/k6/html/html_test.go | 851 | assert.Contains(t, arr[0].sel.Text(), "Lorem ipsum dolor sit amet") |
| LOW | js/modules/k6/html/element_test.go | 16 | <h1 id="top">Lorem ipsum</h1> |
| LOW | js/modules/k6/html/element_test.go | 18 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> |
| LOW | js/modules/k6/html/element_test.go | 18 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> |
| LOW | js/modules/k6/html/element_test.go | 19 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> |
| LOW | js/modules/k6/html/element_test.go | 19 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> |
| LOW | js/modules/k6/html/element_test.go | 60 | assert.Equal(t, "Lorem ipsum", v.String()) |
| LOW | js/modules/k6/http/request_test.go | 1399 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
| LOW | js/modules/k6/http/request_test.go | 1399 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. |
| LOW | js/modules/k6/http/response_test.go | 34 | <textarea name="textarea" multiple>Lorem ipsum dolor sit amet</textarea> |
| LOW | js/modules/k6/http/response_test.go | 34 | <textarea name="textarea" multiple>Lorem ipsum dolor sit amet</textarea> |
| LOW | js/modules/k6/http/response_test.go | 388 | data.textarea[0] !== "Lorem ipsum dolor sit amet" |
| LOW | js/modules/k6/http/response_test.go | 388 | data.textarea[0] !== "Lorem ipsum dolor sit amet" |
| LOW | release notes/v1.3.0.md | 165 | await frame.getByLabel('Email').fill('user@example.com'); |
| LOW | release notes/v1.3.0.md | 174 | await paymentFrame.getByLabel('Cardholder name').fill('John Doe'); |
| LOW | release notes/v1.6.0.md | 314 | username: 'user@example.com', |
| LOW | internal/cmd/tests/cmd_cloud_run_test.go | 40 | // note: "lorem ipsum", |
| LOW | internal/cmd/tests/cmd_cloud_run_test.go | 48 | // "note": "lorem ipsum", |
| LOW | internal/cmd/tests/cmd_cloud_run_test.go | 88 | require.Equal(t, "lorem ipsum", metadata.Options.Cloud.Note) |
| LOW | internal/cmd/tests/cmd_cloud_upload_test.go | 56 | // note: "lorem ipsum", |
| LOW | internal/cmd/tests/cmd_cloud_upload_test.go | 64 | // "note": "lorem ipsum", |
| LOW | internal/cmd/tests/cmd_cloud_upload_test.go | 104 | require.Equal(t, "lorem ipsum", metadata.Options.Cloud.Note) |
| LOW | internal/cmd/tests/cmd_cloud_test.go | 160 | v6test.AbortedByUserProgress("user@example.com")) |
| LOW | internal/js/modules/k6/grpc/stream_test.go | 135 | return status.Error(codes.Internal, "lorem ipsum") |
| LOW | internal/js/modules/k6/grpc/stream_test.go | 181 | "Code: 13 Message: lorem ipsum", |
| LOW | internal/js/modules/k6/websockets/websockets_test.go | 847 | throw new Error("lorem ipsum") |
| LOW | internal/js/modules/k6/websockets/websockets_test.go | 851 | assert.Equal(t, "Error: lorem ipsum at <eval>:5:10(7)", err.Error()) |
| LOW | internal/js/modules/k6/websockets/websockets_test.go | 1224 | const text string = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed pharetra sapien. Nunc laoree |
| LOW | internal/js/modules/k6/websockets/websockets_test.go | 1224 | const text string = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed pharetra sapien. Nunc laoree |
| LOW | internal/js/modules/k6/websockets/websockets_test.go | 1268 | const text string = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed pharetra sapien. Nunc laoree |
| LOW | internal/js/modules/k6/websockets/websockets_test.go | 1268 | const text string = `Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas sed pharetra sapien. Nunc laoree |
| LOW | …al/js/modules/k6/browser/tests/browser_context_test.go | 532 | "LOREM IPSUM", |
| LOW | …nal/js/modules/k6/browser/tests/static/web_vitals.html | 39 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore |
| LOW | …nal/js/modules/k6/browser/tests/static/web_vitals.html | 39 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore |
| 3 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 87 | // ┌───────────────────────────────────────────────────────────────────┐ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 91 | // └───────────────────────────────────────────────────────────────────┘ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 92 | // ┌───────────────────────────┐ │ ▲ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 95 | // │ them on incoming queue of │ ┌───────────────────────────────────────────────────────────────────┐ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 96 | // │ target session, as ├─────────────■ │ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 99 | // │ without a session ID are │ └───────────────────────────────────────────────────────────────────┘ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 102 | // └───────────────────────────┘ ▼ │ ▼ │ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 103 | // ┌───────────────────────────┐ ┌────────────────────┐ ┌────────────────────┐ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 104 | // │ Handles CDP messages on ├─────────────■ │ │ │ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 107 | // │ channel of WS connection. │ └────────────────────┘ └────────────────────┘ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 108 | // └───────────────────────────┘ │ ▲ │ ▲ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 112 | // ┌───────────────────────────┐ ┌────────────────────┐ ┌────────────────────┐ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 113 | // │Registers with session as a├─────────────■ │ │ │ |
| MEDIUM | internal/js/modules/k6/browser/common/connection.go | 116 | // └───────────────────────────┘ └────────────────────┘ └────────────────────┘ |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | internal/js/runner.go | 174 | dialer.LocalAddr = &net.TCPAddr{IP: r.Bundle.Options.LocalIPs.Pool.GetIP(ipIndex)} |
| CRITICAL | internal/js/runner.go | 888 | durationDiff := u.Runner.Bundle.Options.MinIterationDuration.TimeDuration() - totalTime |
| CRITICAL | internal/js/runner.go | 918 | if !u.Runner.Bundle.Options.NoCookiesReset.ValueOrZero() { |
| CRITICAL | .github/workflows/xk6-tests/xk6-test.js | 14 | 'summary-results.txt': data.metrics.foos.values.count.toString(), |
| CRITICAL | lib/executor/base_executor.go | 78 | if bs.executionState.Test.Options.SystemTags.Has(metrics.TagScenario) { |
| CRITICAL | lib/executor/base_executor.go | 81 | if vuID != nil && bs.executionState.Test.Options.SystemTags.Has(metrics.TagVU) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | js/modules/k6/http/request_test.go | 2070 | function handleResponseEncodingError (encoding) { |
| LOW | internal/js/summary-legacy.js | 173 | function toFixedNoTrailingZerosTrunc(val, prec) { |
| LOW | internal/js/summary-legacy.js | 235 | function nonTrendMetricValueForSum(metric, timeUnit) { |
| LOW | internal/js/summary.js | 966 | function renderMetricNameForThresholds( |
| LOW | internal/js/summary.js | 992 | function renderMetricValueForThresholds( |
| LOW | internal/js/summary.js | 1375 | function toFixedNoTrailingZerosTrunc(val, prec) { |
| LOW | internal/js/summary.js | 1448 | function nonTrendMetricValueForSum(metric, timeUnit) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 644 | function defineKeyPropWarningGetter(props, displayName) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 662 | function defineRefPropWarningGetter(props, displayName) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 680 | function warnIfStringRefCannotBeAutoConverted(config) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 1765 | function describeBuiltInComponentFrame(name, source, ownerFn) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 1789 | function describeNativeComponentFrame(fn, construct) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 1948 | function describeFunctionComponentFrame(fn, source, ownerFn) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 1959 | function describeUnknownElementTypeFrameInDEV(type, source, ownerFn) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 2012 | function setCurrentlyValidatingElement(element) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 2091 | function getDeclarationErrorAddendum() { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 2103 | function getSourceInfoErrorAddendum(source) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 2113 | function getSourceInfoErrorAddendumForProps(elementProps) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 2129 | function getCurrentComponentErrorInfo(parentType) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 2311 | function createElementWithValidation(type, props, children) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 2375 | function createFactoryWithValidation(type) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 2402 | function cloneElementWithValidation(element, props, children) { |
| LOW | …s/modules/k6/browser/tests/static/react.development.js | 3239 | function recursivelyFlushAsyncActWork(returnValue, resolve, reject) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 59 | function parentElementOrShadowHost(element) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 67 | function enclosingShadowRootOrDocument(element) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 92 | function isElementStyleVisibilityVisible(element, style) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 121 | function hasExplicitAccessibleName(e) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 388 | function hasPresentationConflictResolution(element, role) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 427 | function belongsToDisplayNoneOrAriaHiddenOrNonSlotted(element) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 510 | function getAriaLabelledByElements(element) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 539 | function getTextAlternativeInternal(element, options) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 764 | function innerAccumulatedElementText(element, options) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 873 | function belongsToDisabledFieldSet(element) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 893 | function getAccessibleNameFromAssociatedLabels(labels, options) { |
| LOW | …nal/js/modules/k6/browser/common/js/injected_script.js | 1345 | function shouldSkipForTextMatching(element) { |
| LOW | internal/js/modules/k6/webcrypto/tests/util/helpers.js | 175 | function allAlgorithmSpecifiersFor(algorithmName) { |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | cmd/state/state.go | 60 | // the k6 codebase. This gives us the ability to mock them and have robust and |
| MEDIUM | internal/cmd/root.go | 66 | # Look up the JavaScript API, examples, and best practices |
| MEDIUM | internal/ds/histogram/hdr.go | 15 | // Essentially, it excludes negative numbers. |
| MEDIUM | internal/js/initcontext_test.go | 428 | // A more robust version of this polyfill is available here: |
| MEDIUM | internal/js/modules/k6/experimental/fs/module.go | 190 | // from other modules that would want to leverage its implementation of |
| MEDIUM | internal/js/modules/k6/browser/common/element_handle.go | 809 | // TODO: look into making more robust using retries |
| MEDIUM | internal/js/modules/k6/webcrypto/subtle_crypto.go | 714 | // a `CryptoKey` object rather than an ArrayBuffer. Essentially `SubtleCrypto.DeriveKey` is composed |
| MEDIUM | internal/output/summary/summary.go | 104 | return // Essentially skip samples tagged with group: setup/teardown. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | packaging/bin/create-rpm-repo.sh | 86 | # Create the RPM repository package if it doesn't exist already. |
| MEDIUM | internal/cmd/new.go | 102 | # Create a new k6 script with the default template |
| MEDIUM | internal/cmd/new.go | 111 | # Create a script using a specific template |
| MEDIUM | internal/cmd/new.go | 114 | # Create a cloud-ready script with a specific project ID |
| MEDIUM | internal/cmd/root.go | 53 | # Create a test |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | internal/cmd/cloud_login.go | 40 | $ {{.}} cloud login -t <YOUR_TOKEN> --stack <YOUR_STACK_URL_OR_SLUG> |
| HIGH | internal/cmd/tests/cmd_run_test.go | 160 | containsOutput: fmt.Sprintf("%s cloud login -t <YOUR_TOKEN>", ts.BinaryName), |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | internal/cmd/test_load.go | 322 | // Step 1: modules that failed to load. |
| LOW | internal/cmd/test_load.go | 333 | // Step 2: all k6/x/ imports, registered or not. |
| LOW | internal/cmd/test_load.go | 342 | // Step 3: explicit version constraints from "use k6" directives in script files. |
| LOW | internal/js/modules/k6/experimental/fs/module.go | 267 | // If the read operation failed, we need to check if it was an io.EOF error |
| LOW | internal/js/modules/k6/browser/tests/page_test.go | 2585 | // We need to check if the response is JSON before calling json() |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | internal/output/prometheusrw/remotewrite/trend.go | 239 | // as requested by the Prometheus convention. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | internal/js/modules/k6/browser/browser/mapping_test.go | 52 | // to the module. This is to ensure that we don't forget to map |
| MEDIUM | …se/opentelemetry/grafana/dashboards/k6-prometheus.json | 1937 | "content": "### Visualize other k6 results \n\nAt the top of the dashboard, click `Add` and select `Visualizati |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packaging/bin/generate_index.py | 50 | except Exception as e: |
| LOW | packaging/bin/generate_index.py | 380 | except Exception as e: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .github/workflows/summary-code-generation.yml | 42 | # Check if there are any changes in the Git working directory |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | packaging/bin/generate_index.py | 36 |