AI Slop Code Risk Monitor

SerenityOS/serenity

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

The Serenity Operating System 🐞

1.5 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for SerenityOS/serenity, a C++ project with 33,926 GitHub stars. SynthScan examined 1,577,570 lines of code across 13630 source files, recording 2196 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 1.5 (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.5
Adjusted Signal
1.5
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
33.9K
Stars
C++
Language
1.6M
Lines of Code
13.6K
Files
2.2K
Pattern Hits
2026-10-31
Scan Date
0.00
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 6.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.6/100 · LOW

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

Agent Over-Engineering Ratio 0.3/100 · LOW

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

PR Review Velocity Impact 7.0/100 · LOW

Which changes need focused human review? 2196 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 1HIGH 4MEDIUM 34LOW 2157

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 2196 distinct pattern matches across 19 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.

Over-Commented Block1854 hits · 1846 pts
SeverityFileLineSnippetContext
LOW.ycm_extra_conf.py1# Based on the example .ycm_extra_conf.py from YouCompleteMe, adaptedCOMMENT
LOW.ycm_extra_conf.py21# relinquishment in perpetuity of all present and future rights to thisCOMMENT
LOWAK/Time.h1/*COMMENT
LOWAK/StdShim.h1/*COMMENT
LOWAK/StdShim.h101// LLVM LIBCXXCOMMENT
LOWAK/FloatingPointStringConversions.h41/// intentionally as lenient as possible. If your format is stricter you must validate itCOMMENT
LOWAK/FloatingPointStringConversions.h61/// check the comment on parse_first_floating_point.COMMENT
LOWAK/ByteString.h1/*COMMENT
LOWAK/ByteString.h21namespace AK {COMMENT
LOWAK/Format.cpp1/*COMMENT
LOWAK/Format.cpp21# include <Kernel/Tasks/Process.h>COMMENT
LOWAK/StackUnwinder.h21// It doesn't return an error on failed memory reads, since the last frame record sometimes contains invalid addresses wCOMMENT
LOWAK/Assertions.h21# define TODO() VERIFY(TODO) /* NOLINT(cert-dcl03-c,misc-static-assert) No, this can't be static_asserCOMMENT
LOWAK/Singleton.h1/*COMMENT
LOWAK/MACAddress.h1/*COMMENT
LOWAK/StringFloatingPointConversions.h21 bool sign;COMMENT
LOWAK/Assertions.cpp1/*COMMENT
LOWAK/UFixedBigInt.h1/*COMMENT
LOWAK/StringUtils.cpp1/*COMMENT
LOWAK/JsonParser.cpp21COMMENT
LOWAK/JsonParser.cpp41 StringBuilder final_sb;COMMENT
LOWAK/ByteBuffer.h1/*COMMENT
LOWAK/Stream.h21/// Operations without a sensible default that are unsupported by an implementationCOMMENT
LOWAK/StringFloatingPointConversions.cpp1/*COMMENT
LOWAK/IPv4Address.h1/*COMMENT
LOWAK/SIMDExtras.h201 for (size_t i = 0; i < N; ++i)COMMENT
LOWAK/StringBuilder.cpp1/*COMMENT
LOWAK/FixedStringBuffer.h1/*COMMENT
LOWAK/FloatingPointStringConversions.cpp1/*COMMENT
LOWAK/FloatingPointStringConversions.cpp221 // So the eight need to go down, and the 01 need to be multiplied with 10000000COMMENT
LOWAK/StringView.h1/*COMMENT
LOWAK/StringView.h261 // StringView str { "foobar" };COMMENT
LOWAK/SIMD.h121# if defined(AK_COMPILER_CLANG)COMMENT
LOWAK/StringView.cpp1/*COMMENT
LOWAK/Math.h1/*COMMENT
LOWAK/Math.h21#include <math.h>COMMENT
LOWAK/StackInfo.cpp1/*COMMENT
LOWAK/IPv6Address.h1/*COMMENT
LOWAK/AsyncStream.h21// In order to correctly implement methods of AsyncResource, you first have to define (notCOMMENT
LOWAK/AsyncStream.h61 // 1. Assert that the object is fully constructed. For example, a socket might assert that it isCOMMENT
LOWAK/Format.h1/*COMMENT
LOWAK/Vector.h1/*COMMENT
LOWAK/PrintfImplementation.h1/*COMMENT
LOWAK/Platform.h21# define AK_IS_ARCH_X86_64() 0COMMENT
LOWAK/Platform.h41COMMENT
LOWAK/Platform.h61# define AK_COMPILER_APPLE_CLANGCOMMENT
LOWAK/Platform.h81# define AK_OS_BSD_GENERICCOMMENT
LOWAK/Platform.h101# define AK_OS_DRAGONFLYCOMMENT
LOWAK/Platform.h121#if defined(_WIN32) || defined(_WIN64)COMMENT
LOWAK/Platform.h141#endifCOMMENT
LOWAK/Platform.h161// FIXME: Undefine once https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115851 is fixed.COMMENT
LOWAK/Platform.h181# undef FLATTENCOMMENT
LOWAK/Platform.h201#endifCOMMENT
LOWAK/Platform.h221#ifdef DISALLOWCOMMENT
LOWAK/Platform.h241#elseCOMMENT
LOWAK/Platform.h261#endifCOMMENT
LOWAK/Try.h1/*COMMENT
LOWAK/Function.h41// These annotations are used to avoid capturing a variable with local storage in a lambda that outlives itCOMMENT
LOWAK/Function.h341using AK::IsCallableWithArguments;COMMENT
LOWAK/FixedPoint.h1/*COMMENT
1794 more matches not shown…
Fake / Example Data141 hits · 170 pts
SeverityFileLineSnippetContext
LOWUserland/Libraries/LibWeb/CSS/Selector.cpp467 return "placeholder"sv;CODE
LOWUserland/Libraries/LibWeb/CSS/Selector.cpp508 } else if (name.equals_ignoring_ascii_case("placeholder"sv)) {CODE
LOWUserland/Libraries/LibGUI/TextEditor.cpp50 REGISTER_DEPRECATED_STRING_PROPERTY("placeholder", placeholder, set_placeholder);CODE
LOWUserland/Libraries/LibGUI/ComboBox.cpp60 REGISTER_DEPRECATED_STRING_PROPERTY("placeholder", editor_placeholder, set_editor_placeholder);CODE
LOWUserland/Utilities/xargs.cpp57 args_parser.add_option(placeholder, "Placeholder string to be replaced in arguments", "replace", 'I', "placeholder")CODE
LOW…aintablewithlines-corner-clip-in-scroll-container.html36 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ultrices nequeCODE
LOW…aintablewithlines-corner-clip-in-scroll-container.html36 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ultrices nequeCODE
LOW…sts/LibWeb/Ref/scrolled-text-with-clipped-corners.html18 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ultrices neque eu nisi facilisisCODE
LOW…sts/LibWeb/Ref/scrolled-text-with-clipped-corners.html18 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ultrices neque eu nisi facilisisCODE
LOWTests/LibWeb/Ref/clip.html13</style><div class="clip">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lCODE
LOWTests/LibWeb/Ref/clip.html13</style><div class="clip">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lCODE
LOW…ibWeb/Ref/positioned-elements-in-scroll-container.html40 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW…ibWeb/Ref/positioned-elements-in-scroll-container.html40 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡…ibWeb/Ref/positioned-elements-in-scroll-container.html51 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡…ibWeb/Ref/positioned-elements-in-scroll-container.html51 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡…ibWeb/Ref/positioned-elements-in-scroll-container.html59 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOW⚡…ibWeb/Ref/positioned-elements-in-scroll-container.html59 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmodCODE
LOWTests/LibWeb/Ref/reference/clip-ref.html10</style><div class="clip">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lCODE
LOWTests/LibWeb/Ref/reference/clip-ref.html10</style><div class="clip">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut lCODE
LOW…/reference/scrolled-text-with-clipped-corners-ref.html24 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ultrices neque eu nisi facilisisCODE
LOW…/reference/scrolled-text-with-clipped-corners-ref.html24 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ultrices neque eu nisi facilisisCODE
LOW…ablewithlines-corner-clip-in-scroll-container-ref.html34 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ultrices nequeCODE
LOW…ablewithlines-corner-clip-in-scroll-container-ref.html34 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut ultrices nequeCODE
LOW…rence/positioned-elements-in-scroll-container-ref.html39 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporCODE
LOW…rence/positioned-elements-in-scroll-container-ref.html39 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporCODE
LOW⚡…rence/positioned-elements-in-scroll-container-ref.html50 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporCODE
LOW⚡…rence/positioned-elements-in-scroll-container-ref.html50 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporCODE
LOW⚡…rence/positioned-elements-in-scroll-container-ref.html58 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporCODE
LOW⚡…rence/positioned-elements-in-scroll-container-ref.html58 Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod temporCODE
LOW…Layout/expected/input-placeholder-with-line-height.txt11 "placeholder"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt50 "lorem ipsum lorem ipsum lorem ipsum lorem ipsum"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt52 "lorem ipsum lorem ipsum lorem ipsum lorem ipsum"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt54 "lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt56 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt58 "lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt60 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt62 "lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt64 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt66 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt68 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt70 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt72 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt74 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt76 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt78 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt80 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt82 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW⚡…ts/LibWeb/Layout/expected/block-and-inline/float-1.txt84 "ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem ipsum lorem"CODE
LOW…line/narrow-bfc-width-to-avoid-overlap-with-floats.txt8 "Lorem ipsum dolor sit amet, consectetur adipiscing elit."CODE
LOW…line/narrow-bfc-width-to-avoid-overlap-with-floats.txt8 "Lorem ipsum dolor sit amet, consectetur adipiscing elit."CODE
LOW…d-inline/float-left-and-right-with-text-in-between.txt5 "Lorem ipsum dolor sit"CODE
LOW…tem-with-box-sizing-border-box-and-nonzero-padding.txt7 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus interdum libero et urna"CODE
LOW…tem-with-box-sizing-border-box-and-nonzero-padding.txt7 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus interdum libero et urna"CODE
LOW⚡…s/LibWeb/Layout/expected/grid/min-height-from-text.txt7 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam dignissim elit eget arcu"CODE
LOW⚡…s/LibWeb/Layout/expected/grid/min-height-from-text.txt7 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam dignissim elit eget arcu"CODE
LOW⚡…s/LibWeb/Layout/expected/grid/min-height-from-text.txt17 "Lorem ipsum dolor sit amet."CODE
LOW⚡…s/LibWeb/Layout/expected/grid/min-height-from-text.txt17 "Lorem ipsum dolor sit amet."CODE
LOW…/LibWeb/Layout/expected/grid/row-span-2-maxcontent.txt39 "Lorem ipsum dolor sit amet, consectetur"CODE
LOW…/LibWeb/Layout/expected/grid/row-span-2-maxcontent.txt39 "Lorem ipsum dolor sit amet, consectetur"CODE
LOW…sts/LibWeb/Layout/expected/grid/item-column-span-2.txt12 "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut iaculis venenatis"CODE
81 more matches not shown…
Structural Annotation Overuse41 hits · 70 pts
SeverityFileLineSnippetContext
LOWDocumentation/RunningOnRaspberryPi.md14### Step 1: Set Up SerenityCOMMENT
LOWDocumentation/RunningOnRaspberryPi.md18### Step 2: Build and run in emulatorCOMMENT
LOWDocumentation/RunningOnRaspberryPi.md70### Step 1: Connect your Raspberry Pi to your PC using a UART cableCOMMENT
LOWDocumentation/RunningOnRaspberryPi.md75### Step 2: Plug the USB drive in the Raspberry Pi and power onCOMMENT
LOWAK/Time.h174// NOTE: This class is naive. It may represent either absolute offsets or relative durations. It does not have a referenCOMMENT
LOWUserland/Libraries/LibWeb/Layout/FormattingContext.cpp54 // NOTE: This function uses MDN as a reference, not because it's authoritative,COMMENT
LOWUserland/Libraries/LibWeb/Layout/FormattingContext.cpp941 // NOTE: This function is called twice: both before and after inside layout.COMMENT
LOW⚡Userland/Libraries/LibWeb/HTML/Location.cpp49 // Step 2: Let valueOf be location's relevant realm.[[Intrinsics]].[[%Object.prototype.valueOf%]].COMMENT
LOW⚡Userland/Libraries/LibWeb/HTML/Location.cpp53 // Step 3: Perform ! location.[[DefineOwnProperty]]("valueOf", { [[Value]]: valueOf, [[Writable]]: false, [[EnumerabCOMMENT
LOW⚡Userland/Libraries/LibWeb/HTML/Location.cpp62 // Step 4: Perform ! location.[[DefineOwnProperty]](%Symbol.toPrimitive%, { [[Value]]: undefined, [[Writable]]: falsCOMMENT
LOWUserland/Libraries/LibWeb/HTML/HTMLDocument.h13// NOTE: This class is not currently in the specifications but it *is* implemented by all major browsers.COMMENT
LOWUserland/Libraries/LibWeb/DOM/NodeIterator.cpp191 // NOTE: This function tries to match the behavior of other engines, but not the DOM specificationCOMMENT
LOWUserland/Libraries/LibWeb/DOM/ParentNode.cpp130// NOTE: This method is only exposed on Document and Element, but is in ParentNode to prevent code duplication.COMMENT
LOWUserland/Libraries/LibWeb/DOM/ParentNode.cpp160// NOTE: This method is only exposed on Document and Element, but is in ParentNode to prevent code duplication.COMMENT
LOWUserland/Libraries/LibWeb/Selection/Selection.cpp43 // NOTE: This function should not be confused with Selection.empty() which empties the selection.COMMENT
LOWUserland/Libraries/LibRegex/RegexParser.cpp207 // NOTE: This method must not be called during bracket and repetition parsing!COMMENT
LOW⚡Userland/Libraries/LibGfx/Path.cpp106 // Step 1: Compute (x1', y1')COMMENT
LOW⚡Userland/Libraries/LibGfx/Path.cpp112 // Step 2: Compute (cx', cy')COMMENT
LOWUserland/Libraries/LibGfx/Path.cpp139 // Step 3: Compute (cx, cy) from (cx', cy')COMMENT
LOW…d/Libraries/LibJS/Runtime/ECMAScriptFunctionObject.cpp724 // NOTE: This function is a combination between two proposals, so does not exactly match spec steps of either.COMMENT
LOW…erland/Libraries/LibJS/Runtime/TypedArrayPrototype.cpp472// NOTE: This function assumes that the index is valid within the TypedArray,COMMENT
LOWUserland/Libraries/LibJS/Runtime/GlobalObject.cpp111 // NOTE: This function is infallible as we set properties directly; property clashes in global object constructiCOMMENT
LOW⚡…ries/LibJS/Runtime/Temporal/PlainMonthDayPrototype.cpp287 // Step 1: Let monthDay be the this valueCOMMENT
LOW⚡…ries/LibJS/Runtime/Temporal/PlainMonthDayPrototype.cpp288 // Step 2: Perform ? RequireInternalSlot(monthDay, [[InitializedTemporalMonthDay]]).COMMENT
LOW⚡…ries/LibJS/Runtime/Temporal/PlainMonthDayPrototype.cpp291 // Step 3: Return monthDay.[[Calendar]].COMMENT
LOW⚡…ies/LibJS/Runtime/Temporal/PlainYearMonthPrototype.cpp454 // Step 1: Let yearMonth be the this valueCOMMENT
LOW⚡…ies/LibJS/Runtime/Temporal/PlainYearMonthPrototype.cpp455 // Step 2: Perform ? RequireInternalSlot(yearMonth, [[InitializedTemporalYearMonth]]).COMMENT
LOW⚡…ies/LibJS/Runtime/Temporal/PlainYearMonthPrototype.cpp458 // Step 3: Return yearMonth.[[Calendar]].identifierCOMMENT
LOWUserland/Libraries/LibJS/Bytecode/Interpreter.cpp844// NOTE: This function assumes that the index is valid within the TypedArray,COMMENT
LOWUserland/Libraries/LibJS/Bytecode/Interpreter.cpp862// NOTE: This function assumes that the index is valid within the TypedArray,COMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp228 // Step 1: Check if everything is in order.COMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp250 // Step 2: Open and parse the 'components.ini' file.COMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp261 // Step 3: Ask the user which starting configuration to use.COMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp283 // Step 4: Customize the configuration if the user requested to. In any case, set the components component.is_selectCOMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp345 // Step 5: Generate the cmake command.COMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp360 // Step 6: Run 'ninja clean', 'rm -rf Root' and CMakeCOMMENT
LOWKernel/Firmware/DeviceTree/Management.cpp76// NOTE: This function has to only be called once for each device!COMMENT
LOWKernel/FileSystem/FileSystem.h93 // NOTE: This method is implemented in Kernel/FileSystem/VirtualFileSystem.cppCOMMENT
LOWKernel/FileSystem/VFSRootContext.h105 // NOTE: This method is implemented in Kernel/FileSystem/VirtualFileSystem.cppCOMMENT
LOWKernel/FileSystem/FileBackedFileSystem.h45 // NOTE: This method is implemented in Kernel/FileSystem/VirtualFileSystem.cppCOMMENT
LOWKernel/Devices/Storage/StorageDevice.h58 // NOTE: This method should be used when we need to calculate the actualCOMMENT
Hyper-Verbose Identifiers56 hits · 59 pts
SeverityFileLineSnippetContext
LOW.ycm_extra_conf.py78def find_corresponding_source_file(filename):CODE
LOWAK/StringFloatingPointConversions.cpp271 def split_by_wide_digits_and_print(value):CODE
LOWUserland/Libraries/LibGfx/TIFFGenerator.py208def export_enum_to_string_converter(enums: List[Type[EnumWithExportName]]) -> str:CODE
LOWUserland/Libraries/LibGfx/TIFFGenerator.py299def pascal_case_to_snake_case(name: str) -> str:STRING
LOWUserland/Libraries/LibGfx/TIFFGenerator.py530def generate_tag_handler_file(tags: List[Tag]) -> str:STRING
LOW…erland/Libraries/LibJS/Tests/operators/delete-basic.js126 function createToPrimitiveFunction(object, valueToReturn) {CODE
LOW…ZonedDateTime/ZonedDateTime.prototype.withPlainTime.js6 function checkCommonExpectedResults(withPlainTimeZonedDateTime) {CODE
LOW…ibJS/Tests/builtins/Atomics/Atomics.compareExchange.js28 function detachArrayWhileAccessingIndex(array) {CODE
LOW…land/Libraries/LibJS/Tests/syntax/function-hoisting.js224 function hoistInBlockStrictFunction() {CODE
LOW…land/Libraries/LibJS/Tests/syntax/function-hoisting.js259 function nestedBlocksStrictFunction() {CODE
LOW⚡…land/Libraries/LibJS/Tests/syntax/function-hoisting.js282 function notBlockStrictFunctionTopLevel() {CODE
LOW⚡…land/Libraries/LibJS/Tests/syntax/function-hoisting.js288 function notBlockStrictFunctionTopLevel() {CODE
LOW⚡…land/Libraries/LibJS/Tests/syntax/function-hoisting.js295 function notBlockStrictFunctionTopLevel() {CODE
LOW…land/Libraries/LibJS/Tests/syntax/function-hoisting.js331 function hoistSecondOneStrictFunction() {CODE
LOW…land/Libraries/LibJS/Tests/syntax/function-hoisting.js335 function hoistSecondOneStrictFunction() {CODE
LOWUserland/Libraries/LibJS/Tests/syntax/async-await.js262 function makeConstructorObservable(promise) {CODE
LOWUserland/Libraries/LibJS/Tests/modules/basic-modules.js39function expectedModuleToThrowSyntaxError(filename, message) {CODE
LOW…/LibWeb/Text/input/Element-offsetParent-of-iframe.html4 function offsetParentOfChildDocument() {CODE
LOW…LibWeb/Text/input/ProcessingInstruction-cloneNode.html7 function dumpProcessingInstruction(name, pi) {CODE
LOW…ts/LibWeb/Text/input/css/constructed-style-sheets.html5 function constructedStyleSheetAppliesToDocument(options) {CODE
LOW…t/input/css/dir-pseudo-on-form-associated-element.html14 function testElementDirectionality(element) {CODE
LOW…treams/TransformStream-cancelled-by-writable-side.html3 function testTransformStreamReadableStreamCancellation() {CODE
LOW…treams/TransformStream-cancelled-by-readable-side.html3 function testTransformStreamReadableStreamCancellation() {CODE
LOW…bWeb/Text/input/Streams/ReadableStream-can-cancel.html3 function testReadableStreamCancellation() {CODE
LOW…ext/input/Streams/QueuingStrategy-high-water-mark.html4 function checkHighWaterMarkForClass(cls, object) {CODE
LOW…bWeb/Text/input/HTML/reflected-integer-attributes.html10 function testIntegerReflectedProperty(tagName, property) {CODE
LOW…bWeb/Text/input/ResizeObserver/observe-border-box.html24 function createResizeObserverPromise() {CODE
LOW…/input/ResizeObserver/notify-if-parent-is-removed.html20 function createResizeObserverPromise() {CODE
LOWTests/LibWeb/Text/input/ResizeObserver/observe.html20 function createResizeObserverPromise() {CODE
LOW…xt/input/ResizeObserver/notify-if-node-is-removed.html20 function createResizeObserverPromise() {CODE
LOWTests/LibWeb/Text/input/ResizeObserver/unobserve.html20 function createResizeObserverPromise() {CODE
LOWTests/LibWeb/Text/input/ResizeObserver/disconnect.html36 function createResizeObserverCallback() {CODE
LOW…eb/Text/input/DOM/Document-set-partial-attributes.html5 function testPartialDocumentAttribute(documentAttr, bodyAttr) {CODE
LOW…xt/input/wpt-import/css/support/computed-testcommon.js46function testComputedValueGreaterOrLowerThan(property, specified, expected, titleExtra) {CODE
LOW…xt/input/wpt-import/css/support/computed-testcommon.js63function testTransformValuesCloseTo(specified, epsilon, expectedValue, description)CODE
LOW…/LibWeb/Text/input/wpt-import/resources/testharness.js338 function DedicatedWorkerTestEnvironment() {CODE
LOW…/LibWeb/Text/input/wpt-import/resources/testharness.js361 function SharedWorkerTestEnvironment() {CODE
LOW…/LibWeb/Text/input/wpt-import/resources/testharness.js387 function ServiceWorkerTestEnvironment() {CODE
LOW…/LibWeb/Text/input/wpt-import/resources/testharness.js439 function ShadowRealmTestEnvironment() {CODE
LOW…/LibWeb/Text/input/wpt-import/resources/testharness.js4592 function OptionalFeatureUnsupportedError(message)CODE
LOWMeta/label-pull-requests.js29async function labelsForGenericPullRequestChange(currentLabels) {CODE
LOWMeta/label-pull-requests.js35async function labelsForPullRequestEffectivelyClosed(currentLabels) {CODE
LOWMeta/label-pull-requests.js47 async function labelsForPullRequestReviewSubmitted(currentLabels, { pull_request, review }) {CODE
LOW⚡Meta/run.py261 def display_backend_arguments(self) -> str | None:CODE
LOW⚡Meta/run.py270 def network_backend_arguments(self) -> list[str]:CODE
LOW⚡Meta/run.py275 def network_default_arguments(self) -> str | None:CODE
LOW⚡Meta/run.py285 def character_device_arguments(self) -> list[str]:CODE
LOW⚡Meta/run.py462def set_up_basic_kernel_cmdline(config: Configuration):CODE
LOWMeta/run.py339def determine_boot_drive_type() -> BootDriveType:CODE
LOWMeta/run.py434def set_up_virtualization_support(config: Configuration):CODE
LOWMeta/riscv_extensions_generator.py46def unprivileged_extension_sort_key(extension):CODE
LOWMeta/lint-ports.py205def get_and_check_port_patch_list(ports):CODE
LOWMeta/lint-ports.py250def check_descriptions_for_port_patches(patches):CODE
LOWMeta/lint-ports.py328def check_patches_are_git_patches(patches):CODE
LOWMeta/CMake/get_cxx_includes.py7def get_includes_from_version_output(compiler, target_args):CODE
LOWMeta/CMake/get_cxx_includes.py32def get_includes_from_preprocessor_output(compiler, test_file, target_args):CODE
AI Slop Vocabulary17 hits · 48 pts
SeverityFileLineSnippetContext
MEDIUMAK/StringFloatingPointConversions.cpp292 # The following are some random approximations. Absolutely nothing special with these exact numbers.COMMENT
MEDIUMUserland/Libraries/LibWeb/Crypto/CryptoAlgorithms.cpp86 // utilize the minimum number of octets needed to represent theCOMMENT
MEDIUMUserland/Libraries/LibWeb/CSS/MediaQuery.cpp104 // add more robust handling for them then.COMMENT
MEDIUM…land/Libraries/LibWeb/Layout/GridFormattingContext.cpp2075 // NOTE: Absolutely positioned boxes are relative to the *padding edge* of the containing block.COMMENT
MEDIUMUserland/Libraries/LibWeb/Layout/FormattingContext.cpp65 // Absolutely positioned elements (elements where position is absolute or fixed).COMMENT
MEDIUMUserland/Libraries/LibWeb/Layout/FormattingContext.cpp350 // Absolutely positioned children are ignored,COMMENT
MEDIUMUserland/Libraries/LibWeb/Layout/FormattingContext.cpp852 // 10.3.8 Absolutely positioned, replaced elementsCOMMENT
MEDIUMUserland/Libraries/LibWeb/Layout/FormattingContext.cpp936 // 5.3. The Height Of Absolutely Positioned, Non-Replaced ElementsCOMMENT
MEDIUMUserland/Libraries/LibWeb/Layout/FormattingContext.cpp1277 // NOTE: Absolutely positioned boxes are relative to the *padding edge* of the containing block.COMMENT
MEDIUMUserland/Libraries/LibWeb/Layout/FormattingContext.cpp1285 // NOTE: Absolutely positioned boxes are relative to the *padding edge* of the containing block.COMMENT
MEDIUMUserland/Libraries/LibWeb/Layout/FormattingContext.cpp1299 // 10.6.5 Absolutely positioned, replaced elementsCOMMENT
MEDIUMUserland/Libraries/LibAudio/PlaybackStream.h29// The interface is designed to be simple and robust. All control functions can be called safely from any thread.COMMENT
MEDIUMMeta/run.py202 # Argument list pertaining to Kernel and Prekernel image(s)COMMENT
LOWPorts/qemu/package.sh42# We don't have '<arch>-serenity-pkg-config', so just use the "normal" one.COMMENT
LOWPorts/RetroArch/package.sh28# We don't have '<arch>-serenity-pkg-config', so just use the "normal" one.COMMENT
MEDIUM…rnel/Bus/USB/Drivers/MassStorage/MassStorageDriver.cpp68 // as they replace the Read/WriteReady signals to and leverage stream IDs insteadCOMMENT
MEDIUMKernel/Heap/Heap.h85 // FIXME: These should utilize the alignment directly instead of trying to allocate `size + alignment`.COMMENT
Verbosity Indicators22 hits · 41 pts
SeverityFileLineSnippetContext
LOWUserland/Libraries/LibWeb/Layout/FormattingContext.cpp1186 // The purpose of this function is to calculate the approximate position that `box`COMMENT
LOW⚡Userland/Libraries/LibWeb/HTML/Location.cpp49 // Step 2: Let valueOf be location's relevant realm.[[Intrinsics]].[[%Object.prototype.valueOf%]].COMMENT
LOW⚡Userland/Libraries/LibWeb/HTML/Location.cpp53 // Step 3: Perform ! location.[[DefineOwnProperty]]("valueOf", { [[Value]]: valueOf, [[Writable]]: false, [[EnumerabCOMMENT
LOW⚡Userland/Libraries/LibWeb/HTML/Location.cpp62 // Step 4: Perform ! location.[[DefineOwnProperty]](%Symbol.toPrimitive%, { [[Value]]: undefined, [[Writable]]: falsCOMMENT
LOW⚡Userland/Libraries/LibGfx/Path.cpp106 // Step 1: Compute (x1', y1')COMMENT
LOW⚡Userland/Libraries/LibGfx/Path.cpp112 // Step 2: Compute (cx', cy')COMMENT
LOWUserland/Libraries/LibGfx/Path.cpp139 // Step 3: Compute (cx, cy) from (cx', cy')COMMENT
LOW⚡…ries/LibJS/Runtime/Temporal/PlainMonthDayPrototype.cpp287 // Step 1: Let monthDay be the this valueCOMMENT
LOW⚡…ries/LibJS/Runtime/Temporal/PlainMonthDayPrototype.cpp288 // Step 2: Perform ? RequireInternalSlot(monthDay, [[InitializedTemporalMonthDay]]).COMMENT
LOW⚡…ries/LibJS/Runtime/Temporal/PlainMonthDayPrototype.cpp291 // Step 3: Return monthDay.[[Calendar]].COMMENT
LOW⚡…ies/LibJS/Runtime/Temporal/PlainYearMonthPrototype.cpp454 // Step 1: Let yearMonth be the this valueCOMMENT
LOW⚡…ies/LibJS/Runtime/Temporal/PlainYearMonthPrototype.cpp455 // Step 2: Perform ? RequireInternalSlot(yearMonth, [[InitializedTemporalYearMonth]]).COMMENT
LOW⚡…ies/LibJS/Runtime/Temporal/PlainYearMonthPrototype.cpp458 // Step 3: Return yearMonth.[[Calendar]].identifierCOMMENT
LOWUserland/Libraries/LibJS/Bytecode/Interpreter.cpp690 // generators as well, so we need to check if it will actuallyCOMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp228 // Step 1: Check if everything is in order.COMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp250 // Step 2: Open and parse the 'components.ini' file.COMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp261 // Step 3: Ask the user which starting configuration to use.COMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp283 // Step 4: Customize the configuration if the user requested to. In any case, set the components component.is_selectCOMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp345 // Step 5: Generate the cmake command.COMMENT
LOWMeta/Lagom/Tools/ConfigureComponents/main.cpp360 // Step 6: Run 'ninja clean', 'rm -rf Root' and CMakeCOMMENT
LOWKernel/Tasks/Scheduler.cpp493 // as a Spinlock), we need to check if we're not already doing thisCOMMENT
LOWKernel/Devices/KCOVDevice.cpp56 // Buffer is shared among all proc threads, hence we need to check if any of themCOMMENT
Decorative Section Separators8 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUM⚡AK/JsonParser.cpp27// │├── " ──╮───────────────────────────────────────────────╭── " ──┤│COMMENT
MEDIUM⚡AK/JsonParser.cpp29// │ ╭───────────────────<─────────────────────╮ │COMMENT
MEDIUM⚡AK/JsonParser.cpp31// ╰──╰──╮───────────── [^"\\] ──────────────╭──╯──╯COMMENT
MEDIUM⚡AK/JsonParser.cpp33// ╰── \ ───╮──── ["\\bfnrt] ───────╭──╯COMMENT
MEDIUM⚡Userland/Libraries/LibWeb/Painting/ShadowPainting.cpp473 // ┌───┬────────┬───┐COMMENT
MEDIUM⚡Userland/Libraries/LibWeb/Painting/ShadowPainting.cpp475 // ├───┼────────┼───┤COMMENT
MEDIUM⚡Userland/Libraries/LibWeb/Painting/ShadowPainting.cpp481 // ├───┼────────┼───┤COMMENT
MEDIUM⚡Userland/Libraries/LibWeb/Painting/ShadowPainting.cpp483 // └───┴────────┴───┘COMMENT
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUM.ycm_extra_conf.py4# This file is NOT licensed under the GPLv3, which is the license for the restCOMMENT
MEDIUMMeta/lb-cherry-picks.py321# Define a list of pull request IDs that should never be mergedCOMMENT
MEDIUMMeta/riscv_extensions_generator.py60# This file is used to generate the RISC-V Extensions.h header.COMMENT
MEDIUMPorts/opfor/package.sh42 # Create a launch scriptCOMMENT
MEDIUMPorts/halflife/package.sh42 # Create a launch scriptCOMMENT
MEDIUMPorts/SRB2/package.sh43 # This file is being installed despite not being the release archive,COMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…land/Libraries/LibWeb/WebGL/WebGLContextAttributes.cpp16 // NOTE: This code was generated by the IDL code generator and then cleaned up.COMMENT
HIGHUserland/Libraries/LibGUI/Margins.h46 // GML compatibility constructors only for use in auto-generated code.COMMENT
Deep Nesting16 hits · 14 pts
SeverityFileLineSnippetContext
LOWTests/LibWeb/WPT/concat-extract-metadata.py17CODE
LOWMeta/run.py354CODE
LOWMeta/run.py469CODE
LOWMeta/run.py547CODE
LOWMeta/run.py597CODE
LOWMeta/run.py642CODE
LOWMeta/run.py670CODE
LOWMeta/import-wpt-test.py58CODE
LOWMeta/test_pdf.py55CODE
LOWMeta/check-newlines-at-eof.py42CODE
LOWMeta/check-style.py98CODE
LOWMeta/check-idl-files.py32CODE
LOWMeta/download_file.py35CODE
LOWMeta/lint-ports.py114CODE
LOWMeta/lint-ports.py250CODE
LOWMeta/serenity_gdb.py14CODE
TODO Padding9 hits · 14 pts
SeverityFileLineSnippetContext
LOWUserland/Libraries/LibWeb/Fetch/FetchMethod.cpp182 // TODO: Implement erroring streamsCOMMENT
LOWUserland/Libraries/LibSQL/Database.cpp206 // TODO: implement table constraints such as unique, foreign key, etc.COMMENT
LOWUserland/Libraries/LibSQL/Database.cpp255 // TODO: implement table constraints such as unique, foreign key, etc.COMMENT
LOW…es/LibJS/Tests/builtins/Proxy/Proxy.handler-ownKeys.js4 // TODO: Add tests for other [[OwnPropertyKeys]] trap invariantsCOMMENT
LOWTests/LibC/TestFenv.cpp10// TODO: Add tests for floating-point exception management.COMMENT
LOWTests/AK/TestChecked.cpp13// TODO: Add tests about the actual `Check`ing itself!COMMENT
LOWKernel/Net/NetworkAdapter.h74 // TODO: implement other multicast addressesCOMMENT
LOWKernel/Bus/VirtIO/Device.cpp55 // TODO: implement indirect descriptors to allow queue_size buffers instead of buffers totalling (PAGE_SIZE * queue_COMMENT
LOWKernel/Time/TimeManagement.h51 // TODO: implementCOMMENT
Slop Phrases5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMUserland/Libraries/LibWeb/HTML/HTMLImageElement.cpp877 // FIXME: or if the image format is unsupported (as determined by applying the image sniffing rules, agaCOMMENT
MEDIUMUserland/Libraries/LibWeb/HTML/HTMLImageElement.cpp898 // or if the image format is unsupported (as determined by applying the image sniffing rules, again aCOMMENT
LOWMeta/shell_include.sh26 # To make doas work, you have to make sure you use the "keepenv" flag in doas.confCOMMENT
LOWMeta/Lagom/Tools/CompareAKMathAgainstMPFR/main.cpp466 // FIXME: Don't forget to update this when adding support for testing float functions.COMMENT
LOWPorts/neovim/package.sh25 # When updating these, make sure to also add new symlinks in the install step.COMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL.github/workflows/lintcommits.yml60 const opts = github.rest.pulls.listCommits.endpoint.merge({CODE
Redundant / Tautological Comments5 hits · 9 pts
SeverityFileLineSnippetContext
LOW⚡Meta/run.py454 # Check if HVF is actually available if we're on MacOSCOMMENT
LOW⚡Meta/run.py457 # Check if WHPX is actually available if we're on WindowsCOMMENT
LOWMeta/run.py609 # Check if `nvidia-smi` is installed; if it is, assume that NVIDIA drivers would be used.COMMENT
LOWPorts/python3/package.sh54 # Check if major and minor version of python3 are matchingCOMMENT
LOWPorts/ruby/package.sh40 # Check if major and minor version of ruby are matchingCOMMENT
Excessive Try-Catch Wrapping5 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMMeta/run.py984 print(f"Error: {e}")CODE
MEDIUMMeta/run.py588def has_virgl() -> bool:CODE
LOWMeta/run.py396 except Exception:CODE
LOWMeta/run.py985 except Exception as e:CODE
MEDIUMMeta/CMake/get_cxx_includes.py13 print("Error getting includes from compiler version output: " + e.output)CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHKernel/Bus/USB/USBPipe.h27// an endpoint on the device. In this implementation, the data buffer the pipe connectsCOMMENT
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHMeta/run.py981except KeyboardInterrupt:CODE
AI Structural Patterns3 hits · 3 pts
SeverityFileLineSnippetContext
LOWUserland/Libraries/LibGfx/TIFFGenerator.py398CODE
LOWUserland/Libraries/LibGfx/TIFFGenerator.py479CODE
LOWUserland/Libraries/LibGfx/TIFFGenerator.py527CODE
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWTests/ClangPlugins/lit.cfg.py8CODE
LOWTests/ClangPlugins/lit.cfg.py9CODE
LOWMeta/run.py8CODE