AI Slop Code Risk Monitor

netty/netty

SlopCodeMonitor badge for netty/netty Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Netty project - an event-driven asynchronous network application framework

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for netty/netty, a Java project with 35,067 GitHub stars. SynthScan examined 712,322 lines of code across 3929 source files, recording 384 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 1.6 (Low 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.

1.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
35.1K
Stars
Java
Language
712.3K
Lines of Code
3.9K
Files
384
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 1.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.4/100 · LOW

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

Agent Over-Engineering Ratio 2.9/100 · LOW

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

PR Review Velocity Impact 7.4/100 · LOW

Which changes need focused human review? 384 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 48HIGH 0MEDIUM 140LOW 196

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 384 distinct pattern matches across 12 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 Indicators48 hits · 495 pts
SeverityFileLineSnippetContext
CRITICAL…ain/java/io/netty/handler/ssl/OpenSslSessionCache.java319 this.id = new OpenSslSessionId(io.netty.internal.tcnative.SSLSession.getSessionId(session));CODE
CRITICAL…o/netty/handler/ssl/ReferenceCountedOpenSslEngine.java2465 long credPtr = io.netty.internal.tcnative.SSL.getSelectedCredential(ssl);CODE
CRITICAL…a/io/netty/handler/codec/http/ServerCookieEncoder.java53 return io.netty.handler.codec.http.cookie.ServerCookieEncoder.LAX.encode(name, value);CODE
CRITICAL…a/io/netty/handler/codec/http/ServerCookieEncoder.java64 return io.netty.handler.codec.http.cookie.ServerCookieEncoder.LAX.encode(cookie);CODE
CRITICAL…a/io/netty/handler/codec/http/ServerCookieEncoder.java75 return io.netty.handler.codec.http.cookie.ServerCookieEncoder.LAX.encode(cookies);CODE
CRITICAL…a/io/netty/handler/codec/http/ServerCookieEncoder.java86 return io.netty.handler.codec.http.cookie.ServerCookieEncoder.LAX.encode(cookies);CODE
CRITICAL…a/io/netty/handler/codec/http/ServerCookieEncoder.java97 return io.netty.handler.codec.http.cookie.ServerCookieEncoder.LAX.encode(cookies);CODE
CRITICAL…a/io/netty/handler/codec/http/ClientCookieEncoder.java49 return io.netty.handler.codec.http.cookie.ClientCookieEncoder.LAX.encode(name, value);CODE
CRITICAL…a/io/netty/handler/codec/http/ClientCookieEncoder.java60 return io.netty.handler.codec.http.cookie.ClientCookieEncoder.LAX.encode(cookie);CODE
CRITICAL…a/io/netty/handler/codec/http/ClientCookieEncoder.java71 return io.netty.handler.codec.http.cookie.ClientCookieEncoder.LAX.encode(cookies);CODE
CRITICAL…a/io/netty/handler/codec/http/ClientCookieEncoder.java82 return io.netty.handler.codec.http.cookie.ClientCookieEncoder.LAX.encode(cookies);CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java679 // Construct using io.netty.example.worldclock.WorldClockProtocol.Location.newBuilder()COMMENT
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java1239 // Construct using io.netty.example.worldclock.WorldClockProtocol.Locations.newBuilder()COMMENT
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java2178 // Construct using io.netty.example.worldclock.WorldClockProtocol.LocalTime.newBuilder()COMMENT
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java2938 // Construct using io.netty.example.worldclock.WorldClockProtocol.LocalTimes.newBuilder()COMMENT
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java172 return io.netty.example.worldclock.WorldClockProtocol.getDescriptor().getEnumTypes().get(0);CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java303 return io.netty.example.worldclock.WorldClockProtocol.getDescriptor().getEnumTypes().get(1);CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java410 io.netty.example.worldclock.WorldClockProtocol.Continent value = io.netty.example.worldclock.WorldClockProCODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java720 return io.netty.example.worldclock.WorldClockProtocol.Location.getDefaultInstance();CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java734 io.netty.example.worldclock.WorldClockProtocol.Location result = new io.netty.example.worldclock.WorldClockProtoCODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java761 if (other == io.netty.example.worldclock.WorldClockProtocol.Location.getDefaultInstance()) return this;CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java1283 return io.netty.example.worldclock.WorldClockProtocol.Locations.getDefaultInstance();CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java1297 io.netty.example.worldclock.WorldClockProtocol.Locations result = new io.netty.example.worldclock.WorldClockProtCODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java1323 if (other == io.netty.example.worldclock.WorldClockProtocol.Locations.getDefaultInstance()) return this;CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java1592 io.netty.example.worldclock.WorldClockProtocol.Location.getDefaultInstance());CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java1600 index, io.netty.example.worldclock.WorldClockProtocol.Location.getDefaultInstance());CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java1777 io.netty.example.worldclock.WorldClockProtocol.DayOfWeek value = io.netty.example.worldclock.WorldClockProCODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java2229 return io.netty.example.worldclock.WorldClockProtocol.LocalTime.getDefaultInstance();CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java2243 io.netty.example.worldclock.WorldClockProtocol.LocalTime result = new io.netty.example.worldclock.WorldClockProtCODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java2290 if (other == io.netty.example.worldclock.WorldClockProtocol.LocalTime.getDefaultInstance()) return this;CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java2982 return io.netty.example.worldclock.WorldClockProtocol.LocalTimes.getDefaultInstance();CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java2996 io.netty.example.worldclock.WorldClockProtocol.LocalTimes result = new io.netty.example.worldclock.WorldClockProCODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java3022 if (other == io.netty.example.worldclock.WorldClockProtocol.LocalTimes.getDefaultInstance()) return this;CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java3291 io.netty.example.worldclock.WorldClockProtocol.LocalTime.getDefaultInstance());CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java3299 index, io.netty.example.worldclock.WorldClockProtocol.LocalTime.getDefaultInstance());CODE
CRITICAL…va/io/netty/example/worldclock/WorldClockProtocol.java3384 new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {CODE
CRITICAL⚡transport-native-io_uring/README.md46 at io.netty.channel.uring.IoUring.ensureAvailability(IOUring.java:63)CODE
CRITICAL⚡transport-native-io_uring/README.md50 at io.netty.channel.uring.Native.ioUringSetup(Native Method)CODE
CRITICAL⚡transport-native-io_uring/README.md51 at io.netty.channel.uring.Native.createRingBuffer(Native.java:141)CODE
CRITICAL⚡transport-native-io_uring/README.md52 at io.netty.channel.uring.Native.createRingBuffer(Native.java:174)CODE
CRITICAL…crobench/concurrent/FastThreadLocalCheckBenchmark.java83 io.netty.util.concurrent.FastThreadLocalThread.runWithFastThreadLocal(() -> {CODE
CRITICAL…y/handler/codec/http2/Http2MultiplexTransportTest.java1166 java.util.concurrent.locks.LockSupport.parkNanos(1000);CODE
CRITICAL…ndler/codec/compression/DefensiveDecompressorTest.java96 new org.junit.jupiter.api.function.Executable() {CODE
CRITICAL…/codec/compression/InputBufferingDecompressorTest.java63 assertThrows(DecompressionException.class, new org.junit.jupiter.api.function.Executable() {CODE
CRITICAL…va/io/netty/handler/codec/compression/ZstdDecoder.java128 uncompressedLength = com.github.luben.zstd.Zstd.getFrameContentSize(CODE
CRITICAL…va/io/netty/handler/codec/compression/ZstdDecoder.java131 uncompressedLength = com.github.luben.zstd.Zstd.getFrameContentSize(CODE
CRITICAL…va/io/netty/handler/codec/compression/ZstdEncoder.java41 io.netty.handler.codec.compression.Zstd.ensureAvailability();CODE
CRITICAL…main/java/io/netty/handler/codec/compression/Zstd.java43 com.github.luben.zstd.util.Native.load();CODE
Decorative Section Separators135 hits · 408 pts
SeverityFileLineSnippetContext
MEDIUMrun-example.sh2# ----------------------------------------------------------------------------COMMENT
MEDIUMrun-example.sh16# ----------------------------------------------------------------------------COMMENT
MEDIUM…solver-dns-classes-macos/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUM…solver-dns-classes-macos/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUM…/test/resources/io/netty/handler/ssl/generate-certs.sh2# ----------------------------------------------------------------------------COMMENT
MEDIUM…/test/resources/io/netty/handler/ssl/generate-certs.sh16# ----------------------------------------------------------------------------COMMENT
MEDIUMhandler/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMhandler/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-smtp/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-smtp/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-http/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-http/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMdocker/update-sdkman-sha.sh2# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡docker/update-sdkman-sha.sh16# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡docker/update-sdkman-sha.sh29# ----------------------------------------------------------------------------COMMENT
MEDIUMtransport-classes-epoll/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMtransport-classes-epoll/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-redis/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-redis/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMtransport/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMtransport/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUM…sport-native-unix-common/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUM…sport-native-unix-common/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-marshalling/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-marshalling/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-dns/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-dns/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMresolver-dns/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMresolver-dns/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-base/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-base/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-mqtt/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-mqtt/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-http3/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-http3/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcommon/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcommon/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-protobuf/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-protobuf/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-classes-quic/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-classes-quic/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-http2/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-http2/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMtransport-classes-kqueue/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMtransport-classes-kqueue/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-haproxy/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUMcodec-haproxy/src/main/java/module-info.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUMscripts/finish_release.sh2# ----------------------------------------------------------------------------COMMENT
MEDIUMscripts/finish_release.sh16# ----------------------------------------------------------------------------COMMENT
MEDIUMscripts/list_staged_release.sh2# ----------------------------------------------------------------------------COMMENT
MEDIUMscripts/list_staged_release.sh16# ----------------------------------------------------------------------------COMMENT
MEDIUMscripts/generate_docs.sh2# ----------------------------------------------------------------------------COMMENT
MEDIUMscripts/generate_docs.sh16# ----------------------------------------------------------------------------COMMENT
MEDIUMscripts/check_icla.sh2# ----------------------------------------------------------------------------COMMENT
MEDIUMscripts/check_icla.sh16# ----------------------------------------------------------------------------COMMENT
MEDIUMscripts/collect-ghsa-reports.sh2# ----------------------------------------------------------------------------COMMENT
MEDIUMscripts/collect-ghsa-reports.sh16# ----------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/ci-build.yml1# ----------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/ci-build.yml15# ----------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/ci-pr.yml1# ----------------------------------------------------------------------------COMMENT
75 more matches not shown…
Over-Commented Block154 hits · 154 pts
SeverityFileLineSnippetContext
LOWrun-example.sh1#!/bin/bash -eCOMMENT
LOW…solver-dns-classes-macos/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
LOW…/test/resources/io/netty/handler/ssl/generate-certs.sh1#!/bin/shCOMMENT
LOW…/test/java/io/netty/handler/ssl/OpenSslEngineTest.java2021 ByteBuffer serverOut = ByteBuffer.wrap("Hello Client, I'm Server".getBytes(CharsetUtil.US_ASCII));COMMENT
LOWhandler/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
LOW…main/java/io/netty/handler/ssl/AbstractSniHandler.java41 //COMMENT
LOW…o/netty/handler/ssl/ReferenceCountedOpenSslEngine.java1061 : getHandshakeStatus(SSL.bioLengthNonApplication(networkBIO))COMMENT
LOWcodec-smtp/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
LOWcodec-http/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
LOW…rc/main/java/io/netty/handler/codec/http/HttpUtil.java641 return -1;COMMENT
LOW…rc/main/java/io/netty/handler/codec/http/HttpUtil.java761 //COMMENT
LOW…rc/main/java/io/netty/handler/codec/http/HttpUtil.java781 // field-name's token is equivalent to cookie-name's token, we can reuse the tchar mask for both:COMMENT
LOW…rc/main/java/io/netty/handler/codec/http/HttpUtil.java801 // low |= 1L << bit;COMMENT
LOW…rc/main/java/io/netty/handler/codec/http/HttpUtil.java821 // if (bit < 64) {COMMENT
LOW…/java/io/netty/handler/codec/http/HttpClientCodec.java361 case 'H':COMMENT
LOW…ava/io/netty/handler/codec/http/HttpObjectDecoder.java1161COMMENT
LOW…ec/http/multipart/HttpPostMultipartRequestDecoder.java541 // Content-type: multipart/form-data, boundary=AaB03xCOMMENT
LOW…ndler/codec/http/multipart/HttpPostRequestEncoder.java581 // filename="file1.txt"COMMENT
LOW…ler/codec/http/websocketx/WebSocket13FrameDecoder.java21// Redistribution and use in source and binary forms, with orCOMMENT
LOW…ler/codec/http/websocketx/WebSocket13FrameDecoder.java41// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFCOMMENT
LOW…ler/codec/http/websocketx/WebSocket07FrameDecoder.java21// Redistribution and use in source and binary forms, with orCOMMENT
LOW…ler/codec/http/websocketx/WebSocket07FrameDecoder.java41// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFCOMMENT
LOW…ler/codec/http/websocketx/WebSocket08FrameDecoder.java21// Redistribution and use in source and binary forms, with orCOMMENT
LOW…ler/codec/http/websocketx/WebSocket08FrameDecoder.java41// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFCOMMENT
LOW…ler/codec/http/websocketx/WebSocket07FrameEncoder.java21// Redistribution and use in source and binary forms, with orCOMMENT
LOW…ler/codec/http/websocketx/WebSocket07FrameEncoder.java41// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFCOMMENT
LOW…ler/codec/http/websocketx/WebSocket13FrameEncoder.java21// Redistribution and use in source and binary forms, with orCOMMENT
LOW…ler/codec/http/websocketx/WebSocket13FrameEncoder.java41// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFCOMMENT
LOW…netty/handler/codec/http/websocketx/WebSocketUtil.java121 * @return A pseudo-random numberCOMMENT
LOW…ler/codec/http/websocketx/WebSocket08FrameEncoder.java21// Redistribution and use in source and binary forms, with orCOMMENT
LOW…ler/codec/http/websocketx/WebSocket08FrameEncoder.java41// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OFCOMMENT
LOWdocker/update-sdkman-sha.sh1#!/bin/bash -eCOMMENT
LOWtransport-classes-epoll/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
LOW…/java/io/netty/channel/epoll/AbstractEpollChannel.java501COMMENT
LOWcodec-redis/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
LOW…dns-native-macos/src/main/c/netty_resolver_dns_macos.c21#include <stdlib.h>COMMENT
LOW…c/test/java/io/netty/channel/ReentrantChannelTest.java61 // 1. Because this write attempt has been made from a non-I/O thread,COMMENT
LOWtransport/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
LOW…/main/java/io/netty/channel/ChannelOutboundBuffer.java461 final int readerIndex = buf.readerIndex();COMMENT
LOW…n/java/io/netty/channel/group/DefaultChannelGroup.java141 boolean added = map.putIfAbsent(channel.id(), channel) == null;COMMENT
LOW…src/main/java/io/netty/channel/local/LocalChannel.java521COMMENT
LOW…t/src/main/java/io/netty/channel/nio/NioIoHandler.java441 // The race condition is triggered when 'wakenUp' is set toCOMMENT
LOW…sport-native-unix-common/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
LOW…nsport-native-unix-common/src/main/c/netty_unix_util.h21#include <stdint.h>COMMENT
LOW…port-native-unix-common/src/main/c/netty_unix_socket.c21#include <stdlib.h>COMMENT
LOW…port-native-unix-common/src/main/c/netty_unix_limits.c21#include "netty_unix_limits.h"COMMENT
LOWcodec-marshalling/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
LOWcodec-dns/src/main/java/module-info.yml1# ----------------------------------------------------------------------------COMMENT
LOW…ple/http/websocketx/client/WebSocketClientHandler.java21//of this software and associated documentation files (the "Software"), to dealCOMMENT
LOW…ort-native-io_uring/src/main/c/netty_io_uring_native.c21#include <jni.h>COMMENT
LOW…ort-native-io_uring/src/main/c/netty_io_uring_native.c41#include <sys/socket.h>COMMENT
LOW…ort-native-io_uring/src/main/c/netty_io_uring_native.c61// Add define if NETTY_IO_URING_BUILD_STATIC is defined so it is picked up in netty_jni_util.cCOMMENT
LOWtransport-native-io_uring/src/main/c/syscall.c21#include <unistd.h>COMMENT
LOWtransport-native-io_uring/src/main/c/io_uring.h101#define IOSQE_IO_DRAIN (1U << IOSQE_IO_DRAIN_BIT)COMMENT
LOWtransport-native-io_uring/src/main/c/netty_io_uring.h21#include "netty_unix_errors.h"COMMENT
LOW…ative-io_uring/src/main/c/netty_io_uring_linuxsocket.c21 */COMMENT
LOW…ative-io_uring/src/main/c/netty_io_uring_linuxsocket.c41// TCP_FASTOPEN is defined in linux 3.7. We define this here so older kernels can compile.COMMENT
LOW…ative-io_uring/src/main/c/netty_io_uring_linuxsocket.c61// UDP_GRO is defined in linux 5. We define this here so older kernels can compile.COMMENT
LOW…te/transport/socket/DatagramUnicastIPv6MappedTest.java41 throw new ExceptionInInitializerError(e);COMMENT
LOW…y/testsuite/transport/socket/SocketFileRegionTest.java301 Channel sc = sb.bind().sync().channel();COMMENT
94 more matches not shown…
Verbosity Indicators22 hits · 40 pts
SeverityFileLineSnippetContext
LOW…ler/src/main/java/io/netty/handler/ssl/SslHandler.java1550 // We need to check if pendingUnecryptedWrites is null as the SslHandlerCOMMENT
LOW…ain/java/io/netty/handler/flow/FlowControlHandler.java226 // we need to check if queue was set to null in the meantime and, if so, break out of the loop.COMMENT
LOW…io/netty/channel/epoll/AbstractEpollStreamChannel.java779 // We need to check if it is still active as if not we removed all SpliceTasks inCOMMENT
LOW…/src/main/java/io/netty/channel/DefaultFileRegion.java134 // If the amount of written data is 0 we need to check if the requested count is bigger then theCOMMENT
LOW…/src/main/java/io/netty/channel/DefaultFileRegion.java182 // If the amount of written data is 0 we need to check if the requested count is bigger then theCOMMENT
LOW⚡…/src/main/java/io/netty/channel/ManualIoEventLoop.java613 // We need to check if the method was called from within the EventLoop as this would cause a deadlock.COMMENT
LOW⚡…/src/main/java/io/netty/channel/ManualIoEventLoop.java621 // We need to check if the method was called from within the EventLoop as this would cause a deadlock.COMMENT
LOW⚡…/src/main/java/io/netty/channel/ManualIoEventLoop.java629 // We need to check if the method was called from within the EventLoop as this would cause a deadlock.COMMENT
LOW⚡…/src/main/java/io/netty/channel/ManualIoEventLoop.java637 // We need to check if the method was called from within the EventLoop as this would cause a deadlock.COMMENT
LOW⚡…main/java/io/netty/example/ocsp/OcspServerExample.java66 // Step 1: Load the certificate chain for netty.io. We'll need the certificateCOMMENT
LOW⚡…main/java/io/netty/example/ocsp/OcspServerExample.java74 // Step 2: We need the URL of the CA's OCSP responder server. It's somewhere encodedCOMMENT
LOW⚡…main/java/io/netty/example/ocsp/OcspServerExample.java83 // Step 3: Construct the OCSP requestCOMMENT
LOW⚡…main/java/io/netty/example/ocsp/OcspServerExample.java89 // Step 4: Do the request to the CA's OCSP responderCOMMENT
LOW⚡…main/java/io/netty/example/ocsp/OcspServerExample.java95 // Step 5: Is my certificate any good or has the CA revoked it?COMMENT
LOW…main/java/io/netty/example/ocsp/OcspServerExample.java114 // Step 6: Cache the OCSP response and use it as long as it's notCOMMENT
LOW…n/java/io/netty/util/internal/CleanerJava24Linker.java128 // First, we need to check if we have access to "restricted" methods through the Java Module system.COMMENT
LOW…/io/netty/handler/codec/quic/QuicheQuicConnection.java50 // We need to have every stored 2 times as we need to check if the last sockaddr has changed betweenCOMMENT
LOW…/netty/channel/uring/AbstractIoUringStreamChannel.java475 // We need to check if it's supported as otherwise providing these would result in an -EINVAL.COMMENT
LOW…ava/io/netty/channel/uring/AbstractIoUringChannel.java906 // In this case we we need to check if the user did signal the desire to read againCOMMENT
LOW…ava/io/netty/channel/uring/AbstractIoUringChannel.java924 // In this case we we need to check if the user did signal the desire to read againCOMMENT
LOW…/netty/channel/uring/AbstractIoUringServerChannel.java185 // We need to check if its supported as otherwise providing these would result in an -EINVAL.COMMENT
LOW…r/src/main/java/io/netty/buffer/UnsafeByteBufUtil.java548 // We need to check if dst is ready-only so we not write something in it by using Unsafe.COMMENT
Structural Annotation Overuse6 hits · 13 pts
SeverityFileLineSnippetContext
LOW⚡…main/java/io/netty/example/ocsp/OcspServerExample.java66 // Step 1: Load the certificate chain for netty.io. We'll need the certificateCOMMENT
LOW⚡…main/java/io/netty/example/ocsp/OcspServerExample.java74 // Step 2: We need the URL of the CA's OCSP responder server. It's somewhere encodedCOMMENT
LOW⚡…main/java/io/netty/example/ocsp/OcspServerExample.java83 // Step 3: Construct the OCSP requestCOMMENT
LOW⚡…main/java/io/netty/example/ocsp/OcspServerExample.java89 // Step 4: Do the request to the CA's OCSP responderCOMMENT
LOW⚡…main/java/io/netty/example/ocsp/OcspServerExample.java95 // Step 5: Is my certificate any good or has the CA revoked it?COMMENT
LOW…main/java/io/netty/example/ocsp/OcspServerExample.java114 // Step 6: Cache the OCSP response and use it as long as it's notCOMMENT
AI Slop Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…dler/codec/http2/WeightedFairQueueByteDistributor.java293 // be allocated bytes when the parent stream can't utilize them. This may be as a result of theCOMMENT
MEDIUM.github/workflows/ci-verify-musl.yml144 # The control. Anything that fails on Alpine but also fails here is a broken harness, notCOMMENT
MEDIUM.github/scripts/musl-verify/verify.sh20# control -- anything that fails on Alpine but also fails here means the harness is broken, not theCOMMENT
Hyper-Verbose Identifiers8 hits · 8 pts
SeverityFileLineSnippetContext
LOW…rame/client/Http2ClientStreamFrameResponseHandler.java31public final class Http2ClientStreamFrameResponseHandler extends SimpleChannelInboundHandler<Http2StreamFrame> {CODE
LOW…le/http2/helloworld/client/Http2ClientInitializer.java139 private final class UpgradeRequestHandler extends ChannelInboundHandlerAdapter {CODE
LOW…ample/http2/helloworld/client/HttpResponseHandler.java36public class HttpResponseHandler extends SimpleChannelInboundHandler<FullHttpResponse> {CODE
LOW…/io/netty/example/http2/tiles/Http2RequestHandler.java46public class Http2RequestHandler extends SimpleChannelInboundHandler<FullHttpRequest> {CODE
LOW…/io/netty/example/http2/tiles/Http1RequestHandler.java40public final class Http1RequestHandler extends Http2RequestHandler {CODE
LOW…/netty/example/http2/tiles/FallbackRequestHandler.java41public final class FallbackRequestHandler extends SimpleChannelInboundHandler<HttpRequest> {CODE
LOW…java/io/netty/example/http/cors/OkResponseHandler.java31public class OkResponseHandler extends SimpleChannelInboundHandler<Object> {CODE
LOW…c/main/java/io/netty/resolver/dns/DnsNameResolver.java1570 private static final class DnsResponseHandler extends ChannelInboundHandlerAdapter {CODE
Example Usage Blocks2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡docker/update-sdkman-sha.sh22# Usage:COMMENT
LOWscripts/check_icla.sh21# Usage:COMMENT
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…o/netty/handler/codec/http/HttpRequestDecoderTest.java1250 "Lorem ipsum";CODE
LOW…/netty/handler/codec/http/HttpResponseDecoderTest.java1387 "Lorem ipsum";CODE
LOW…y/handler/codec/http2/DefaultHttp2FrameWriterTest.java600 final String largeValue = repeat("dummy-value", 100);CODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…netty/handler/codec/http/HttpServerUpgradeHandler.java68 * step which invokes {@link #upgradeTo}. When returning {@code true}, you can add headers toCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM.github/scripts/bundle_create.sh24# Create a bundle zip that contains all jars.COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOW.github/workflows/ci-verify-load.yml130 # Check if we can load the native code on aarch64COMMENT