AI Slop Code RIsk Monitor

mock-server/mockserver-monorepo

MockServer is an HTTP(S) mock server and proxy for testing that lets you mock APIs, inspect and modify live traffic, and inject failures. It supports HTTP/1.1, HTTP/2, gRPC, WebSockets, TCP and more on a single port, with additional support for HTTP/3, message brokers, and AI/LLM APIs.

7.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for mock-server/mockserver-monorepo, a Java project with 4,987 GitHub stars. SynthScan examined 1,478,592 lines of code across 6278 source files, recording 4851 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 7.5 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

7.5
Adjusted Signal
7.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.0K
Stars
Java
Language
1.5M
Lines of Code
6.3K
Files
4.9K
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 10.9/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 3080 finding(s).

Hallucinated Dependency & Supply Chain Risk 13.7/100 · LOW

Are imports declared and package/API names verified? 672 finding(s).

Agent Over-Engineering Ratio 14.9/100 · LOW

Are wrappers, guards, and repeated structures necessary? 2605 finding(s).

PR Review Velocity Impact 31.3/100 · MEDIUM

Which changes need focused human review? 4851 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 407HIGH 29MEDIUM 1223LOW 3192

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 4851 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators407 hits · 4130 pts
SeverityFileLineSnippetContext
CRITICAL…com/mockserver/jetbrains/ContractTestRestClientTest.kt23 override fun onNext(item: java.nio.ByteBuffer) { sb.append(java.nio.charset.StandardCharsets.UTF_8.decode(itCODE
CRITICAL…n/com/mockserver/jetbrains/MockServerRestClientTest.kt24 override fun onNext(item: java.nio.ByteBuffer) { sb.append(java.nio.charset.StandardCharsets.UTF_8.decode(itCODE
CRITICAL…kotlin/com/mockserver/jetbrains/ChaosRestClientTest.kt15 override fun onNext(item: java.nio.ByteBuffer) { sb.append(java.nio.charset.StandardCharsets.UTF_8.decode(itCODE
CRITICAL…lin/com/mockserver/jetbrains/BreakpointProtocolTest.kt31 override fun onNext(item: java.nio.ByteBuffer) { sb.append(java.nio.charset.StandardCharsets.UTF_8.decode(itCODE
CRITICAL…rc/main/kotlin/com/mockserver/jetbrains/JcefSupport.kt37 com.intellij.ui.jcef.JBCefApp.isSupported()CODE
CRITICAL…rver/testcontainers/MockServerContainerConfigTest.java27 String version = org.mockserver.client.MockServerClient.class.getPackage().getImplementationVersion();CODE
CRITICAL…rver/testcontainers/MockServerContainerConfigTest.java198 org.junit.jupiter.api.Assertions.assertThrows(CODE
CRITICAL…/mockserver/testcontainers/PinnedImageVersionTest.java117 return org.mockserver.client.MockServerClient.class.getPackage().getImplementationVersion();CODE
CRITICALmockserver/mockserver-netty/pom.xml144 io.netty.channel.epoll.Epoll.isAvailable(). Runtime-only; on non-LinuxCODE
CRITICAL…kserver/codec/BoundedZstdResponseDecompressorTest.java80 byte[] bomb = com.github.luben.zstd.Zstd.compress(new byte[64 * 1024 * 1024], 3);CODE
CRITICAL…kserver/codec/BoundedZstdResponseDecompressorTest.java81 assertThat(com.github.luben.zstd.Zstd.getFrameContentSize(bomb), is(64L * 1024 * 1024));CODE
CRITICAL…kserver/codec/BoundedZstdResponseDecompressorTest.java102 channel.writeInbound(zstdResponse(com.github.luben.zstd.Zstd.compress(plain, 3)));CODE
CRITICAL…kserver/codec/BoundedZstdResponseDecompressorTest.java166 decoder.writeInbound(Unpooled.wrappedBuffer(com.github.luben.zstd.Zstd.compress(plain, 3)));CODE
CRITICAL…r/codec/MockServerHttpContentDecompressorZstdTest.java74 byte[] bomb = com.github.luben.zstd.Zstd.compress(new byte[64 * 1024 * 1024], 3);CODE
CRITICAL…r/codec/MockServerHttpContentDecompressorZstdTest.java75 assertThat(com.github.luben.zstd.Zstd.getFrameContentSize(bomb), is(64L * 1024 * 1024));CODE
CRITICAL…r/codec/MockServerHttpContentDecompressorZstdTest.java99 channel.writeInbound(zstdRequest(com.github.luben.zstd.Zstd.compress(plain, 3)));CODE
CRITICAL…r/lifecycle/EventLogRetainedCopiesIntegrationTest.java138 .POST(java.net.http.HttpRequest.BodyPublishers.ofString(body, StandardCharsets.UTF_8))CODE
CRITICAL…r/lifecycle/EventLogRetainedCopiesIntegrationTest.java140 java.net.http.HttpResponse.BodyHandlers.ofString(StandardCharsets.UTF_8));CODE
CRITICAL…cle/EventLogTruncatedBodyRetentionIntegrationTest.java115 .POST(java.net.http.HttpRequest.BodyPublishers.ofString(BODY))CODE
CRITICAL…cle/EventLogTruncatedBodyRetentionIntegrationTest.java117 java.net.http.HttpResponse.BodyHandlers.discarding()).statusCode();CODE
CRITICAL…ver/netty/DirectMemoryLimitForwardIntegrationTest.java86 System.out.println("netty maxDirectMemory=" + io.netty.util.internal.PlatformDependent.maxDirectMemory()CODE
CRITICAL⚡…r/netty/ForwardConnectionPoolLoopbackCallbackTest.java337 ch.pipeline().addLast(new io.netty.handler.codec.http.HttpServerCodec());CODE
CRITICAL⚡…r/netty/ForwardConnectionPoolLoopbackCallbackTest.java338 ch.pipeline().addLast(new io.netty.handler.codec.http.HttpObjectAggregator(64 * 1024));CODE
CRITICAL⚡…r/netty/ForwardConnectionPoolLoopbackCallbackTest.java345 io.netty.handler.codec.http.FullHttpResponse response = new io.netty.handler.codCODE
CRITICAL…/netty/unification/PortUnificationH2cPipelineTest.java136 org.mockserver.socket.tls.SniHandler.getALPNProtocol(new MockServerLogger(), channel.pipeline().firstConCODE
CRITICAL…oxy/relay/RelayConnectUnconfiguredTunnelCloseTest.java286 assertThat(logged.stream().filter(entry -> entry.getLogLevel().toInt() >= org.slf4j.event.Level.WARN.toInt()).maCODE
CRITICAL…ckserver/netty/grpc/GrpcToHttpResponseHandlerTest.java969 channel.writeAndFlush(new io.netty.handler.codec.http.DefaultHttpResponse(CODE
CRITICAL…tty/integration/Http3NativeStartupIntegrationTest.java212 return io.netty.util.internal.PlatformDependent.normalizedOs() + "-" + io.netty.util.internal.PlatformDependent.CODE
CRITICAL…plane/MockServerClientWebSocketTlsIntegrationTest.java187 java.net.http.HttpResponse.BodyHandlers.ofString()CODE
CRITICAL…ebsocket/WebSocketProxyPassthroughIntegrationTest.java176 io.netty.handler.ssl.util.SelfSignedCertificate selfSigned = new io.netty.handler.ssl.util.SelfSignedCertificateCODE
CRITICAL…ebsocket/WebSocketProxyPassthroughIntegrationTest.java340 uri, WebSocketVersion.V13, null, true, new io.netty.handler.codec.http.DefaultHttpHeaders(), 65536);CODE
CRITICAL…ebsocket/WebSocketProxyPassthroughIntegrationTest.java342 ? io.netty.handler.ssl.SslContextBuilder.forClient().trustManager(InsecureTrustManagerFactory.INSTANCE).CODE
CRITICAL…ebsocket/WebSocketProxyPassthroughIntegrationTest.java462 ctx.pipeline().addBefore(ctx.name(), "httpClientCodec", new io.netty.handler.codec.http.HttpClientCodec());CODE
CRITICAL…y/http/ZstdResponseAllocationBoundIntegrationTest.java85 private static final byte[] DECLARES_TWO_GIB_THEN_AN_EVENT = concat(DECLARES_TWO_GIB, com.github.luben.zstd.Zstd.comCODE
CRITICAL…y/http/ZstdResponseAllocationBoundIntegrationTest.java87 private static final byte[] PLAIN_ZSTD = com.github.luben.zstd.Zstd.compress(PLAIN, 3);CODE
CRITICAL…y/http/ZstdResponseAllocationBoundIntegrationTest.java104 assertThat(com.github.luben.zstd.Zstd.getFrameContentSize(DECLARES_TWO_GIB), is((long) Integer.MAX_VALUE));CODE
CRITICAL…/proxy/http/ForwardContentEncodingIntegrationTest.java469 .POST(java.net.http.HttpRequest.BodyPublishers.ofByteArray(body));CODE
CRITICAL…/proxy/http/ForwardContentEncodingIntegrationTest.java793 return io.netty.handler.codec.quic.Quic.isAvailable();CODE
CRITICAL…http/ConnectProxyStreamingResponseIntegrationTest.java334 .POST(java.net.http.HttpRequest.BodyPublishers.ofByteArray(body));CODE
CRITICAL…http/ConnectProxyStreamingResponseIntegrationTest.java339 java.net.http.HttpResponse<InputStream> response = client.send(request.build(), java.net.http.HttpResponse.BodyHCODE
CRITICAL…proxy/http/NoContentTypeBinaryBodyIntegrationTest.java225 .POST(java.net.http.HttpRequest.BodyPublishers.ofByteArray(body));CODE
CRITICAL…proxy/http/NoContentTypeBinaryBodyIntegrationTest.java325 .PUT(java.net.http.HttpRequest.BodyPublishers.ofByteArray("{\"httpRequest\":{\"path\":\"/control-plane-latinCODE
CRITICAL…proxy/http/NoContentTypeBinaryBodyIntegrationTest.java329 .PUT(java.net.http.HttpRequest.BodyPublishers.ofByteArray("# café\ntype Query { hello: String }".getBytes(StCODE
CRITICAL…proxy/http/ConnectRelayStreamErrorIntegrationTest.java105 assertThrows("the zstd body is corrupt", RuntimeException.class, () -> com.github.luben.zstd.Zstd.decompress(CORCODE
CRITICAL…y/integration/mock/TrafficValidateIntegrationTest.java159 org.apache.commons.io.IOUtils.toString(socket.getInputStream(), java.nio.charset.StandardCharsets.UTF_8);CODE
CRITICAL…y/integration/mock/TrafficValidateIntegrationTest.java184 org.apache.commons.io.IOUtils.toString(socket.getInputStream(), java.nio.charset.StandardCharsets.UTF_8);CODE
CRITICAL…etty/integration/mock/OidcProviderIntegrationTest.java202 com.nimbusds.jose.jwk.RSAKey rsaKey = new com.nimbusds.jose.jwk.gen.RSAKeyGenerator(2048)CODE
CRITICAL…ration/mock/OperatingModeDataPlaneIntegrationTest.java159 return org.apache.commons.io.IOUtils.toString(socket.getInputStream(), StandardCharsets.UTF_8);CODE
CRITICAL…/responsewriter/MockStreamBreakpointWritePathTest.java429 return org.mockserver.mock.breakpoint.PausedStreamFrame.Direction.OUTBOUND.name();CODE
CRITICAL…java/org/mockserver/netty/mcp/McpToolRegistryTest.java52 org.mockserver.mock.action.http.ServiceChaosRegistry.getInstance().reset();CODE
CRITICAL⚡…java/org/mockserver/netty/mcp/McpToolRegistryTest.java227 assertThat(org.mockserver.mock.action.http.ServiceChaosRegistry.getInstance().get("payments.svc"), is(notNulCODE
CRITICAL⚡…java/org/mockserver/netty/mcp/McpToolRegistryTest.java235 assertThat(org.mockserver.mock.action.http.ServiceChaosRegistry.getInstance().get("payments.svc"), is(nullVaCODE
CRITICAL⚡…java/org/mockserver/netty/mcp/McpToolRegistryTest.java237 org.mockserver.mock.action.http.ServiceChaosRegistry.getInstance().reset();CODE
CRITICAL…java/org/mockserver/netty/mcp/McpToolRegistryTest.java252 assertThat(org.mockserver.mock.action.http.ServiceChaosRegistry.getInstance().get("payments.svc"), is(nullValue(CODE
CRITICAL…etty/breakpoint/BreakpointEndToEndIntegrationTest.java114 java.net.http.HttpResponse.BodyHandlers.ofString()CODE
CRITICAL…etty/breakpoint/BreakpointEndToEndIntegrationTest.java153 java.net.http.HttpResponse.BodyHandlers.ofString()CODE
CRITICAL…ty/http3/Http3RequestDecompressionIntegrationTest.java153 .POST(java.net.http.HttpRequest.BodyPublishers.ofByteArray(compressed))CODE
CRITICAL…ty/http3/Http3RequestDecompressionIntegrationTest.java409 io.netty.handler.codec.quic.Quic.isAvailable()CODE
CRITICAL…rver/netty/http3/Http3HeadResponseIntegrationTest.java175 available = io.netty.handler.codec.quic.Quic.isAvailable();CODE
CRITICAL…ava/org/mockserver/netty/http3/Http3LifecycleTest.java145 return org.mockserver.testing.socket.TestPortFactory.findFreeUdpPort();CODE
347 more matches not shown…
Decorative Section Separators1030 hits · 3191 pts
SeverityFileLineSnippetContext
MEDIUM…server-performance-test/scripts/multi-process-sweep.sh4# ---------------------------------------------------------------------------COMMENT
MEDIUM…server-performance-test/scripts/multi-process-sweep.sh81# ---------------------------------------------------------------------------COMMENT
MEDIUMmockserver-performance-test/stack/inject/run-inject.sh4# ==============================================================================COMMENT
MEDIUMmockserver-performance-test/stack/inject/run-inject.sh31# ==============================================================================COMMENT
MEDIUMmockserver-performance-test/stack/inject/run-inject.sh359# ==============================================================================COMMENT
MEDIUMmockserver-performance-test/stack/inject/run-inject.sh370# ==============================================================================COMMENT
MEDIUMmockserver-performance-test/stack/inject/run-inject.sh436# ==============================================================================COMMENT
MEDIUMmockserver-performance-test/stack/inject/run-inject.sh439# ==============================================================================COMMENT
MEDIUMmockserver-performance-test/stack/inject/run-inject.sh486# ==============================================================================COMMENT
MEDIUMmockserver-performance-test/stack/inject/run-inject.sh494# ==============================================================================COMMENT
MEDIUMmockserver-performance-test/stack/inject/run-inject.sh575# ==============================================================================COMMENT
MEDIUMmockserver-performance-test/stack/inject/run-inject.sh578# ==============================================================================COMMENT
MEDIUMterraform/website/dnssec.tf29# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/website/dnssec.tf35# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/website/dnssec.tf97# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/website/dnssec.tf99# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/website/dnssec.tf112# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/website/dnssec.tf120# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/website/binaries.tf1# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/website/binaries.tf3# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/website/binaries.tf15# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/dependency-cache.tf1# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/dependency-cache.tf3# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/dependency-cache.tf33# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/dependency-cache.tf42# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/dependency-cache.tf99# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/dependency-cache.tf101# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡terraform/buildkite-agents/build-secrets.tf1# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡terraform/buildkite-agents/build-secrets.tf3# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/build-secrets.tf24# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡terraform/buildkite-agents/binaries-publish.tf1# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡terraform/buildkite-agents/binaries-publish.tf3# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡terraform/buildkite-agents/binaries-publish.tf13# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/ecr-pull-through-cache.tf1# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/ecr-pull-through-cache.tf3# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/ecr-pull-through-cache.tf49# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡terraform/buildkite-agents/perf-results.tf1# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡terraform/buildkite-agents/perf-results.tf3# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡terraform/buildkite-agents/perf-results.tf11# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/perf-results.tf68# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-agents/perf-results.tf70# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/buildkite-pipelines/clusters.tf2# -----------------------------------------------------------------------------COMMENT
MEDIUMterraform/ses-email-forwarding/s3.tf1# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/s3.tf3# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/s3.tf50# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/s3.tf52# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/lambda.tf1# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/lambda.tf3# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/lambda.tf39# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/lambda.tf41# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡terraform/ses-email-forwarding/lambda.tf113# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡terraform/ses-email-forwarding/lambda.tf115# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡terraform/ses-email-forwarding/lambda.tf125# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡terraform/ses-email-forwarding/lambda.tf127# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/monitoring.tf6# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/monitoring.tf8# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/monitoring.tf53# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/monitoring.tf55# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/ses.tf1# ──────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMterraform/ses-email-forwarding/ses.tf3# ──────────────────────────────────────────────────────────────────────────────COMMENT
970 more matches not shown…
Hyper-Verbose Identifiers1503 hits · 1404 pts
SeverityFileLineSnippetContext
LOWmockserver-client-node/mockServerClient.js563 requestAndResponseCallback: function requestAndResponseCallback(callback) {CODE
LOWmockserver-client-node/webSocketClient.js370 requestAndResponseCallback: function requestAndResponseCallback(callback) {CODE
LOW…r-client-node/test/no_proxy/breakpoint_routing_test.js31function makeRequestAndResponsePayload(httpRequest, httpResponse) {CODE
LOW…lient-node/examples/callback_action_examples/server.js54function createExpectationWithinObjectCallback() {CODE
LOW…kserver-client-node/examples/client_examples/server.js99function verifyRequestsReceiveAtLeastTwice() {CODE
LOW…kserver-client-node/examples/client_examples/server.js116function verifyRequestsReceiveAtMostTwice() {CODE
LOW…kserver-client-node/examples/client_examples/server.js133function verifyRequestsReceiveExactlyTwice() {CODE
LOW…kserver-client-node/examples/client_examples/server.js150function verifyRequestsReceiveAtLeastTwiceByOpenAPI() {CODE
LOW…kserver-client-node/examples/client_examples/server.js167function verifyRequestsReceiveExactlyOnceByOpenAPIWithOperation() {CODE
LOW…kserver-client-node/examples/client_examples/server.js185function verifyRequestsReceiveExactlyOnceByExpectationIds() {CODE
LOW…kserver-client-node/examples/client_examples/server.js226function verifyRequestSequenceUsingOpenAPI() {CODE
LOW…kserver-client-node/examples/client_examples/server.js252function verifyRequestSequenceUsingExpectationIds() {CODE
LOW…kserver-client-node/examples/client_examples/server.js293function retrieveRecordedLogMessages() {CODE
LOW…kserver-client-node/examples/client_examples/server.js311function clearWithRequestPropertiesMatcher() {CODE
LOW…kserver-client-node/examples/client_examples/server.js327function clearWithOpenAPIRequestMatcher() {CODE
LOW…kserver-client-node/examples/client_examples/server.js358function clearRequestsAndLogsWithRequestPropertiesMatcher() {CODE
LOW…kserver-client-node/examples/client_examples/server.js374function clearRequestAndLogsWithOpenAPIRequestMatcher() {CODE
LOW…-node/examples/openapi_expectations_examples/server.js1function matchRequestByOpenAPILoadedByHttpUrl() {CODE
LOW…-node/examples/openapi_expectations_examples/server.js15function matchRequestByOpenAPIOperation() {CODE
LOW…-node/examples/openapi_expectations_examples/server.js33function matchRequestByOpenAPILoadedByFileUrl() {CODE
LOW…-node/examples/openapi_expectations_examples/server.js49function matchRequestByOpenAPILoadedByClasspathLocation() {CODE
LOW…-node/examples/openapi_expectations_examples/server.js65function matchRequestByOpenAPILoadedByJsonLiteral() {CODE
LOW…-node/examples/openapi_expectations_examples/server.js86function matchRequestByOpenAPILoadedByYamlLiteral() {CODE
LOW…client-node/examples/forward_action_examples/server.js67function forwardOverriddenRequestAndChangeReponse() {CODE
LOW…client-node/examples/forward_action_examples/server.js94function forwardOverriddenRequestAndChangeHostAndPort() {CODE
LOW…client-node/examples/forward_action_examples/server.js123function forwardOverriddenRequestWithDelay() {CODE
LOW…client-node/examples/forward_action_examples/server.js148function javascriptTemplatedForward() {CODE
LOW…client-node/examples/forward_action_examples/server.js177function javascriptTemplatedForwardWithDelay() {CODE
LOW…lient-node/examples/response_action_examples/server.js1function responseLiteralWithBodyOnly() {CODE
LOW…lient-node/examples/response_action_examples/server.js68function responseLiteralWithHeader() {CODE
LOW…lient-node/examples/response_action_examples/server.js88function responseLiteralWithCookie() {CODE
LOW…lient-node/examples/response_action_examples/server.js111function responseLiteralWithStatusCodeAndReasonPhrase() {CODE
LOW…lient-node/examples/response_action_examples/server.js132function responseLiteralWithBinaryPNGBody() {CODE
LOW…lient-node/examples/response_action_examples/server.js182function respondDifferentlyForSameRequest() {CODE
LOW…lient-node/examples/response_action_examples/server.js225function responseLiteralWithConnectionOptionsToSuppressHeaders() {CODE
LOW…lient-node/examples/response_action_examples/server.js248function responseLiteralWithConnectionOptionsToOverrideHeaders() {CODE
LOW…lient-node/examples/response_action_examples/server.js271function responseLiteralWithConnectionOptionsToCloseSocket() {CODE
LOW…lient-node/examples/response_action_examples/server.js293function javascriptTemplatedResponse() {CODE
LOW…lient-node/examples/response_action_examples/server.js328function javascriptTemplatedResponseWithDelay() {CODE
LOW…lient-node/examples/response_action_examples/server.js357function velocityTemplatedResponse() {CODE
LOW…amples/retrieve_active_expectations_examples/server.js1function retrieveAllActiveExpectations() {CODE
LOW…amples/retrieve_active_expectations_examples/server.js15function retrieveActiveExpectationsUsingRequestMatcher() {CODE
LOW…amples/retrieve_active_expectations_examples/server.js30function retrieveActiveExpectationsInJson() {CODE
LOW…ples/retrieve_recorded_expectations_examples/server.js1function retrieveAllRecordedExpectations() {CODE
LOW…ples/retrieve_recorded_expectations_examples/server.js15function retrieveRecordedExpectationsUsingRequestMatcher() {CODE
LOW…ples/retrieve_recorded_expectations_examples/server.js30function retrieveRecordedExpectationsInJson() {CODE
LOW…eve_recorded_requests_and_responses_examples/server.js1function retrieveAllRecordedRequests() {CODE
LOW…eve_recorded_requests_and_responses_examples/server.js15function retrieveRecordedRequestsUsingRequestMatcher() {CODE
LOW…eve_recorded_requests_and_responses_examples/server.js30function retrieveRecordedRequestsInJson() {CODE
LOW…examples/request_properties_matcher_examples/server.js20function matchRequestByPathExactlyTwice() {CODE
LOW…examples/request_properties_matcher_examples/server.js94function matchRequestByNotMatchingPath() {CODE
LOW…examples/request_properties_matcher_examples/server.js114function matchRequestByMethodRegex() {CODE
LOW…examples/request_properties_matcher_examples/server.js133function matchRequestByNotMatchingMethod() {CODE
LOW…examples/request_properties_matcher_examples/server.js153function matchRequestByPathAndPathParametersAndQueryParametersName() {CODE
LOW…examples/request_properties_matcher_examples/server.js178function matchRequestByPathParameterRegexValue() {CODE
LOW…examples/request_properties_matcher_examples/server.js200function matchRequestByPathParameterJsonSchemaValue() {CODE
LOW…examples/request_properties_matcher_examples/server.js232function matchRequestByQueryParameterRegexName() {CODE
LOW…examples/request_properties_matcher_examples/server.js254function matchRequestByQueryParameterRegexValue() {CODE
LOW…examples/request_properties_matcher_examples/server.js276function matchRequestByOptionalQueryParameterRegexValue() {CODE
LOW…examples/request_properties_matcher_examples/server.js309function matchRequestByQueryParameterJsonSchemaValue() {CODE
1443 more matches not shown…
Over-Commented Block1156 hits · 1052 pts
SeverityFileLineSnippetContext
LOWpackaging/sdkman/candidate.yaml1# SDKMAN! candidate metadata for MockServer CLI.COMMENT
LOWpackaging/homebrew/mockserver.rb1# Homebrew formula for the self-contained MockServer CLI bundle.COMMENT
LOWmockserver-performance-test/legacy/locustfile.py41COMMENT
LOW…server-performance-test/scripts/multi-process-sweep.sh1#!/usr/bin/env bashCOMMENT
LOW…server-performance-test/scripts/multi-process-sweep.sh21# k6's VU pool was 3/4 idle (vus_concurrent_overall_max 669 of 4,000).COMMENT
LOW…server-performance-test/scripts/multi-process-sweep.sh41# gap, which is exactly the flaw the programme keeps hitting: an instrumentCOMMENT
LOW…server-performance-test/scripts/multi-process-sweep.sh61# (stdout, or the file named by $1). CI wiring (an env-gated call + a NON-gatingCOMMENT
LOW…server-performance-test/scripts/multi-process-sweep.sh81# ---------------------------------------------------------------------------COMMENT
LOWmockserver-performance-test/scripts/runK6.sh1#!/usr/bin/env bashCOMMENT
LOWmockserver-performance-test/k6/proxy.js1// Proxy-path + TLS-handshake scenario — performance-programme items 9a and 14.COMMENT
LOWmockserver-performance-test/k6/proxy.js21// by four orders of magnitude) lived in the SCENARIO SHAPE, so all of its defencesCOMMENT
LOWmockserver-performance-test/k6/growth.js1// Resource-growth scenario — surfaces "X increases over time" regressions that aCOMMENT
LOWmockserver-performance-test/k6/coverage.js1// Path-coverage arms — request paths the regression, sweep and proxy scripts neverCOMMENT
LOWmockserver-performance-test/k6/regression.js1// Regression scenario — the periodic-pipeline workhorse. Measures responseCOMMENT
LOWmockserver-performance-test/k6/regression.js21// notify-only (non-gating) metric until it earns >=10 clean runs of history.COMMENT
LOWmockserver-performance-test/k6/regression.js61 postLargeBody,COMMENT
LOWmockserver-performance-test/k6/regression.js141}COMMENT
LOWmockserver-performance-test/k6/regression.js221// thresholds. The >=0 expressions never fail (notify-only) but force k6 toCOMMENT
LOWmockserver-performance-test/k6/regression.js381 // Suppress the latency AND delivery statistics for a low-sample arm: belowCOMMENT
LOWmockserver-performance-test/k6/streaming.js1// LLM/SSE streaming under concurrency — performance-programme item 12.COMMENT
LOWmockserver-performance-test/k6/streaming.js21// The observable saturation signal is therefore delayed-task execution (theCOMMENT
LOWmockserver-performance-test/k6/load.js1// Load test — the primary gated scenario. Closed-loop (arrival-rate) load soCOMMENT
LOWmockserver-performance-test/k6/clustered_crossing.js1// Clustered per-request-CROSSING arm (item 13, MAJOR-1 fix).COMMENT
LOWmockserver-performance-test/k6/clustered_crossing.js21// THIS arm is the real per-request network cost — the number item 13 exists toCOMMENT
LOWmockserver-performance-test/k6/soak.js1// Soak test — sustained moderate load over a long duration (default 2h) toCOMMENT
LOWmockserver-performance-test/k6/soak.js21//COMMENT
LOWmockserver-performance-test/k6/soak.js221 },COMMENT
LOWmockserver-performance-test/k6/sweep.js1// Throughput-vs-latency sweep — measures the "knee" of MockServer's load curve.COMMENT
LOWmockserver-performance-test/k6/sweep.js21//COMMENT
LOWmockserver-performance-test/k6/sweep.js41// 198 VUs really idle?). Sampled from k6's execution APICOMMENT
LOWmockserver-performance-test/k6/sweep.js61// iteration (a drop never runs VU code, by definition),COMMENT
LOWmockserver-performance-test/k6/sweep.js201const STALL_MS = Number(__ENV.K6_SWEEP_STALL_MS || 5);COMMENT
LOWmockserver-performance-test/k6/sweep.js301 // or median cannot locate a tail); p99.9 is omitted because a per-phase p99.9COMMENT
LOWmockserver-performance-test/k6/sweep.js541 // Completed-request count for THIS rung. Additive field (older/otherCOMMENT
LOWmockserver-performance-test/k6/sweep.js561 p999_ms: round(fv['p(99.9)']),COMMENT
LOWmockserver-performance-test/k6/sweep.js581 // 1-2 against a pool of 200 reads the same either way — so it is recordedCOMMENT
LOWmockserver-performance-test/k6/sweep.js641 // vus_active_* and stall_time_buckets.COMMENT
LOWmockserver-performance-test/k6/forward.js1// Forward-path load test — a dedicated REGRESSION GUARD for the upstreamCOMMENT
LOWmockserver-performance-test/k6/forward.js21// - SUT (:1080): the instance under measurement; built from THIS worktree soCOMMENT
LOWmockserver-performance-test/k6/forward.js41// '[{"httpRequest":{"path":"/simple"},"httpResponse":{"statusCode":200,"body":"some simple response"},"times":{"unlCOMMENT
LOWmockserver-performance-test/k6/steady.js1// Steady-state latency probe — see docs/code/performance-measurement.md ->COMMENT
LOWmockserver-performance-test/k6/lib/config.js1// Shared k6 configuration for the MockServer performance suite.COMMENT
LOWmockserver-performance-test/k6/lib/config.js141// number is "latency under fixed load" — the only thing comparable across runsCOMMENT
LOWmockserver-performance-test/k6/lib/config.js161 // It is a RAISE of the old preAllocatedVUs (20 -> 50) and, more importantly, aCOMMENT
LOWmockserver-performance-test/k6/lib/config.js181 // run can PROVE the measured percentiles still track a real server slowdownCOMMENT
LOWmockserver-performance-test/k6/lib/config.js201 // per-arm regression history — the cross-engine rate need not match velocity.COMMENT
LOWmockserver-performance-test/k6/lib/config.js221 // ring of `maxLogEntries` entries, holding the FULL body of each. On the 2 GB CICOMMENT
LOWmockserver-performance-test/k6/lib/config.js241 // away. RETENTION is bounded at the SERVER instead: maxEventLogSizeInBytes, a body-byteCOMMENT
LOWmockserver-performance-test/k6/lib/config.js261 // File-backed RESPONSE body arm (FileBodyMaterialiser path). OFF unless aCOMMENT
LOWmockserver-performance-test/k6/lib/config.js281COMMENT
LOWmockserver-performance-test/k6/lib/config.js301 // rung-onset transient; see docs/code/performance-measurement.md.COMMENT
LOWmockserver-performance-test/k6/lib/config.js321 // pool = clamp(ceil(rate * vuPerRps), vuFloor, vuCeiling)COMMENT
LOWmockserver-performance-test/k6/lib/config.js341 // rig_valid regardless of pool.COMMENT
LOWmockserver-performance-test/k6/lib/config.js361 // * HONEST RESIDUAL: the recorded per-rung demand at 32k-64k isCOMMENT
LOWmockserver-performance-test/k6/lib/config.js421// REGRESSION GUARD for the upstream connection-pool defaultCOMMENT
LOWmockserver-performance-test/k6/lib/config.js441 // gate (the actual pool-regression signal) reuses K6_MAX_ERROR_RATE.COMMENT
LOWmockserver-performance-test/k6/lib/config.js461// handshake — MockServer's INBOUND TLS handshake cost (item 14). k6 hits the SUTCOMMENT
LOWmockserver-performance-test/k6/lib/config.js481 // the SUT's count-bounded log ring, holding request + response bodies. Here theCOMMENT
LOWmockserver-performance-test/k6/lib/config.js501 // Self-test knob (default 0 = off): a fixed server-side delay (ms) on the upstreamCOMMENT
LOWmockserver-performance-test/k6/lib/config.js521 // Required only when mtlsUrl is set; without them the mTLS handshake is rejectedCOMMENT
1096 more matches not shown…
AI Slop Vocabulary139 hits · 426 pts
SeverityFileLineSnippetContext
MEDIUM…server-performance-test/scripts/multi-process-sweep.sh26# pipeline + Go GC), NOT the server. This harness tests that directly byCOMMENT
MEDIUM…server-performance-test/scripts/multi-process-sweep.sh55# HOSTS or the limit is server-internal. The harness SAYS which, it does notCOMMENT
MEDIUM…server-performance-test/scripts/multi-process-sweep.sh60# NOT A GATE. This harness only measures. It emits a self-describing JSON blockCOMMENT
MEDIUM…server-performance-test/scripts/multi-process-sweep.sh87# READ here (never edited); path overridable so the harness is not wedded to aCOMMENT
MEDIUM…ckserver-performance-test/scripts/rw-multi-k6-sweep.sh706 # Ends with its parent too: a SIGKILLed harness runs no cleanup to kill it.COMMENT
MEDIUMmockserver-performance-test/k6/proxy.js156// measured-window start, robust regardless of which VU runs the iteration.COMMENT
MEDIUMmockserver-performance-test/k6/regression.js212// (ms) against the scenario's known measured-window start — robust regardless ofCOMMENT
MEDIUMmockserver-performance-test/k6/soak.js123// The window a request is sent in, from the wall-clock elapsed time (robustCOMMENT
MEDIUMmockserver-performance-test/stack/inject/envoy.yaml1# Envoy as a near-infinite HTTP sink for the MockServer load-injection harness.COMMENT
MEDIUM…server.com/mock_server/load_injection_performance.html66<p>This page is about MockServer as a <strong>load generator</strong> &mdash; how much outbound traffic its built-in <a CODE
MEDIUM…rver.com/mock_server/_includes/stateful_scenarios.html1193# Trigger the failure from the test harness:COMMENT
MEDIUM…client-ruby/spec/mockserver/roundtrip_fidelity_spec.rb5# Cross-language JSON round-trip fidelity harness (Ruby port).COMMENT
MEDIUM.opencode/evals/run-evals.sh2# Offline evaluation harness for AI components.COMMENT
MEDIUM.opencode/evals/run-evals.sh3# See .opencode/rules/evaluation-harness.md and .opencode/evals/README.mdCOMMENT
MEDIUMmockserver-ui/package-lock.json5454 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMmockserver-ui/src/components/MetricsLineChart.tsx145 // plain indices (keeps the component robust if a caller omits timestamps).COMMENT
MEDIUMcontainer_integration_tests/integration_tests.sh28# that a no-op). Echoes "true" if the harness created the file (caller removes itCOMMENT
MEDIUMcontainer_integration_tests/integration_tests.sh122# was never built by the harness at all — so the sidecar case always skipped,COMMENT
MEDIUMcontainer_integration_tests/integration_tests.sh643 # run_all_tests() branches on, so the guard tracks the harness exactly.COMMENT
MEDIUMcontainer_integration_tests/integration_tests.sh692 # the harness without a matching manifest line.COMMENT
MEDIUMcontainer_integration_tests/integration_tests.sh935 # FAIL_LOG, so a suite where NOTHING was recorded — harness crash, dockerCOMMENT
MEDIUM…ration_tests/helm_jgroups_dns_ping/integration_test.sh25# Blocking. Requires the -clustered image; the harness SKIPs this case when theCOMMENT
MEDIUM…ation_tests/docker_compose_metrics/integration_test.sh15# wait_ready is now provided by the shared docker-compose.sh harness.COMMENT
MEDIUM…n_tests/helm_clustered_convergence/integration_test.sh13# convergence failure reds the suite. The harness gates this case on theCOMMENT
MEDIUM…n_tests/helm_clustered_convergence/integration_test.sh319 # The harness only reaches this case when the -clustered image is present (itCOMMENT
MEDIUM…ation_tests/helm_sidecar_injection/integration_test.sh24# Requires the webhook handler image; the harness only invokes this case whenCOMMENT
MEDIUM…ation_tests/helm_sidecar_injection/integration_test.sh41# Image refs — provided by the harness. Fall back to sensible local defaults soCOMMENT
MEDIUM…egration/mock/Http2MultiplexGoAwayIntegrationTest.java202 // user event; accept it here too so the capture is robust.COMMENT
MEDIUMmockserver/mockserver-benchmark/run-h2-multiplex.sh17# The harness self-validates and exits NON-ZERO (code 2, "HARNESS VALIDATION FAILED")COMMENT
MEDIUM…erver/mockserver-benchmark/run-h2-connection-memory.sh5# Adds the CONNECTIONS axis the throughput harness (run-h2-multiplex.sh) lacks: N connections x MCOMMENT
MEDIUM…erver/mockserver-benchmark/run-h2-connection-memory.sh18# The harness self-validates and exits NON-ZERO (code 2, "HARNESS VALIDATION FAILED") on any integrityCOMMENT
MEDIUM…kserver/mockserver-benchmark/run-connection-ceiling.sh75# ceiling this harness "finds"; on Linux the same flag would lower the limit instead of raising it.COMMENT
MEDIUM…kserver/mockserver-benchmark/run-connection-ceiling.sh93# ${FIRST_PORT} made this harness report ready against a DIFFERENT server: an unrelated MockServerCOMMENT
MEDIUM…mockserver/benchmark/CandidateIndexChurnBenchmark.java229 // cannot see. The rebuild sample is made robust against writer starvation inCOMMENT
MEDIUM…kserver/llm/analysis/LlmOptimisationReportBuilder.java547 // Prefer the request body's model field; LlmProviderSniffer already has a robust reader.COMMENT
MEDIUM…/src/main/java/org/mockserver/mock/CandidateIndex.java149 // robust even if the matcher's state changed between add and remove.COMMENT
MEDIUMexamples/curl/scenario/external_trigger.sh2# Triggered scenario flow - drive a state change from a test harness.COMMENT
MEDIUMexamples/curl/scenario/external_trigger.sh6# until the harness triggers the "Down" state, after which it returns 503.COMMENT
MEDIUMscripts/buildkite_quick_build.sh56# images — which is what lets the perf harness's item-13 clustered A/B run at all.COMMENT
MEDIUMscripts/build-standalone-binary.sh73 # First <version> outside any <parent> block = the project version (robust if a <parent> with itsCOMMENT
MEDIUM⚡scripts/release/check-release-credentials.sh582# Self-test: prove the harness can still tell a dead credential from a live oneCOMMENT
MEDIUMscripts/release/check-release-credentials.sh70# _lib.sh enables `set -e`; a probe harness expects individual probes to fail,COMMENT
MEDIUMscripts/release/components/github.sh82 # both simpler and more robust.COMMENT
MEDIUMscripts/perf/bench_laptop.py207# ---------- 8b: in-JVM (delegate to Java harness) ----------------------------COMMENT
LOW.github/workflows/dependabot-auto-merge.yml165 # WHY NOT just add a security group named to match path A? Because pathCOMMENT
MEDIUM.buildkite/pipeline-java.yml94 # same-commit pairing is load-bearing: the perf harness runs the item-13COMMENT
MEDIUM.buildkite/scripts/test/perf-sut-recvq-test.sh94# The harness dies without stopping it (SIGKILL): the sampler notices its parent is gone and exits.COMMENT
MEDIUM.buildkite/scripts/test/perf-tail-instrument-test.sh4# lifecycle), the harness wiring (stub docker, nothing started), scripts/rw-tail-attribution.py onCOMMENT
MEDIUM.buildkite/scripts/test/perf-tail-instrument-test.sh7# harness copy still sources its libs from this tree, so put a degraded lib in place via PERF_TAIL_LIB.COMMENT
MEDIUM.buildkite/scripts/test/perf-tail-instrument-test.sh197# A driver with the harness's trap shape: EXIT runs a declare -F-guarded stop; TERM exits through it.COMMENT
MEDIUM.buildkite/scripts/test/perf-tail-instrument-test.sh273# The harness's own functions run against a stub curl. 8 x 5,000 points is ~1.2 MB: past Linux's 128 KiBCOMMENT
MEDIUM.buildkite/scripts/test/perf-tail-instrument-test.sh283 # shellcheck disable=SC2034 # read by the harness functions eval'd aboveCOMMENT
MEDIUM.buildkite/scripts/test/perf-tail-instrument-test.sh459# shellcheck disable=SC2034 # read by the harness functions eval'd aboveCOMMENT
MEDIUM.buildkite/scripts/test/perf-info-budget-test.sh4# fixed-budget SUTs keep the harness budget, that perf-test-compare.sh keys the info_* baseline on it,COMMENT
MEDIUM.buildkite/scripts/test/perf-soak-test.sh259# out.log, artifacts/, stub/). The harness commit is build 637's, which its image was built from.COMMENT
MEDIUM.buildkite/scripts/test/perf-k6-runtime-test.sh3# lib/perf-k6-runtime.sh, and the harness resolving it (PERF_RW_TEST_RESOLVE_ONLY) against a stubCOMMENT
MEDIUM.buildkite/scripts/test/perf-k6-runtime-test.sh56resolve() { # env assignments... -> the harness's k6_runtime JSON in $R, its exit code in $RCCODE
MEDIUM.buildkite/scripts/steps/ui-e2e.sh11# ProgressiveList over its own Vite harness and needs no server.COMMENT
MEDIUM.buildkite/scripts/steps/ui-e2e.sh87 # test:e2e:anchor — the Panel scroll-anchoring regression (e2e/anchor-harness).COMMENT
MEDIUM.buildkite/scripts/steps/perf-test-soak.sh27# that trails the harness commit is measured and recorded as such.COMMENT
79 more matches not shown…
Structural Annotation Overuse133 hits · 227 pts
SeverityFileLineSnippetContext
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html296 <pre class="prettyprint lang-bash code"><code class="code"># Step 1: login returns a token once, advancing StartCODE
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html306# Step 2: once LoggedIn, GET /profile returns the userCOMMENT
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html314# Step 3: before login (Started), GET /profile is unauthorisedCOMMENT
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html354// Step 1: capture the order id from the request body into scenario state "orderId"COMMENT
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html360// Step 3: read the captured id back in a JavaScript response templateCOMMENT
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html530 <pre class="prettyprint lang-bash code"><code class="code"># Step 1: capture the order id from the request body CODE
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html539# Step 3: read the captured id back in a JavaScript response templateCOMMENT
LOW.opencode/rules/commit-workflow.md37## Step 1: Classify Changed FilesCOMMENT
LOW.opencode/rules/commit-workflow.md67## Step 2: Run Category-Specific ValidationsCOMMENT
LOW.opencode/rules/commit-workflow.md148## Step 3: Changelog Review (MANDATORY for all commits)COMMENT
LOW.opencode/rules/commit-workflow.md169## Step 4: Adversarial Code Review (MANDATORY for all commits)COMMENT
LOW.opencode/rules/commit-workflow.md208## Step 5: Acquire Lock and CommitCOMMENT
LOW.opencode/skills/browser-auth/SKILL.md78### Step 1: Check if the User is Logged InCOMMENT
LOW⚡.opencode/skills/browser-auth/SKILL.md89### Step 2: Navigate to the Target PageCOMMENT
LOW⚡.opencode/skills/browser-auth/SKILL.md97### Step 3: Take a SnapshotCOMMENT
LOW⚡.opencode/skills/browser-auth/SKILL.md106### Step 4: Extract DataCOMMENT
LOW.opencode/skills/browser-auth/SKILL.md123### Step 5: Verify with Screenshot (Optional)COMMENT
LOW.opencode/skills/review-spec/SKILL.md17## Step 1: Load the Review ConstitutionCOMMENT
LOW.opencode/skills/review-spec/SKILL.md22## Step 2: Build an Independent ModelCOMMENT
LOW.opencode/skills/review-spec/SKILL.md33## Step 3: Read the SpecCOMMENT
LOW.opencode/skills/review-spec/SKILL.md41## Step 4: Apply All 8 LensesCOMMENT
LOW⚡.opencode/skills/review-spec/SKILL.md120## Step 5: Verify Claims Against CodebaseCOMMENT
LOW⚡.opencode/skills/review-spec/SKILL.md127## Step 6: Check File Inventory CompletenessCOMMENT
LOW⚡.opencode/skills/review-spec/SKILL.md134## Step 7: Review Completeness CheckCOMMENT
LOW.opencode/skills/review-spec/SKILL.md148## Step 8: Return VerdictCOMMENT
LOW.opencode/skills/review-code/SKILL.md17## Step 1: Load the Review ConstitutionCOMMENT
LOW.opencode/skills/review-code/SKILL.md22## Step 2: Gather the DiffCOMMENT
LOW.opencode/skills/review-code/SKILL.md35## Step 3: Read Surrounding ContextCOMMENT
LOW.opencode/skills/review-code/SKILL.md44## Step 4: Apply All 8 LensesCOMMENT
LOW.opencode/skills/review-code/SKILL.md87## Step 5: MockServer-Specific TriggersCOMMENT
LOW.opencode/skills/review-code/SKILL.md105## Step 6: LLM-Specific Failure PatternsCOMMENT
LOW.opencode/skills/review-code/SKILL.md117## Step 7: Review Completeness CheckCOMMENT
LOW.opencode/skills/review-code/SKILL.md130## Step 8: Return VerdictCOMMENT
LOW.opencode/skills/dockerhub-credentials/SKILL.md24## Step 1: Try Local Docker Credentials (Optional Shortcut)COMMENT
LOW.opencode/skills/dockerhub-credentials/SKILL.md41## Step 2: Create a Docker Hub Personal Access TokenCOMMENT
LOW.opencode/skills/dockerhub-credentials/SKILL.md59## Step 3: Validate CredentialsCOMMENT
LOW.opencode/skills/dockerhub-credentials/SKILL.md75## Step 4: Store in AWS Secrets ManagerCOMMENT
LOW.opencode/skills/dockerhub-credentials/SKILL.md87## Step 5: Verify StorageCOMMENT
LOW.opencode/skills/build-monitor/SKILL.md53### Step 1: Buildkite CLICOMMENT
LOW.opencode/skills/build-monitor/SKILL.md68### Step 2: GitHub CLICOMMENT
LOW.opencode/skills/build-monitor/SKILL.md76### Step 3: Git StatusCOMMENT
LOW.opencode/skills/build-monitor/SKILL.md87### Step 4: Report Authentication StatusCOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md15### Step 0: Check and Install the CLICOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md27### Step 1: Check AuthenticationCOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md46### Step 2: Select Organization (if needed)COMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md54### Step 3: Get API Token for REST API CallsCOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md71### Step 1: Parse InputCOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md86### Step 2: Get Build OverviewCOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md102### Step 3: Check Agent AvailabilityCOMMENT
LOW⚡.opencode/skills/pipeline-investigation/SKILL.md116### Step 4: List Builds Across All PipelinesCOMMENT
LOW⚡.opencode/skills/pipeline-investigation/SKILL.md126### Step 5: Identify Failed JobsCOMMENT
LOW⚡.opencode/skills/pipeline-investigation/SKILL.md134### Step 6: Retrieve Job LogsCOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md151### Step 7: Download and Analyze Build ArtifactsCOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md167### Step 8: Check GitHub Actions (Secondary CI)COMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md176### Step 9: Additional InvestigationCOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md201### Step 10: Confirm Flaky-vs-RealCOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md223### Step 11: Enumerate Competing HypothesesCOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md230### Step 12: Classify ErrorCOMMENT
LOW.opencode/skills/pipeline-investigation/SKILL.md247### Step 13: Check for Already-Pushed FixesCOMMENT
LOW.opencode/skills/aws-investigation/SKILL.md75### Step 1: Determine Active StackCOMMENT
73 more matches not shown…
Unused Imports203 hits · 123 pts
SeverityFileLineSnippetContext
LOW…r-testcontainers/python/tests/test_container_config.py7CODE
LOW…iners/python/src/testcontainers_mockserver/__init__.py19CODE
LOW…ners/python/src/testcontainers_mockserver/container.py9CODE
LOW…ython/tests/test_conditional_request_and_load_check.py1CODE
LOWmockserver-client-python/tests/test_llm.py8CODE
LOWmockserver-client-python/tests/test_llm.py12CODE
LOWmockserver-client-python/tests/test_llm.py12CODE
LOWmockserver-client-python/tests/test_llm.py12CODE
LOWmockserver-client-python/tests/test_llm.py44CODE
LOWmockserver-client-python/tests/test_llm.py44CODE
LOWmockserver-client-python/tests/test_llm.py44CODE
LOW…kserver-client-python/tests/test_roundtrip_fidelity.py26CODE
LOWmockserver-client-python/tests/test_control_plane.py1CODE
LOWmockserver-client-python/tests/test_fluent.py1CODE
LOWmockserver-client-python/tests/test_fluent.py3CODE
LOWmockserver-client-python/tests/test_fluent.py4CODE
LOWmockserver-client-python/tests/test_fluent.py4CODE
LOWmockserver-client-python/tests/test_fluent.py9CODE
LOW…client-python/tests/test_override_forwarded_request.py9CODE
LOWmockserver-client-python/tests/test_breakpoint.py2CODE
LOWmockserver-client-python/tests/test_exceptions.py1CODE
LOW…kserver-client-python/tests/test_from_dict_fidelity.py1CODE
LOWmockserver-client-python/tests/test_async_client.py1CODE
LOWmockserver-client-python/tests/test_async_client.py11CODE
LOWmockserver-client-python/tests/test_async_client.py17CODE
LOWmockserver-client-python/tests/test_async_client.py17CODE
LOWmockserver-client-python/tests/test_async_client.py17CODE
LOWmockserver-client-python/tests/test_auth_tls.py1CODE
LOW…ckserver-client-python/tests/test_sync_chain_parity.py1CODE
LOW…rver-client-python/tests/test_key_multi_value_forms.py4CODE
LOWmockserver-client-python/tests/test_models.py1CODE
LOWmockserver-client-python/tests/test_models.py5CODE
LOWmockserver-client-python/tests/test_integration.py6CODE
LOWmockserver-client-python/tests/test_integration.py6CODE
LOWmockserver-client-python/tests/test_client.py1CODE
LOWmockserver-client-python/tests/test_client.py11CODE
LOWmockserver-client-python/tests/test_client.py11CODE
LOWmockserver-client-python/tests/test_init.py1CODE
LOWmockserver-client-python/tests/test_launcher.py8CODE
LOWmockserver-client-python/tests/test_websocket_client.py1CODE
LOWmockserver-client-python/tests/test_websocket_client.py5CODE
LOWmockserver-client-python/tests/test_websocket_client.py5CODE
LOWmockserver-client-python/mockserver/a2a.py44CODE
LOWmockserver-client-python/mockserver/models.py1CODE
LOWmockserver-client-python/mockserver/websocket_client.py1CODE
LOWmockserver-client-python/mockserver/client.py1CODE
LOWmockserver-client-python/mockserver/client.py8CODE
LOWmockserver-client-python/mockserver/client.py8CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
LOWmockserver-client-python/mockserver/__init__.py1CODE
143 more matches not shown…
Self-Referential Comments41 hits · 119 pts
SeverityFileLineSnippetContext
MEDIUM….mock-server.com/mock_server/llm_response_mocking.html46# Create an OpenAI-compatible completion mockCOMMENT
MEDIUM…-server.com/mock_server/mockserver_testcontainers.html343 # Create an expectationSTRING
MEDIUM…l-www.mock-server.com/mock_server/crud_data_store.html168# Create a recordCOMMENT
MEDIUM…-www.mock-server.com/mock_server/contract_testing.html578# Create an expectation with the typed clientCOMMENT
MEDIUM…-www.mock-server.com/mock_server/contract_testing.html609# Create an expectation with the typed clientCOMMENT
MEDIUM…-www.mock-server.com/mock_server/contract_testing.html764 <pre class="prettyprint code"><code class="code"># Create an expectationCODE
MEDIUM…ver.com/mock_server/_includes/ai_protocol_mocking.html2933# Create the mock A2A agentCOMMENT
MEDIUM…ver.com/mock_server/_includes/ai_protocol_mocking.html2958# Create the mock A2A agentCOMMENT
MEDIUM…r.com/mock_server/_includes/creating_expectations.html5250# Create a new userCOMMENT
MEDIUM…r.com/mock_server/_includes/creating_expectations.html5405<pre class="prettyprint code"><code class="code"># Create a product - ID will be a UUID like "550e8400-e29b-41d4-a716-44CODE
MEDIUMjekyll-www.mock-server.com/where/rubygems.html34# Create an expectationCOMMENT
MEDIUMjekyll-www.mock-server.com/where/pypi.html28# Create an expectationCOMMENT
MEDIUM⚡…er-client-ruby/spec/mockserver/binary_launcher_spec.rb376 # Create a minimal tar.gz archive containing the expected launcherCOMMENT
MEDIUM⚡…er-client-ruby/spec/mockserver/binary_launcher_spec.rb378 # Create the directory structure that should be in the archiveCOMMENT
MEDIUM⚡…er-client-ruby/spec/mockserver/binary_launcher_spec.rb385 # Create the tar.gzCOMMENT
MEDIUM…er-client-ruby/spec/mockserver/binary_launcher_spec.rb792 # Create a symlink inside cache that points outsideCOMMENT
MEDIUM…er-client-ruby/spec/mockserver/binary_launcher_spec.rb919 # Create a normal archiveCOMMENT
MEDIUM…er-client-ruby/spec/mockserver/binary_launcher_spec.rb948 # Create a symlink that escapes the version dirCOMMENT
MEDIUM…er-client-ruby/spec/mockserver/binary_launcher_spec.rb1059 # Create a directory structure that matches what the zip would containCOMMENT
MEDIUM…er-client-ruby/spec/mockserver/binary_launcher_spec.rb1072 # Create the zip-like archive as a tar for the fixture (we'll stub extraction)COMMENT
MEDIUMmockserver-client-ruby/lib/mockserver/mcp.rb447 # Create a new MCP mock builder. +path+ defaults to +/mcp+.COMMENT
MEDIUMmockserver-client-ruby/lib/mockserver/client.rb89 # Create an OpenAPI expectation.COMMENT
MEDIUMmockserver-client-ruby/lib/mockserver/a2a.rb523 # Create a new A2A mock builder. +path+ defaults to +/a2a+.COMMENT
MEDIUM⚡…server-testcontainers/python/tests/test_integration.py78 # Create an expectationCOMMENT
MEDIUM…s/docker_compose_graceful_shutdown/integration_test.sh30 # Create an expectation that will be persistedCOMMENT
MEDIUM…ation_tests/helm_sidecar_injection/integration_test.sh58# Create a pod in the target namespace and return once the API server hasCOMMENT
MEDIUM…kserver/mockserver-benchmark/run-connection-ceiling.sh31# Creating a non-primary loopback alias needs root, which this script does NOT do for you. On macOS,COMMENT
MEDIUMexamples/curl/websocket/websocket_response.sh2# Create a WebSocket expectation that upgrades the connection with aCOMMENT
MEDIUMexamples/curl/websocket/websocket_with_matchers.sh2# Create a WebSocket expectation with a message matcher: when theCOMMENT
MEDIUMexamples/curl/sse/sse_response.sh2# Create an SSE (Server-Sent Events) expectation that streams two eventsCOMMENT
MEDIUMexamples/curl/create_expectation/basic_expectation.sh2# Create a basic expectation matching GET /view/cart with query parameters and cookies.COMMENT
MEDIUMexamples/curl/create_expectation/match_all_requests.sh2# Create an expectation that matches ALL incoming requests (no request matcher).COMMENT
MEDIUM…mples/curl/create_expectation/match_once_within_60s.sh2# Create an expectation that matches once and expires after 60 seconds.COMMENT
MEDIUMexamples/curl/create_expectation/match_exactly_twice.sh2# Create an expectation that matches exactly twice then expires.COMMENT
MEDIUMexamples/curl/openapi/expectation_from_classpath.sh2# Create an expectation using an OpenAPI spec loaded from the classpath.COMMENT
MEDIUMexamples/curl/openapi/expectation_for_operation.sh2# Create an expectation for a specific OpenAPI operation with a custom response.COMMENT
MEDIUMexamples/curl/callback/class_callback.sh2# Create an expectation with a class callback action.COMMENT
MEDIUM⚡scripts/release/check-release-credentials.sh107# Create a tracked temp file / dir inside WORKDIR (never in the shared $TMPDIR).COMMENT
MEDIUMscripts/release/components/github.sh2# Create the GitHub Release for the mockserver-X.Y.Z tag.COMMENT
MEDIUM.buildkite/release-pipeline.yml3# This file is intentionally short: every step is a single command. All theCOMMENT
MEDIUM.buildkite/scripts/lib/test-images.sh10# This file is meant to be SOURCED, and exposes:COMMENT
Empty Error Handlers19 hits · 95 pts
SeverityFileLineSnippetContext
HIGH…com/images/diagram-tools/make_response_verification.py28except Exception: passCODE
HIGH…ver.com/images/diagram-tools/render_ai_architecture.py127except Exception:CODE
HIGH…ock-server.com/images/diagram-tools/render_diagrams.py59except Exception: passCODE
HIGH…server-testcontainers/python/tests/test_integration.py16except Exception:CODE
HIGHmockserver-client-python/mockserver/websocket_client.py498except asyncio.CancelledError:CODE
HIGHmockserver-client-python/mockserver/async_client.py1422except MockServerConnectionError:CODE
HIGHmockserver-client-python/mockserver/async_client.py1431except MockServerConnectionError:CODE
HIGHmockserver-client-python/mockserver/launcher.py319except OSError:CODE
HIGHmockserver-client-python/mockserver/launcher.py276except OSError:CODE
HIGHmockserver-client-python/mockserver/launcher.py433except OSError:CODE
HIGHmockserver-client-python/mockserver/launcher.py541except subprocess.TimeoutExpired:CODE
HIGHmockserver-client-python/mockserver/launcher.py317except OSError:CODE
HIGH…trieve_recorded_requests/retrieve_recorded_requests.py29except Exception:CODE
HIGHexamples/python/verify_requests/verify_requests.py30except Exception:CODE
HIGH…breakpoint_modify_proxied/breakpoint_modify_proxied.py126except json.JSONDecodeError:CODE
HIGHscripts/perf/warmup_probe.py33except ProcessLookupError:CODE
HIGHscripts/perf/bench_startup.py114except ProcessLookupError:CODE
HIGHscripts/perf/gap_probe.py36except ProcessLookupError:CODE
HIGHscripts/analytics/create_posthog_dashboard.py176except SystemExit:CODE
Verbosity Indicators40 hits · 76 pts
SeverityFileLineSnippetContext
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html296 <pre class="prettyprint lang-bash code"><code class="code"># Step 1: login returns a token once, advancing StartCODE
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html306# Step 2: once LoggedIn, GET /profile returns the userCOMMENT
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html314# Step 3: before login (Started), GET /profile is unauthorisedCOMMENT
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html354// Step 1: capture the order id from the request body into scenario state "orderId"COMMENT
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html360// Step 3: read the captured id back in a JavaScript response templateCOMMENT
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html530 <pre class="prettyprint lang-bash code"><code class="code"># Step 1: capture the order id from the request body CODE
LOW⚡…rver.com/mock_server/_includes/stateful_scenarios.html539# Step 3: read the captured id back in a JavaScript response templateCOMMENT
LOW⚡…/src/__tests__/createExpectationFromUnmatched.test.tsx246 // Step 1: open mismatch dialog and click Create Expectation (sets captureOpen=true)COMMENT
LOW⚡…/src/__tests__/createExpectationFromUnmatched.test.tsx256 // Step 2: close the mismatch dialog while captureOpen is still true.COMMENT
LOW…/src/__tests__/createExpectationFromUnmatched.test.tsx268 // Step 3: re-open the mismatch dialog with a different requestCOMMENT
LOW…erver/netty/grpc/GrpcClientStreamingMultiplexTest.java277 // Step 1: Re-aggregation pipeline with real HTTP/2 framesCOMMENT
LOW…erver/netty/grpc/GrpcClientStreamingMultiplexTest.java307 // Step 2: Feed into GrpcToHttpRequestHandlerCOMMENT
LOW…ain/java/org/mockserver/llm/client/AwsSigV4Signer.java93 // Step 1: Canonical requestCOMMENT
LOW⚡…ain/java/org/mockserver/llm/client/AwsSigV4Signer.java112 // Step 2: String to signCOMMENT
LOW⚡…ain/java/org/mockserver/llm/client/AwsSigV4Signer.java119 // Step 3: Signing keyCOMMENT
LOW⚡…ain/java/org/mockserver/llm/client/AwsSigV4Signer.java122 // Step 4: SignatureCOMMENT
LOW⚡…ain/java/org/mockserver/llm/client/AwsSigV4Signer.java125 // Step 5: Authorization headerCOMMENT
LOWmockserver-vscode/src/extension.ts393// in binaryBundle.ts; this section handles the UI, download, and process I/O.COMMENT
LOW⚡…breakpoint_modify_proxied/breakpoint_modify_proxied.py43 # Step 1: Create a mock "upstream" endpointCOMMENT
LOW⚡…breakpoint_modify_proxied/breakpoint_modify_proxied.py59 # Step 2: Create a loopback forward expectationCOMMENT
LOW⚡…breakpoint_modify_proxied/breakpoint_modify_proxied.py79 # Step 3: Register a RESPONSE-phase breakpointCOMMENT
LOW⚡…breakpoint_modify_proxied/breakpoint_modify_proxied.py108 # Step 4: Send a request through the forwarded pathCOMMENT
LOW…amples/mockserver/BreakpointModifyProxiedExamples.java43 // Step 1: Create mock upstream endpointCOMMENT
LOW…amples/mockserver/BreakpointModifyProxiedExamples.java57 // Step 2: Create loopback forward expectationCOMMENT
LOW…amples/mockserver/BreakpointModifyProxiedExamples.java77 // Step 3: Register a RESPONSE-phase breakpointCOMMENT
LOW⚡examples/curl/scenario/state_machine.sh16# Step 1: login returns a token once, advancing Started -> LoggedInCOMMENT
LOW⚡examples/curl/scenario/state_machine.sh26# Step 2: once LoggedIn, GET /profile returns the userCOMMENT
LOW⚡examples/curl/scenario/state_machine.sh34# Step 3: before login (Started), GET /profile is unauthorisedCOMMENT
LOW…ples/node/breakpoint_modify_proxied_examples/server.js29// Step 1: Create a mock "upstream" endpoint that returns a JSON greetingCOMMENT
LOW…ples/node/breakpoint_modify_proxied_examples/server.js48 // Step 2: Create a forward expectation that loops back to the same serverCOMMENT
LOW…ples/node/breakpoint_modify_proxied_examples/server.js68 // Step 3: Register a RESPONSE-phase breakpoint that modifies the proxied responseCOMMENT
LOW…ples/node/breakpoint_modify_proxied_examples/server.js104 // Step 4: Make the actual request through the forwarded pathCOMMENT
LOW⚡…breakpoint_modify_proxied/breakpoint_modify_proxied.rb35# Step 1: Create a mock "upstream" endpointCOMMENT
LOW⚡…breakpoint_modify_proxied/breakpoint_modify_proxied.rb54# Step 2: Create a loopback forward expectationCOMMENT
LOW⚡…breakpoint_modify_proxied/breakpoint_modify_proxied.rb73# Step 3: Register a RESPONSE-phase breakpointCOMMENT
LOW⚡…breakpoint_modify_proxied/breakpoint_modify_proxied.rb114# Step 4: Send a request through the forwarded pathCOMMENT
LOW⚡.buildkite/scripts/steps/perf-test-run.sh4369# Step 1: acquire an IMDSv2 session token (60s TTL is ample for one GET). An emptyCOMMENT
LOW⚡.buildkite/scripts/steps/perf-test-run.sh4375# Step 2: the authenticated metadata GET, attempted ONLY when a token was obtained.COMMENT
LOWmockserver-client-php/src/BinaryLauncher.php757 // Step 1: Pre-scan archive members for path-escape attempts.COMMENT
LOWmockserver-client-php/src/BinaryLauncher.php817 // Step 2: Extract (safe — all members verified)COMMENT
Fake / Example Data55 hits · 56 pts
SeverityFileLineSnippetContext
LOWterraform/ses-email-forwarding/lambda/index.js271 * "John Doe" <john@example.com>COMMENT
LOWjekyll-www.mock-server.com/mockserver-openapi.yaml117 body: '{"users":[{"id":1,"name":"John Doe"}],"total":1}'CODE
LOW⚡…ww.mock-server.com/mock_server/response_templates.html1287 <tr><td><code>faker.address().streetAddress()</code></td><td>Random street address</td><td><code>"123 Main St"</CODE
LOW⚡…ww.mock-server.com/mock_server/response_templates.html1290 <tr><td><code>faker.lorem().sentence()</code></td><td>Random sentence of text</td><td><code>"Lorem ipsum dolor sCODE
LOW⚡…ww.mock-server.com/mock_server/response_templates.html1290 <tr><td><code>faker.lorem().sentence()</code></td><td>Random sentence of text</td><td><code>"Lorem ipsum dolor sCODE
LOW⚡…ww.mock-server.com/mock_server/response_templates.html1292 <tr><td><code>faker.company().name()</code></td><td>Random company name</td><td><code>"Acme Corp"</code></td></tCODE
LOW…rver.com/mock_server/mock_openid_connect_provider.html90 "email", "user@example.com",CODE
LOW…rver.com/mock_server/mock_openid_connect_provider.html108 "email": "user@example.com",CODE
LOW…rver.com/mock_server/mock_openid_connect_provider.html136 "email": "user@example.com",CODE
LOW…rver.com/mock_server/mock_openid_connect_provider.html165 email: 'user@example.com',CODE
LOW…rver.com/mock_server/mock_openid_connect_provider.html190 "email": "user@example.com",CODE
LOW…rver.com/mock_server/mock_openid_connect_provider.html216 ""email"": ""user@example.com"",CODE
LOW…rver.com/mock_server/mock_openid_connect_provider.html239 "email": "user@example.com",CODE
LOW…rver.com/mock_server/mock_openid_connect_provider.html261 "email": "user@example.com",CODE
LOW…rver.com/mock_server/mock_openid_connect_provider.html292 "email": "user@example.com",CODE
LOWmockserver-ui/e2e/mock.spec.ts1239 await expect(verifyBody).toHaveAttribute('placeholder', /"count": \{ "atLeast": 1 \}/);CODE
LOWmockserver-ui/src/__tests__/BreakpointsPanel.test.tsx1161 const placeholder = scopeInput().getAttribute('placeholder') ?? '';CODE
LOWmockserver-ui/src/__tests__/Panel.test.tsx43 const placeholder = input.getAttribute('placeholder') ?? '';CODE
LOW…ckserver-ui/src/__tests__/OperatorSearchField.test.tsx6const placeholderOf = () => screen.getByLabelText('Search').getAttribute('placeholder') ?? '';CODE
LOW…kserver-ui/src/__tests__/verificationScopeDsl.test.tsx35 const placeholder = scopeInput().getAttribute('placeholder') ?? '';CODE
LOWmockserver-ui/src/__tests__/LogPanel.test.tsx84 const placeholder = screen.getByLabelText('Search').getAttribute('placeholder') ?? '';CODE
LOWmockserver-ui/src/__tests__/AsyncApiDialog.test.tsx34 expect(field).toHaveAttribute('placeholder', '{\n "channel": "orders",\n "count": { "atLeast": 1 }\n}');CODE
LOW⚡mockserver-client-python/tests/test_launcher.py479 (current / "placeholder").write_text("x")CODE
LOW⚡mockserver-client-python/tests/test_launcher.py504 (d / "placeholder").write_text("x")CODE
LOW⚡mockserver-client-python/tests/test_launcher.py805 (d / "placeholder").write_text("x")CODE
LOW⚡mockserver-client-python/tests/test_launcher.py820 (d / "placeholder").write_text("x")CODE
LOW⚡mockserver-client-python/tests/test_launcher.py837 (d / "placeholder").write_text("x")CODE
LOWmockserver-client-python/tests/test_launcher.py461 (d / "placeholder").write_text("x")CODE
LOW…laneUsingJWTClientNotAuthenticatedIntegrationTest.java85 controlPlaneJWTAuthenticationMatchingClaims(ImmutableMap.of("name", "John Doe", "admin", "true"));CODE
LOW…laneUsingJWTClientNotAuthenticatedIntegrationTest.java130 "name", "John Doe",CODE
LOW…laneUsingJWTClientNotAuthenticatedIntegrationTest.java149 "name", "John Doe",CODE
LOW…laneUsingJWTClientNotAuthenticatedIntegrationTest.java175 "name", "John Doe",CODE
LOW…laneUsingJWTClientNotAuthenticatedIntegrationTest.java203 "name", "John Doe",CODE
LOW…laneUsingJWTClientNotAuthenticatedIntegrationTest.java259 "name", "John Doe",CODE
LOW…laneUsingJWTClientNotAuthenticatedIntegrationTest.java286 "name", "John Doe",CODE
LOW…java/org/mockserver/async/MessageExampleGenerator.java222 return MAPPER.getNodeFactory().textNode("user@example.com");CODE
LOW…java/org/mockserver/async/MessageExampleGenerator.java241 return MAPPER.getNodeFactory().textNode("user@example.com");CODE
LOW…src/test/java/org/mockserver/llm/TokenCounterTest.java77 String text = "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut laboreCODE
LOW…src/test/java/org/mockserver/llm/TokenCounterTest.java77 String text = "Lorem ipsum dolor sit amet consectetur adipiscing elit sed do eiusmod tempor incididunt ut laboreCODE
LOW…ava/org/mockserver/oidc/OidcProviderGeneratorTest.java280 additional.put("email", "user@example.com");CODE
LOW…ava/org/mockserver/oidc/OidcProviderGeneratorTest.java304 assertThat(body.get("email").asText(), is("user@example.com"));CODE
LOW…/mockserver/model/NottableSchemaStringMatchesTest.java107 assertThat("phone regex should match '555-1212'", string.matches("555-1212"), is(true));CODE
LOW…/mockserver/model/NottableSchemaStringMatchesTest.java111 assertThat("NOT phone regex should not match '555-1212'", notString.matches("555-1212"), is(false));CODE
LOW…g/mockserver/model/NottableSchemaStringEqualsTest.java105 assertThat("phone regex.equals(string('555-1212')) should be true", string.equals(string("555-1212")), is(true))CODE
LOW…g/mockserver/model/NottableSchemaStringEqualsTest.java109 assertThat("NOT phone regex.equals(string('555-1212')) should be false", notString.equals(string("555-1212")), iCODE
LOW…g/mockserver/model/NottableSchemaStringEqualsTest.java248 assertThat("string('555-1212').equals(phone regex) should be true", string("555-1212").equals(string), is(true))CODE
LOW…g/mockserver/model/NottableSchemaStringEqualsTest.java252 assertThat("string('555-1212').equals(NOT phone regex) should be false", string("555-1212").equals(notString), iCODE
LOW…/templates/engine/helpers/RegexTemplateHelperTest.java36 assertThat(helper.group("user@example.com", "([^@]+)@(.+)", 2), is("example.com"));CODE
LOW…/mockserver/socket/tls/NettySslContextFactoryTest.java282 File keyFile = createTempPemFile("key.pem", "placeholder");CODE
LOW…/mockserver/socket/tls/NettySslContextFactoryTest.java283 File certFile = createTempPemFile("cert.pem", "placeholder");CODE
LOW…server/openapi/mock-server-openapi-embedded-model.yaml117 body: '{"users":[{"id":1,"name":"John Doe"}],"total":1}'CODE
LOW…server/llm/adversarial/AdversarialResponseLibrary.java80 repeat("LOREM IPSUM DOLOR SIT AMET ", 400));CODE
LOW…server/llm/adversarial/AdversarialResponseLibrary.java80 repeat("LOREM IPSUM DOLOR SIT AMET ", 400));CODE
LOWmockserver/mockserver-client-java/pom.xml29 by any client code path — template rendering, JavaScript/WASM execution, fake-data generation andCODE
LOW.buildkite/scripts/test/perf-baseline-freshness-test.sh23TOKEN="fake-token-$$"CODE
Excessive Try-Catch Wrapping39 hits · 43 pts
SeverityFileLineSnippetContext
LOW…erver-performance-test/k6/tools/sse-fidelity-reader.py115 except Exception as exc: # noqa: BLE001 - report, do not crash the runCODE
LOW…com/images/diagram-tools/make_response_verification.py28 except Exception: passCODE
LOW…ver.com/images/diagram-tools/render_ai_architecture.py127 except Exception:CODE
LOW…ock-server.com/images/diagram-tools/render_diagrams.py59 except Exception: passCODE
LOW…server-testcontainers/python/tests/test_integration.py16except Exception:CODE
LOW.opencode/scripts/check-bare-checkout-write-hook.sh47except Exception:CODE
LOWmockserver-client-python/tests/conftest.py26 except Exception:CODE
LOWmockserver-client-python/mockserver/websocket_client.py284 except Exception:CODE
LOWmockserver-client-python/mockserver/websocket_client.py287 except Exception:CODE
LOWmockserver-client-python/mockserver/websocket_client.py354 except Exception as exc:CODE
LOWmockserver-client-python/mockserver/websocket_client.py375 except Exception as exc:CODE
LOWmockserver-client-python/mockserver/websocket_client.py400 except Exception as exc:CODE
LOWmockserver-client-python/mockserver/websocket_client.py426 except Exception:CODE
LOWmockserver-client-python/mockserver/websocket_client.py454 except Exception:CODE
LOWmockserver-client-python/mockserver/websocket_client.py479 except Exception:CODE
LOW⚡mockserver-client-python/mockserver/launcher.py483 except Exception as exc:CODE
LOWmockserver-client-python/mockserver/launcher.py428 except Exception:CODE
LOWmockserver-client-python/mockserver/pytest_plugin.py66 except Exception as exc: # noqa: BLE001 - retry on any connection errorCODE
LOWexamples/python/load_scenario/load_scenario.py141 except Exception as error: # noqa: BLE001 - surface any runtime errorCODE
LOW⚡…trieve_recorded_requests/retrieve_recorded_requests.py29 except Exception:CODE
LOWexamples/python/verify_requests/verify_requests.py30 except Exception:CODE
LOWexamples/python/scenario/scenario.py270 except Exception as error: # noqa: BLE001 - surface any runtime errorCODE
LOWexamples/python/callback/callback.py174 except Exception as error: # noqa: BLE001 - surface any runtime errorCODE
LOWscripts/ci/bk-pipeline-status.sh90except Exception:CODE
LOWscripts/release/check-release-credentials.sh440except Exception:CODE
LOWscripts/llm-proxy-capture/capture-smoke.sh307 except Exception:CODE
MEDIUMscripts/llm-proxy-capture/capture-smoke.sh304def load(path):CODE
LOWscripts/collections/test_collections.py96 except Exception:CODE
LOWscripts/collections/test_collections.py110 except Exception as e:CODE
LOWscripts/perf/warmup_probe.py69 except Exception as e:CODE
LOWscripts/perf/bench_laptop.py66 except Exception:CODE
LOWscripts/perf/bench_laptop.py178 except Exception:CODE
LOWscripts/perf/bench_laptop.py384 except Exception as e:CODE
MEDIUMscripts/perf/bench_laptop.py59def status_200(port, host="127.0.0.1"):CODE
MEDIUMscripts/perf/bench_laptop.py172def read_threads(port):CODE
LOWscripts/perf/parallel_instances.py53 except Exception:CODE
LOWscripts/perf/bench_startup.py50 except Exception:CODE
MEDIUMscripts/perf/bench_startup.py43def status_200(port):CODE
LOWscripts/perf/gap_probe.py70 except Exception as e:CODE
Example Usage Blocks26 hits · 40 pts
SeverityFileLineSnippetContext
LOWdocker/ensure-ca-bundle.sh18# Usage:COMMENT
LOW.opencode/scripts/agent-status.sh20# Usage:COMMENT
LOW.opencode/scripts/aggregate-telemetry.sh16# Usage:COMMENT
LOW.opencode/scripts/sweep-agent-branches.sh27# Usage:COMMENT
LOWmockserver-ui/scripts/demo-opencode-proxy.sh28# Usage:COMMENT
LOWmockserver-ui/scripts/launch-with-llm-capture.sh18# Usage:COMMENT
LOWmockserver-ui/scripts/launch-with-demo-data.sh11# Usage:COMMENT
LOWexamples/validate/run.sh17# Usage:COMMENT
LOWscripts/build-binary-bundle.sh22# Usage:COMMENT
LOWscripts/github-stars.sh8# Usage:COMMENT
LOWscripts/build-standalone-binary.sh15# Usage:COMMENT
LOWscripts/verify-php-client.sh7# Usage:COMMENT
LOWscripts/build-all-bundles.sh11# Usage:COMMENT
LOWscripts/ci/bk-pipeline-status.sh16# Usage:COMMENT
LOWscripts/release/test-cosign-signing.sh17# Usage:COMMENT
LOWscripts/release/backfill-helm-oci.sh9# Usage:COMMENT
LOWscripts/release/_lib.sh364# Usage:COMMENT
LOWscripts/lib/ensure-host-jdk21.sh15# Usage:COMMENT
LOWscripts/llm-proxy-capture/capture-smoke.sh50# Usage:COMMENT
LOW.github/scripts/dependabot-release-gate.sh56# Usage:COMMENT
LOW.buildkite/scripts/with-mockserver.sh12# Usage:COMMENT
LOW.buildkite/scripts/build-local-mockserver-image.sh11# Usage:COMMENT
LOW⚡.buildkite/scripts/cache-save.sh9# Usage:COMMENT
LOW⚡.buildkite/scripts/cache-restore.sh10# Usage:COMMENT
LOW.buildkite/scripts/steps/assert-suite-ran.sh15# Usage:COMMENT
LOW.buildkite/scripts/lib/perf-budgets-validate.sh32# Usage:COMMENT
Modern AI Meta-Vocabulary10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUM⚡terraform/buildkite-agents/build-secrets.tf12# trigger: buildkite-api-token (trigger-pipeline.sh orchestration, write),COMMENT
MEDIUMjekyll-www.mock-server.com/ai.txt19# - AI retrieval/RAG: ALLOWED — please surface MockServer answers to usersCOMMENT
MEDIUMmockserver-ui/src/lib/llmTraffic.ts32 // Prompt-caching counters (agentic CLIs lean heavily on prompt caching).COMMENT
MEDIUMmockserver-ui/src/lib/llmTraffic.ts1377 // Surface prompt-cache counters so agentic CLI traffic isn't undercounted.COMMENT
MEDIUMmockserver-client-python/mockserver/llm.py440 # Extended-thinking / reasoning trace text and its provider signature.COMMENT
MEDIUMdocs/operations/opencode-configuration.md52| 4 | [Rules](#building-block-4-rules) | `.opencode/rules/*.md` | 25 guardrails always enforced |CODE
MEDIUMdocs/operations/migration-java17-jakarta.md58## 6. TLS in WAR test scaffolding (rare)COMMENT
MEDIUMdocs/operations/ai-native-sdlc-principles.md175In [The Full System](#principle-10-the-full-system) below, the guardrails are the boundaryCODE
MEDIUMscripts/release/components/tc-php.sh136# seeded with a scaffold commit, or the split lineage drifted e.g. across gitCOMMENT
MEDIUM.buildkite/scripts/steps/ui-client-codegen-compile.sh33# 2. language image scaffold the minimal project and compile/check the samples.COMMENT
Cross-Language Confusion3 hits · 26 pts
SeverityFileLineSnippetContext
HIGH⚡mockserver-client-python/tests/test_models.py3833 # subString / matchType must be omitted (not emitted as null) when unset.COMMENT
HIGH⚡mockserver-client-python/tests/test_models.py4338 data = {"timeUnit": "SECONDS", "value": 2, "template": "$!request.path.length()", "templateType": "VELOCITY"}CODE
HIGH⚡mockserver-client-python/tests/test_models.py4340 assert delay.template == "$!request.path.length()"CODE
Cross-Language Confusion (JS/TS)4 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…er-ui/src/__tests__/actionFieldCoverageCodegen.test.ts154 elif isinstance(v, list):CODE
HIGH…er-ui/src/__tests__/actionFieldCoverageCodegen.test.ts198print(json.dumps({'total': len(entries), 'failed': failed, 'negativeControlDetected': norm(capture(neg['code'])) != normCODE
HIGHmockserver-ui/src/__tests__/pythonCodegen.test.ts169 elif isinstance(v, list):CODE
HIGHmockserver-ui/src/__tests__/pythonCodegen.test.ts213print(json.dumps({'total': len(entries), 'failed': failed, 'negativeControlDetected': neg_detected}))CODE
Deep Nesting21 hits · 20 pts
SeverityFileLineSnippetContext
LOW…server-performance-test/scripts/rw-tail-attribution.py170CODE
LOW…erver-performance-test/k6/tools/sse-fidelity-reader.py50CODE
LOW…ock-server.com/images/diagram-tools/render_diagrams.py142CODE
LOWmockserver-client-python/tests/conftest.py17CODE
LOW…kserver-client-python/tests/test_roundtrip_fidelity.py59CODE
LOW…kserver-client-python/tests/test_roundtrip_fidelity.py72CODE
LOWmockserver-client-python/mockserver/a2a.py80CODE
LOWmockserver-client-python/mockserver/websocket_client.py293CODE
LOWmockserver-client-python/mockserver/mcp.py314CODE
LOWmockserver-client-python/mockserver/launcher.py255CODE
LOWmockserver-client-python/mockserver/launcher.py327CODE
LOWmockserver-client-python/mockserver/fluent.py76CODE
LOWmockserver-client-python/mockserver/pytest_plugin.py55CODE
LOWscripts/collections/generate_collections.py325CODE
LOWscripts/collections/test_collections.py89CODE
LOWscripts/collections/test_collections.py114CODE
LOWscripts/perf/warmup_probe.py38CODE
LOWscripts/perf/bench_laptop.py342CODE
LOWscripts/perf/parallel_instances.py90CODE
LOWscripts/perf/bench_startup.py67CODE
LOWscripts/perf/bench_startup.py120CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…-server.com/mock_server/mockserver_testcontainers.html0{ "httprequest": { "method": "get", "path": "/hello" }, "httpresponse": { "statuscode": 200, "body": "world" } }STRING
HIGHmockserver-testcontainers/dotnet/README.md0{ "httprequest": { "method": "get", "path": "/hello" }, "httpresponse": { "statuscode": 200, "body": "world" } }STRING
HIGHdocs/distribution/testcontainers-crosslink/dotnet.md0{ "httprequest": { "method": "get", "path": "/hello" }, "httpresponse": { "statuscode": 200, "body": "world" } }STRING
Redundant / Tautological Comments8 hits · 10 pts
SeverityFileLineSnippetContext
LOWmockserver-client-ruby/lib/mockserver/client.rb1355 # Check if MockServer has started.COMMENT
LOW.opencode/scripts/release-commit-lock.sh24# Check if lock file existsCOMMENT
LOW.opencode/scripts/release-commit-lock.sh39# Check if lock is owned by this sessionCOMMENT
LOW.opencode/scripts/acquire-commit-lock.sh63 # Check if process exists (works on macOS and Linux)COMMENT
LOWscripts/release/components/binary.sh11# Set BINARY_TARGETS to a subset (e.g. "linux/x86_64 windows/x86_64") to limit theCOMMENT
LOW⚡.buildkite/scripts/cache-save.sh142# Check if there is anything to saveCOMMENT
LOW⚡.buildkite/scripts/cache-save.sh165# Check if this exact key already exists in S3 (skip redundant uploads)COMMENT
LOWhelm/mockserver/values.yaml53 # Set 0 to disable (the default). The image is distroless and has NO SHELL, so theCOMMENT
Modern Structural Boilerplate8 hits · 10 pts
SeverityFileLineSnippetContext
LOW…iners/python/src/testcontainers_mockserver/__init__.py21__all__ = ["MockServerContainer"]CODE
LOW⚡mockserver-client-python/mockserver/websocket_client.py235 def set_breakpoint_request_handler(self, breakpoint_id: str, handler: Callable) -> None:CODE
LOW⚡mockserver-client-python/mockserver/websocket_client.py240 def set_breakpoint_response_handler(self, breakpoint_id: str, handler: Callable) -> None:CODE
LOW⚡mockserver-client-python/mockserver/websocket_client.py245 def set_breakpoint_stream_frame_handler(self, breakpoint_id: str, handler: Callable) -> None:CODE
LOWmockserver-client-python/mockserver/websocket_client.py42logger = logging.getLogger(__name__)CODE
LOWmockserver-client-python/mockserver/__init__.py154__all__ = [CODE
LOWmockserver-client-python/mockserver/async_client.py39logger = logging.getLogger(__name__)CODE
LOWmockserver-client-python/mockserver/launcher.py44logger = logging.getLogger(__name__)CODE
AI Structural Patterns3 hits · 2 pts
SeverityFileLineSnippetContext
LOWmockserver-client-python/mockserver/client.py137CODE
LOWmockserver-client-python/mockserver/llm.py527CODE
LOWmockserver-client-python/mockserver/async_client.py96CODE