AI Slop Code RIsk Monitor

tock/tock

A secure embedded operating system for microcontrollers

5.9 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for tock/tock, a Rust project with 6,464 GitHub stars. SynthScan examined 494,245 lines of code across 2305 source files, recording 2681 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 5.9 (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.

5.9
Adjusted Signal
5.9
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
6.5K
Stars
Rust
Language
494.2K
Lines of Code
2.3K
Files
2.7K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 22.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 3.7/100 · LOW

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

PR Review Velocity Impact 25.7/100 · MEDIUM

Which changes need focused human review? 2681 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 0HIGH 4MEDIUM 120LOW 2557

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 2681 distinct pattern matches across 17 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 Block2479 hits · 2360 pts
SeverityFileLineSnippetContext
LOWCargo.toml161COMMENT
LOWCargo.toml221# Sometimes if statements are easier to read than match statements.COMMENT
LOWrustfmt.toml1# Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOWclippy.toml1# Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOWtools/repo-maintenance/update_rust_version.sh1#!/usr/bin/env bashCOMMENT
LOWtools/repo-maintenance/update_rust_version.sh41COMMENT
LOWtools/repo-maintenance/check-all-links.sh1#!/usr/bin/env bashCOMMENT
LOWtools/ci/toc.sh1#!/usr/bin/env bashCOMMENT
LOWtools/ci/check_format.sh1#!/usr/bin/env bashCOMMENT
LOWtools/ci/flux-ci-runner/deps.sh1#!/usr/bin/env bashCOMMENT
LOWtools/ci/license-checker/testdata/no_spdx.rs1// Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOWtools/ci/license-checker/testdata/many_errors.rs1// Licensed under the Apache License, Version 2.0 or the MIT License. [*]COMMENT
LOWtools/ci/license-checker/testdata/error_missing.rs1//! This test file should result in a "license missing" error, as the tool seesCOMMENT
LOWtools/ci/license-checker/testdata/no_copyright.rs1// Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOWtools/ci/license-checker/testdata/blank_is_comment.rs1// Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOWtools/ci/license-checker/src/fallback_syntax.yaml1# Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOWtools/ci/license-checker/src/main.rs1// Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOWtools/ci/license-checker/src/main.rs21//! This ignore file handling is modelled after the `ripgrep` tool. UnlikeCOMMENT
LOWtools/ci/license-checker/src/main.rs41//! ```COMMENT
LOWtools/ci/license-checker/src/main.rs61//! // Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOWtools/ci/license-checker/src/parser.rs1// Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOWtools/ci/license-checker/src/parser.rs141COMMENT
LOWtools/ci/litex-ci-runner/src/main.rs21// const LED5: u64 = 5;COMMENT
LOWtools/ci/litex-ci-runner/src/main.rs201 // This tests two things:COMMENT
LOWtools/svd2regs/svd2regs.py1#!/usr/bin/env pythonCOMMENT
LOWtools/svd2regs/svd2regs.py21# rustfmt:COMMENT
LOW…s/debugging-and-development/print_tock_memory_usage.py1#!/usr/bin/env python3COMMENT
LOW…s/debugging-and-development/print_tock_memory_usage.py41# A map of section name -> sizeCOMMENT
LOW…s/debugging-and-development/print_tock_memory_usage.py61# the same address). The one with the largest reported size will haveCOMMENT
LOW…s/debugging-and-development/print_tock_memory_usage.py321COMMENT
LOWtools/debugging-and-development/find_panics.py1#!/usr/bin/env python3COMMENT
LOWtools/debugging-and-development/find_panics.py21# - finding and removing panics in a Tock kernel binaryCOMMENT
LOWtools/debugging-and-development/find_panics.py41# `no_info_panic_list`. If this list contains some panics, that is a sign that someCOMMENT
LOWtools/debugging-and-development/svd2regs/svd2regs.py1#!/usr/bin/env pythonCOMMENT
LOWtools/debugging-and-development/svd2regs/svd2regs.py21# rustfmt:COMMENT
LOW…debugging-and-development/usb/control-test/src/main.rs1// Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOW…ls/debugging-and-development/usb/bulk-echo/src/main.rs1// Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOW…ls/debugging-and-development/usb/bulk-echo/src/main.rs21//! \ / | Tock usbc_clientCOMMENT
LOW…ls/debugging-and-development/usb/bulk-test/src/main.rs1// Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOW…ls/debugging-and-development/usb/bulk-test/src/main.rs21//! The expected output of this program (after listing USB devices) is:COMMENT
LOWchips/stm32f303xc/src/wdt.rs41 /// Timer baseCOMMENT
LOWchips/stm32f303xc/src/adc.rs721 }COMMENT
LOWchips/stm32f303xc/src/gpio.rs421///COMMENT
LOWchips/stm32f303xc/src/gpio.rs521 AlternateFunctionMode = 0b10,COMMENT
LOWchips/stm32f303xc/src/flash.rs1// Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOWchips/stm32f303xc/src/flash.rs41 pub okr: WriteOnly<u32, Key::Register>,COMMENT
LOWchips/stm32f303xc/src/flash.rs81 /// Represents the keys to unlock the flash or the optionCOMMENT
LOWchips/stm32f303xc/src/flash.rs101 /// Indicates that a flash operation is in progress. This is set onCOMMENT
LOWchips/stm32f303xc/src/flash.rs181 /// Chooses watchdog typeCOMMENT
LOWchips/stm32f303xc/src/flash.rs221const KEY2: u32 = 0xCDEF89AB;COMMENT
LOWchips/msp432/src/dma.rs421 /// Peripheral scatter-gather mode, which uses the primary data-structureCOMMENT
LOWchips/msp432/src/adc.rs361 /// Interrupt enable for the falling short of the lower limit interrupt of the windowCOMMENT
LOWchips/msp432/src/adc.rs581///COMMENT
LOWchips/rp2xxx/src/lib.rs1// Licensed under the Apache License, Version 2.0 or the MIT License.COMMENT
LOWchips/rp2xxx/src/lib.rs21///COMMENT
LOWchips/qemu_rv64_virt_chip/src/chip.rs281 }COMMENT
LOWchips/rp2040/src/pio_spi.rs21// Since auto push / pull is set to 8 for the purposes of writing in bytesCOMMENT
LOWchips/rp2040/src/timer.rs21 /// timeh is the top 32 bits of time & timel is the bottom 32 bits\nCOMMENT
LOWchips/rp2040/src/timer.rs41 /// Arm alarm 0, and configure the time it will fire.\nCOMMENT
LOWchips/rp2040/src/timer.rs61 /// Indicates the armed/disarmed status of each alarm.\nCOMMENT
2419 more matches not shown…
Decorative Section Separators96 hits · 352 pts
SeverityFileLineSnippetContext
MEDIUMcapsules/core/src/process_console.rs585 \r\n ╚{:#010X}═╪══════════════════════════════╝\CODE
MEDIUMcapsules/core/src/process_console.rs604 \r\n {:#010X} ┼─────────────────────────────── S\CODE
MEDIUMcapsules/core/src/process_console.rs622 \r\n {:#010X} ┼─────────────────────────────── A\CODE
MEDIUMcapsules/core/src/process_console.rs624 \r\n {:#010X} ┼───────────────────────────────",CODE
MEDIUMcapsules/core/src/process_console.rs642 \r\n {:#010X} ┼─────────────────────────────── F\CODE
MEDIUMcapsules/core/src/process_console.rs660 \r\n {:#010X} ┼─────────────────────────────── A\CODE
MEDIUMcapsules/core/src/process_console.rs662 \r\n {:#010X} ┼─────────────────────────────── H\CODE
MEDIUMcapsules/core/src/driver.rs22/// ┌──────────┬──────────┬────────────────────────────────────────┐COMMENT
MEDIUMcapsules/core/src/driver.rs25/// └──────────┴──────────┴────────────────────────────────────────┘COMMENT
MEDIUM⚡capsules/system/src/process_printer.rs107 \r\n ╚{:#010X}═╪══════════════════════════════════════════╝\CODE
MEDIUM⚡capsules/system/src/process_printer.rs111 \r\n {:#010X} ┼───────────────────────────────────────────\CODE
MEDIUM⚡capsules/system/src/process_printer.rs113 \r\n {:#010X} ┼───────────────────────────────────────────\CODE
MEDIUM⚡capsules/system/src/process_printer.rs115 \r\n {:#010X} ┼───────────────────────────────────────────",CODE
MEDIUMcapsules/system/src/process_printer.rs139 \r\n {:#010X} ┼─────────────────────────────────────────── R",CODE
MEDIUMcapsules/system/src/process_printer.rs185 \r\n {:#010X} ┼─────────────────────────────────────────── M\CODE
MEDIUM⚡capsules/system/src/process_printer.rs209 \r\n {:#010X} ┼───────────────────────────────────────────\CODE
MEDIUM⚡capsules/system/src/process_printer.rs211 \r\n {:#010X} ┴───────────────────────────────────────────\CODE
MEDIUM⚡capsules/system/src/process_printer.rs213 \r\n {:#010X} ┬─────────────────────────────────────────── F\CODE
MEDIUM⚡capsules/system/src/process_printer.rs215 \r\n {:#010X} ┼─────────────────────────────────────────── A\CODE
MEDIUM⚡capsules/system/src/process_printer.rs217 \r\n {:#010X} ┴─────────────────────────────────────────── H\CODE
MEDIUM⚡capsules/extra/src/signature_verify_in_memory_keys.rs18//! ┌───────────────────────────────────────┐COMMENT
MEDIUM⚡capsules/extra/src/signature_verify_in_memory_keys.rs23//! └───────────────────────────────────────┘COMMENT
MEDIUM⚡capsules/extra/src/signature_verify_in_memory_keys.rs25//! ┌─────────────────────────────┐ │COMMENT
MEDIUM⚡capsules/extra/src/signature_verify_in_memory_keys.rs30//! └─────────────────────────────┘ │COMMENT
MEDIUM⚡capsules/extra/src/signature_verify_in_memory_keys.rs32//! ┌───────────────────────────────────────┐COMMENT
MEDIUM⚡capsules/extra/src/signature_verify_in_memory_keys.rs37//! └───────────────────────────────────────┘COMMENT
MEDIUMcapsules/extra/src/nonvolatile_to_pages.rs16//! ┌─────────────┐COMMENT
MEDIUMcapsules/extra/src/nonvolatile_to_pages.rs20//! └─────────────┘COMMENT
MEDIUM⚡…sules/extra/src/isolated_nonvolatile_storage_driver.rs20//! ╒════════ ← Start of nonvolatile regionCOMMENT
MEDIUM⚡…sules/extra/src/isolated_nonvolatile_storage_driver.rs21//! ├──────── ← Start of App 1's region headerCOMMENT
MEDIUM⚡…sules/extra/src/isolated_nonvolatile_storage_driver.rs25//! ├──────── ← Start of App 1's Region ═╗COMMENT
MEDIUM⚡…sules/extra/src/isolated_nonvolatile_storage_driver.rs33//! ├──────── ← Start of App 2's region headerCOMMENT
MEDIUM⚡…sules/extra/src/isolated_nonvolatile_storage_driver.rs37//! ├──────── ← Start of App 2's Region ═╗COMMENT
MEDIUM⚡…sules/extra/src/isolated_nonvolatile_storage_driver.rs47//! ╘════════ ← End of userspace regionCOMMENT
MEDIUM⚡.github/workflows/docs.yml28# ┌────────────────┬──────────────────────────────────────────────────┬─────────────────────────────┐COMMENT
MEDIUM⚡.github/workflows/docs.yml30# ├────────────────┼──────────────────────────────────────────────────┼─────────────────────────────┤COMMENT
MEDIUM⚡.github/workflows/docs.yml32# ├────────────────┼──────────────────────────────────────────────────┼─────────────────────────────┤COMMENT
MEDIUM⚡.github/workflows/docs.yml34# ├────────────────┼──────────────────────────────────────────────────┼─────────────────────────────┤COMMENT
MEDIUM⚡.github/workflows/docs.yml36# └────────────────┴──────────────────────────────────────────────────┴─────────────────────────────┘COMMENT
MEDIUM⚡kernel/src/process_standard.rs449 /// ╒════════ ← memory_start + memory_lenCOMMENT
MEDIUM⚡kernel/src/process_standard.rs451 /// ║ │ ──────COMMENT
MEDIUM⚡kernel/src/process_standard.rs453 /// ║ │ ──────COMMENT
MEDIUM⚡kernel/src/process_standard.rs455 /// D │ ──────COMMENT
MEDIUM⚡kernel/src/process_standard.rs459 /// M │ ────── ← kernel_memory_breakCOMMENT
MEDIUM⚡kernel/src/process_standard.rs461 /// C │ ────── ← app_break ═╗COMMENT
MEDIUM⚡kernel/src/process_standard.rs465 /// ╠═ │ ────── ← app_heap_start R CCOMMENT
MEDIUM⚡kernel/src/process_standard.rs467 /// F │ ────── ← data_start_pointer C SCOMMENT
MEDIUM⚡kernel/src/process_standard.rs471 /// D │ ────── ← current_stack_pointer LCOMMENT
MEDIUM⚡kernel/src/process_standard.rs473 /// ╚═ ╘════════ ← memory_start ═╝COMMENT
MEDIUM⚡kernel/src/process_standard.rs2010 // ┌───────────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡kernel/src/process_standard.rs2012 // └───────────────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡kernel/src/process_standard.rs2014 // ┌────────────────────────────────────────────────────────────────────────┬──────────────COMMENT
MEDIUM⚡kernel/src/process_standard.rs2016 // └────────────────────────────────────────────────────────────────────────┴──────────────COMMENT
MEDIUM⚡kernel/src/process_standard.rs2018 // ┌────────────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡kernel/src/process_standard.rs2020 // ↑ └────────────────────────────────────────────────────────────────────┘COMMENT
MEDIUM⚡kernel/src/process_standard.rs2022 // ┌─────────────────────────┬──────────────────────────────────────────┐COMMENT
MEDIUM⚡kernel/src/process_standard.rs2024 // └─────────────────────────┴──────────────────────────────────────────┘COMMENT
MEDIUM⚡kernel/src/process_standard.rs2029 // ┆ ┌───────┬──────────┬──────────────┐COMMENT
MEDIUM⚡kernel/src/process_standard.rs2031 // ┆ └───────┴──────────┴──────────────┘COMMENT
MEDIUM⚡kernel/src/process_standard.rs2033 // possible alignment padding┄┴┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┴┄┄┄┄┄┄┄┄┄┄┄┄┄┄┘COMMENT
36 more matches not shown…
AI Slop Vocabulary17 hits · 48 pts
SeverityFileLineSnippetContext
LOW…s/debugging-and-development/print_tock_memory_usage.py173 # Not a Rust symbol name, just return it unchanged.COMMENT
MEDIUMchips/virtio/src/queues/mod.rs28/// Fundamentally, every Virtqueue refers to three distinct regions in memory:COMMENT
MEDIUMchips/psc3/src/gpio_registers.rs98 /// Indicates presence or absence of VDDIO supplies (i.e. other than VDDD, VDDA) on the device (supplies are numbereCOMMENT
MEDIUMchips/psc3/src/gpio_registers.rs113 /// This bit indicates presence of the VDDD supply. This bit will always read-back 1. The VDDD supply has robust bCOMMENT
MEDIUMchips/psc3/src/srss_registers.rs937 /// Indicates the REGHC circuit is enabled and operating. It does not indicate that the voltage and current are witCOMMENT
MEDIUMchips/earlgrey/src/epmp.rs575 // `pmpaddr15` region, we first utilize another higher-priority CSR toCOMMENT
MEDIUMchips/earlgrey/src/epmp.rs734 // `pmpaddr15` region, we first utilize another higher-priority CSR toCOMMENT
MEDIUMchips/litex/src/litex_registers.rs14//! Essentially, the bus data width (default 32 bit), the CSR dataCOMMENT
MEDIUMcapsules/extra/src/net/thread/driver.rs198 // A parent request can only begin from a detached state. We utilizeCOMMENT
MEDIUMcapsules/extra/src/screen/screen_on_led.rs56 /// Essentially only [`ScreenOnLed`].COMMENT
MEDIUMboards/sma_q3/src/main.rs333 // should use a const reference to rtt_memory and leverage interior mutability instead.COMMENT
MEDIUM.github/workflows/ci.yml77 # Essentially there's two ways in which the Cargo.lockCOMMENT
MEDIUMkernel/src/process_standard.rs550 /// Essentially a list of upcalls that want to call functions in theCOMMENT
MEDIUMkernel/src/deferred_call.rs11//! devices that are supposed to work like hardware devices. Essentially, thisCOMMENT
MEDIUMkernel/src/utilities/single_thread_value.rs50 /// `usize` types can utilize `bind_to_thread_unsafe` instead: this methodCOMMENT
MEDIUMkernel/src/hil/uart.rs380/// provide useful abstractions that capsules may want to be able to leverage.COMMENT
MEDIUMkernel/src/hil/uart.rs385/// leverage that efficiency, and by placing the interfaces here in the HIL theyCOMMENT
Structural Annotation Overuse14 hits · 23 pts
SeverityFileLineSnippetContext
LOWchips/virtio/src/devices/virtio_gpu/mod.rs183 // Step 1: Create host resourceCOMMENT
LOWchips/virtio/src/devices/virtio_gpu/mod.rs225 // Step 2: Attach backing memory (our framebuffer)COMMENT
LOWchips/virtio/src/devices/virtio_gpu/mod.rs274 // Step 3: Set scanoutCOMMENT
LOWchips/virtio/src/devices/virtio_gpu/mod.rs318 // Step 4: Detach resourceCOMMENT
LOWchips/stm32f4xx/src/flash.rs185 // NOTE: This method is pub(crate) to prevent modifying the flash latency from board files.COMMENT
LOWcapsules/extra/src/net/sixlowpan/sixlowpan_state.rs569 // NOTE: This function will not work for headers that span past the firstCOMMENT
LOW.github/CONTRIBUTING.md83### Step 1: ForkCOMMENT
LOW.github/CONTRIBUTING.md94### Step 2: BranchCOMMENT
LOW.github/CONTRIBUTING.md106### Step 3: CommitCOMMENT
LOW⚡.github/CONTRIBUTING.md160### Step 4: RebaseCOMMENT
LOW⚡.github/CONTRIBUTING.md169### Step 5: PushCOMMENT
LOW⚡.github/CONTRIBUTING.md178### Step 6: Discuss and updateCOMMENT
LOW.github/CONTRIBUTING.md206### Step 7: StyleCOMMENT
LOW.github/CONTRIBUTING.md218### Step 8: LandingCOMMENT
Deep Nesting16 hits · 16 pts
SeverityFileLineSnippetContext
LOWtools/ci/diff_memory_usage.py11CODE
LOWtools/ci/check-capsule-readme.py28CODE
LOWtools/ci/check-capsule-readme.py40CODE
LOW…ls/debugging-and-development/embedded_data_analyzer.py86CODE
LOW…ls/debugging-and-development/embedded_data_analyzer.py113CODE
LOW…ls/debugging-and-development/embedded_data_analyzer.py221CODE
LOW…s/debugging-and-development/print_tock_memory_usage.py140CODE
LOW…s/debugging-and-development/print_tock_memory_usage.py167CODE
LOW…s/debugging-and-development/print_tock_memory_usage.py237CODE
LOW…s/debugging-and-development/print_tock_memory_usage.py336CODE
LOW…s/debugging-and-development/print_tock_memory_usage.py608CODE
LOWtools/debugging-and-development/find_panics.py213CODE
LOWtools/debugging-and-development/find_panics.py386CODE
LOW…ols/debugging-and-development/check_process_console.py93CODE
LOWboards/apollo3/ambiq/ambiq_bin2board.py402CODE
LOWboards/apollo3/ambiq/ambiq_bin2board.py496CODE
Redundant / Tautological Comments10 hits · 15 pts
SeverityFileLineSnippetContext
LOWtools/repo-maintenance/update_chip_support.py112 # Check if this chip or if any chip it subsumes implements this HIL.COMMENT
LOWtools/ci/tockbot/tockbot.py81# Assign maintainers to stale PRs when they haven't seen any review /COMMENT
LOWtools/ci/tockbot/tockbot.py257 # Check if we're being passed a GitHub access token in an environment var:COMMENT
LOWchips/stm32f4xx/src/clocks/hsi.rs31//! ## Check if the clock is enabledCOMMENT
LOWchips/stm32f4xx/src/clocks/pll.rs90//! ## Check if the PLL48CLK output is calibrated.COMMENT
LOWchips/stm32f4xx/src/clocks/hse.rs34//! ## Check if the clock is enabledCOMMENT
LOWboards/apollo3/ambiq/ambiq_bin2board.py87 # Open the file, and read it into an array of integers.COMMENT
LOWboards/apollo3/ambiq/ambiq_bin2board.py264 # Open the file, and read it into an array of integers.COMMENT
LOWboards/apollo3/ambiq/ambiq_bin2board.py507 #Check if response failedCOMMENT
LOWboards/apollo3/ambiq/ambiq_bin2board.py666 #Check if response failedCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHchips/psc3/src/srss_registers.rs619 /// 1: Normal operation. DEEPSLEEP and low power circuits operate as requested in other registers.COMMENT
HIGHcapsules/extra/src/hmac_sha256.rs48 /// The current mode of operation as requested by a call to eitherCOMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMtools/ci/check-boards-readme.py46 # Create the filepath to the board readme.COMMENT
MEDIUMboards/apollo3/ambiq/am_defines.py3# This file is part of the AmbiqSuite SDK, accessible underCOMMENT
MEDIUMboards/apollo3/ambiq/ambiq_bin2board.py3# This file is part of the AmbiqSuite SDK, accessible underCOMMENT
MEDIUMboards/apollo3/ambiq/keys_info.py3# This file is part of the AmbiqSuite SDK, accessible underCOMMENT
Hyper-Verbose Identifiers12 hits · 12 pts
SeverityFileLineSnippetContext
LOWtools/ci/check-capsule-readme.py40def find_implemented_capsules(root_path, implemented_list):CODE
LOW…s/debugging-and-development/print_tock_memory_usage.py129def trim_vendor_suffix_from_symbol(symbol):CODE
LOW…s/debugging-and-development/print_tock_memory_usage.py294def print_section_information():CODE
LOW…s/debugging-and-development/print_tock_memory_usage.py472def split_text_into_data_and_functions():CODE
LOW…s/debugging-and-development/print_tock_memory_usage.py513def print_all_symbol_information():CODE
LOW…s/debugging-and-development/print_tock_memory_usage.py527def print_grouped_symbol_information():CODE
LOWtools/debugging-and-development/find_panics.py126def linkage_or_origin_all_parents(elf, addr, linkage=False):CODE
LOWtools/debugging-and-development/find_panics.py146def any_origin_matches_panic_func(elf, addr):CODE
LOWtools/debugging-and-development/find_panics.py158def any_linkage_matches_panic_func(elf, addr):CODE
LOWtools/debugging-and-development/find_panics.py170def check_for_source_in_parent(elf, addr):CODE
LOW…ols/debugging-and-development/check_process_console.py185def test_fill_command_history(port: SerialPort):CODE
LOW…ols/debugging-and-development/check_process_console.py483def test_command_history_edit(port: SerialPort):CODE
Unused Imports12 hits · 12 pts
SeverityFileLineSnippetContext
LOWtools/ci/tockbot/tockbot.py16CODE
LOW…s/debugging-and-development/print_tock_memory_usage.py31CODE
LOWboards/apollo3/ambiq/am_defines.py42CODE
LOWboards/apollo3/ambiq/am_defines.py50CODE
LOWboards/apollo3/ambiq/ambiq_bin2board.py50CODE
LOWboards/apollo3/ambiq/ambiq_bin2board.py51CODE
LOWboards/apollo3/ambiq/ambiq_bin2board.py52CODE
LOWboards/apollo3/ambiq/ambiq_bin2board.py53CODE
LOWboards/apollo3/ambiq/ambiq_bin2board.py54CODE
LOWboards/apollo3/ambiq/ambiq_bin2board.py56CODE
LOWboards/apollo3/ambiq/ambiq_bin2board.py63CODE
LOWboards/apollo3/ambiq/keys_info.py39CODE
Slop Phrases5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMchips/earlgrey/src/epmp.rs601 // Now, onto `pmpcfg3`. As discussed above, we want to use a temporaryCOMMENT
MEDIUMchips/earlgrey/src/epmp.rs752 // Now, onto `pmpcfg3`. As discussed above, we want to use a temporaryCOMMENT
LOWcapsules/core/src/console.rs464 // Whatever happens, we want to make sure to replace the rx_buffer for future transactionsCOMMENT
LOWcapsules/core/src/console_ordered.rs548 // Whatever happens, we want to make sure to replace the rx_buffer for future transactionsCOMMENT
LOWarch/x86/src/interrupts/poller.rs120 /// Don't forget to call this method after servicing an interrupt.COMMENT
Verbosity Indicators6 hits · 9 pts
SeverityFileLineSnippetContext
LOWchips/virtio/src/devices/virtio_gpu/mod.rs183 // Step 1: Create host resourceCOMMENT
LOWchips/virtio/src/devices/virtio_gpu/mod.rs225 // Step 2: Attach backing memory (our framebuffer)COMMENT
LOWchips/virtio/src/devices/virtio_gpu/mod.rs274 // Step 3: Set scanoutCOMMENT
LOWchips/virtio/src/devices/virtio_gpu/mod.rs318 // Step 4: Detach resourceCOMMENT
LOWchips/stm32u5xx/src/i2c.rs709 // In this case, we need to check if we should issue:COMMENT
LOWarch/riscv/src/syscall.rs669 // Now we need to check if this was an interrupt, and if it was,COMMENT
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHchips/stm32f4xx/src/dma.rs1528/// > We could have these checks at runtime, with the Peripheral reporting which Dma it belongs to and the system panickCOMMENT
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…/debugging-and-development/embedded_data_visualizer.py142 if (getComputedStyle( x, null ).getPropertyValue( 'font-family' ) === "monospace, monospace"CODE
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWchips/stm32wle5xx/src/clocks/phclk.rs123 //TODO: implement clock frequency retrieval for RTC and PWR peripheralsCOMMENT
LOWchips/stm32f4xx/src/clocks/phclk.rs118 //TODO: implement clock frequency retrieval for RTC and PWR peripheralsCOMMENT
LOWarch/riscv/src/pmp.rs1389 // TODO: implement more test cases, such as:COMMENT
Excessive Try-Catch Wrapping2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMtools/svd2regs/svd2regs.py334 print('Error: no peripheral found.')CODE
MEDIUMtools/debugging-and-development/svd2regs/svd2regs.py334 print('Error: no peripheral found.')CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…s/debugging-and-development/print_tock_memory_usage.py565CODE