Repository Analysis

apache/nuttx

Apache NuttX is a mature, real-time embedded operating system (RTOS)

6.8 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of apache/nuttx, a C project with 3,954 GitHub stars. SynthScan v2.0 examined 6,054,301 lines of code across 18433 source files, recording 46132 pattern matches distributed across 18 syntactic categories. The overall adjusted score of 6.8 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

6.8
Adjusted Score
6.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.0K
Stars
C
Language
6.1M
Lines of Code
18.4K
Files
46.1K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 5MEDIUM 72LOW 46055

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 46132 distinct pattern matches across 18 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block45882 hits · 40677 pts
SeverityFileLineSnippetContext
LOWCMakeLists.txt1# ##############################################################################COMMENT
LOWCMakeLists.txt21# ##############################################################################COMMENT
LOWcrypto/xform.c61 * PURPOSE.COMMENT
LOWcrypto/CMakeLists.txt1# ##############################################################################COMMENT
LOWcrypto/cryptodev.c41#include <stdbool.h>COMMENT
LOWcrypto/testmngr.c21 ****************************************************************************/COMMENT
LOWcrypto/cryptosoft.c21 * supported the development of this code.COMMENT
LOWcrypto/crypto.c21 * supported the development of this code.COMMENT
LOWcrypto/random_pool.c21 ****************************************************************************/COMMENT
LOWcrypto/rmd160.c81#define KK0 0x50A28BE6UCOMMENT
LOWDocumentation/conf.py1##############################################################################COMMENT
LOWDocumentation/conf.py21# Configuration file for the Sphinx documentation builder.COMMENT
LOWDocumentation/_extensions/warnings_filter.py1##############################################################################COMMENT
LOWDocumentation/_extensions/__init__.py1##############################################################################COMMENT
LOWvideo/CMakeLists.txt1# ##############################################################################COMMENT
LOWvideo/videomode/CMakeLists.txt1# ##############################################################################COMMENT
LOWtools/indent.sh1#!/usr/bin/env bashCOMMENT
LOWtools/indent.sh21#COMMENT
LOWtools/mkconfigvars.sh1#!/usr/bin/env bashCOMMENT
LOWtools/unlink.sh1#!/usr/bin/env bashCOMMENT
LOWtools/CMakeLists.txt1# ##############################################################################COMMENT
LOWtools/mkfsdata.pl1#!/usr/bin/perlCOMMENT
LOWtools/mkfsdata.pl21# used to endorse or promote products derived from this softwareCOMMENT
LOWtools/checkrelease.sh1#!/bin/bashCOMMENT
LOWtools/checkkconfig.py1#!/usr/bin/env python3COMMENT
LOWtools/checkkconfig.py21COMMENT
LOWtools/checkkconfig.py41# BINFMT_LOADABLE y nCOMMENT
LOWtools/checkkconfig.py61# --- a/boards/demo/configs/nsh/defconfigCOMMENT
LOWtools/checkkconfig.py81#COMMENT
LOWtools/checkkconfig.py101# MODLIB_ALIGN_LOG2 2 <unset>COMMENT
LOWtools/checkkconfig.py121# SYSTEM_NXPLAYER y nCOMMENT
LOWtools/simlaunch.sh1#!/usr/bin/env bashCOMMENT
LOWtools/copydir.sh1#!/usr/bin/env bashCOMMENT
LOWtools/copydir.sh21#COMMENT
LOWtools/abi_check.py1#!/usr/bin/env python3COMMENT
LOWtools/mkallsyms.py1#!/usr/bin/env python3COMMENT
LOWtools/checkpatch.sh1#!/usr/bin/env bashCOMMENT
LOWtools/refresh.sh1#!/usr/bin/env bashCOMMENT
LOWtools/stm32_pinmap_tool.py1#!/usr/bin/env python3COMMENT
LOWtools/jlink-nuttx.c41#define DISPLAY_LENGTH 256COMMENT
LOWtools/mkctags.sh1#!/usr/bin/env bashCOMMENT
LOWtools/process_config.py1#!/usr/bin/env python3COMMENT
LOWtools/testbuild.sh1#!/usr/bin/env bashCOMMENT
LOWtools/mknulldeps.sh1#!/usr/bin/env bashCOMMENT
LOWtools/nxtagspkgsfetch.sh1#!/usr/bin/env bashCOMMENT
LOWtools/flash_writer.py1#!/usr/bin/env python3COMMENT
LOWtools/host_info_dump.py1#!/usr/bin/env python3COMMENT
LOWtools/find_symbol_callers.sh1#!/usr/bin/env bashCOMMENT
LOWtools/discover.py1#!/usr/bin/env python3COMMENT
LOWtools/host_info_parse.py1#!/usr/bin/env python3COMMENT
LOWtools/coredump.py1#!/usr/bin/env python3COMMENT
LOWtools/xmlrpc_test.py1#!/usr/bin/env python3COMMENT
LOWtools/splashscreen_converter.py1#!/usr/bin/env python3COMMENT
LOWtools/gencromfs.c21 ****************************************************************************/COMMENT
LOWtools/gencromfs.c61COMMENT
LOWtools/gencromfs.c81#define NUTTX_IXUSR (1 << 6) /* Must match NuttX's S_IXUSR */COMMENT
LOWtools/gencromfs.c101COMMENT
LOWtools/simhostroute.sh1#!/bin/bashCOMMENT
LOWtools/simhostroute.sh21# under the License.COMMENT
LOWtools/doreleasenotes.py1#!/usr/bin/env python3COMMENT
45822 more matches not shown…
Decorative Section Separators30 hits · 120 pts
SeverityFileLineSnippetContext
MEDIUMtools/CMakeLists.txt93# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt96# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt103# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt105# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt115# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt117# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt124# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt126# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt133# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt135# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt142# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt144# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt151# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt153# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt160# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt162# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt169# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt171# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt178# ============================================================================COMMENT
MEDIUMtools/CMakeLists.txt180# ============================================================================COMMENT
MEDIUMtools/checkkconfig.py40# ----------------------------------------------------------------------COMMENT
MEDIUMtools/checkkconfig.py85# ----------------------------------------------------------------------COMMENT
MEDIUMtools/lwl/ocdconsole.py27# ------------------------------------------COMMENT
MEDIUMtools/lwl/ocdconsole.py38# ------------------------------------------COMMENT
MEDIUMtools/lwl/ocdconsole.py191 # =================================================COMMENT
MEDIUMtools/lwl/ocdconsole.py205 # =========================================================COMMENT
MEDIUMtools/lwl/ocdconsole.py211 # =====================================================COMMENT
MEDIUMtools/lwl/ocdconsole.py226 # ============================================COMMENT
MEDIUMtools/espressif/burn_flash_enc_key.py10# ----------COMMENT
MEDIUMtools/espressif/burn_flash_enc_key.py22# ---------------------COMMENT
AI Slop Vocabulary19 hits · 64 pts
SeverityFileLineSnippetContext
LOWtools/stm32_pinmap_tool.py68 # All others had a OSPEDD reg so we just set itCOMMENT
MEDIUMtools/kasan_global.py246 # to facilitate the program to traverse the array.COMMENT
MEDIUMtools/pynuttx/nxgdb/macros.py30# There might be two ways to achieve this, one is to leverage the C preprocessorCOMMENT
MEDIUMtools/pynuttx/nxgdb/macros.py34# While the other way is to leverage the dwarf info stored in the ELF file,COMMENT
MEDIUM…ch/risc-v/src/rp23xx-rv/hardware/rp23xx_usbctrl_regs.h50#define RP23XX_USBCTRL_REGS_EP_ABORT_DONE_OFFSET 0x000064 /* Device only: Used in conjunction with `EP_ABORT`COMMENT
MEDIUM…ch/risc-v/src/rp23xx-rv/hardware/rp23xx_usbctrl_regs.h51#define RP23XX_USBCTRL_REGS_EP_STALL_ARM_OFFSET 0x000068 /* Device: this bit must be set in conjunction withCOMMENT
MEDIUM…ch/risc-v/src/rp23xx-rv/hardware/rp23xx_usbctrl_regs.h56#define RP23XX_USBCTRL_REGS_USBPHY_DIRECT_OFFSET 0x00007c /* This register allows for direct control of the UCOMMENT
LOWarch/risc-v/src/rp23xx-rv/hardware/rp23xx_dma.h174#define RP23XX_DMA_INTR_MASK (0xffff) /* Raw interrupt status for DMA Channels 0..15. BitCOMMENT
MEDIUMarch/risc-v/src/rp23xx-rv/hardware/rp23xx_pio.h178#define RP23XX_PIO_SM_EXECCTRL_INLINE_OUT_EN (1 << 18) /* If 1, use a bit of OUT data as an auxiliary write enablCOMMENT
MEDIUMarch/arm/src/rp2040/hardware/rp2040_usbctrl_regs.h63#define RP2040_USBCTRL_REGS_EP_ABORT_DONE_OFFSET 0x000064 /* Device only: Used in conjunction with `EP_ABORT`COMMENT
MEDIUMarch/arm/src/rp2040/hardware/rp2040_usbctrl_regs.h64#define RP2040_USBCTRL_REGS_EP_STALL_ARM_OFFSET 0x000068 /* Device: this bit must be set in conjunction withCOMMENT
MEDIUMarch/arm/src/rp2040/hardware/rp2040_usbctrl_regs.h69#define RP2040_USBCTRL_REGS_USBPHY_DIRECT_OFFSET 0x00007c /* This register allows for direct control of the UCOMMENT
LOWarch/arm/src/rp2040/hardware/rp2040_dma.h161#define RP2040_DMA_INTR_MASK (0xffff) /* Raw interrupt status for DMA Channels 0..15. BitCOMMENT
MEDIUMarch/arm/src/rp2040/hardware/rp2040_pio.h227#define RP2040_PIO_SM_EXECCTRL_INLINE_OUT_EN (1 << 18) /* If 1, use a bit of OUT data as an auxiliary write enablCOMMENT
MEDIUMarch/arm/src/rp23xx/hardware/rp23xx_usbctrl_regs.h50#define RP23XX_USBCTRL_REGS_EP_ABORT_DONE_OFFSET 0x000064 /* Device only: Used in conjunction with `EP_ABORT`COMMENT
MEDIUMarch/arm/src/rp23xx/hardware/rp23xx_usbctrl_regs.h51#define RP23XX_USBCTRL_REGS_EP_STALL_ARM_OFFSET 0x000068 /* Device: this bit must be set in conjunction withCOMMENT
MEDIUMarch/arm/src/rp23xx/hardware/rp23xx_usbctrl_regs.h56#define RP23XX_USBCTRL_REGS_USBPHY_DIRECT_OFFSET 0x00007c /* This register allows for direct control of the UCOMMENT
LOWarch/arm/src/rp23xx/hardware/rp23xx_dma.h174#define RP23XX_DMA_INTR_MASK (0xffff) /* Raw interrupt status for DMA Channels 0..15. BitCOMMENT
MEDIUMarch/arm/src/rp23xx/hardware/rp23xx_pio.h178#define RP23XX_PIO_SM_EXECCTRL_INLINE_OUT_EN (1 << 18) /* If 1, use a bit of OUT data as an auxiliary write enablCOMMENT
Deep Nesting54 hits · 54 pts
SeverityFileLineSnippetContext
LOWtools/checkkconfig.py202CODE
LOWtools/abi_check.py300CODE
LOWtools/stm32_pinmap_tool.py292CODE
LOWtools/stm32_pinmap_tool.py404CODE
LOWtools/stm32_pinmap_tool.py449CODE
LOWtools/process_config.py69CODE
LOWtools/process_config.py286CODE
LOWtools/process_config.py414CODE
LOWtools/flash_writer.py208CODE
LOWtools/flash_writer.py311CODE
LOWtools/host_info_dump.py113CODE
LOWtools/host_info_dump.py262CODE
LOWtools/host_info_dump.py338CODE
LOWtools/host_info_parse.py28CODE
LOWtools/splashscreen_converter.py40CODE
LOWtools/size_report.py96CODE
LOWtools/size_report.py146CODE
LOWtools/size_report.py189CODE
LOWtools/size_report.py268CODE
LOWtools/size_report.py390CODE
LOWtools/size_report.py499CODE
LOWtools/size_report.py585CODE
LOWtools/size_report.py771CODE
LOWtools/ide_exporter.py790CODE
LOWtools/ide_exporter.py472CODE
LOWtools/ide_exporter.py729CODE
LOWtools/gdbserver.py1117CODE
LOWtools/gdbserver.py330CODE
LOWtools/gdbserver.py684CODE
LOWtools/gdbserver.py711CODE
LOWtools/gdbserver.py961CODE
LOWtools/gdbserver.py1002CODE
LOWtools/parsecallstack.py73CODE
LOWtools/parsetrace.py124CODE
LOWtools/parsetrace.py303CODE
LOWtools/parsetrace.py433CODE
LOWtools/parsetrace.py538CODE
LOWtools/gcov.py29CODE
LOWtools/stackusage.py138CODE
LOWtools/stackusage.py213CODE
LOWtools/stackusage.py311CODE
LOWtools/stackusage.py376CODE
LOWtools/stackusage.py525CODE
LOWtools/stackusage.py391CODE
LOWtools/kasan_global.py229CODE
LOWtools/ci/testrun/utils/data_model.py84CODE
LOWtools/ci/testrun/utils/data_model.py166CODE
LOWtools/ci/testrun/utils/common.py194CODE
LOWtools/pynuttx/nxgdb/thread.py309CODE
LOWtools/pynuttx/nxgdb/utils.py1080CODE
LOWtools/pynuttx/nxgdb/macros.py126CODE
LOWtools/pynuttx/nxgdb/fs.py105CODE
LOWtools/pynuttx/nxgdb/memcheck.py39CODE
LOWtools/espressif/chip_info.py134CODE
Excessive Try-Catch Wrapping38 hits · 49 pts
SeverityFileLineSnippetContext
MEDIUMtools/abi_check.py76 print(f"Error: {err}")STRING
MEDIUMtools/abi_check.py569 print("Error: elf and lib must be provided")STRING
MEDIUMtools/abi_check.py573 print("Error: elf must be provided")STRING
LOWtools/flash_writer.py297 except Exception as e:CODE
LOWtools/flash_writer.py387 except Exception as e:CODE
LOWtools/flash_writer.py585 except Exception:CODE
MEDIUMtools/flash_writer.py581def main():CODE
MEDIUMtools/host_info_dump.py197 eprint("Error: Failed to get installed packages.")CODE
MEDIUMtools/host_info_dump.py215 eprint("Error: Failed to get installed packages.")CODE
MEDIUMtools/host_info_dump.py417 print("Error: NuttX configuration file not found: {}".format(config_path))CODE
LOWtools/ide_exporter.py279 except Exception as e:CODE
LOWtools/ide_exporter.py327 except Exception as e:CODE
LOWtools/ide_exporter.py1002 except Exception as e:CODE
LOWtools/gdbserver.py499 except Exception as e:CODE
LOWtools/parsetrace.py119 except Exception:CODE
LOWtools/parsetrace.py263 except Exception:CODE
LOWtools/parsetrace.py512 except Exception:CODE
LOWtools/parsetrace.py566 except Exception as e:CODE
LOWtools/parsetrace.py606 except Exception as e:CODE
MEDIUMtools/parsetrace.py538def printf(self, format, data):CODE
LOWtools/gcov.py80 except Exception as e:CODE
MEDIUMtools/gcov.py81 print(f"Error processing {path}: {e}")CODE
LOWtools/ci/testrun/utils/common.py224 except Exception:CODE
LOWtools/ci/testrun/utils/common.py259 except Exception as e:CODE
LOWtools/pynuttx/nxgdb/__init__.py55 except Exception as e:CODE
LOWtools/pynuttx/nxgdb/__init__.py64 except Exception as e:CODE
LOWtools/pynuttx/nxgdb/memdump.py207 except Exception as e:CODE
MEDIUMtools/pynuttx/nxgdb/memdump.py208 print(f"Error parsing line: {line}, {e}")CODE
LOWtools/pynuttx/nxgdb/utils.py942 except Exception:CODE
LOWtools/pynuttx/nxgdb/utils.py1051 except Exception as e:CODE
MEDIUMtools/pynuttx/nxgdb/utils.py939def dumper(obj):CODE
LOWtools/pynuttx/nxgdb/mm.py169 except Exception:CODE
MEDIUMtools/pynuttx/nxgdb/mm.py166def name(self) -> str:CODE
LOWtools/pynuttx/nxgdb/memcheck.py149 except Exception as e:CODE
LOWtools/pynuttx/nxgdb/memcheck.py171 except Exception as e:CODE
MEDIUMtools/pynuttx/nxgdb/memcheck.py172 print(f"Error happened during check: {e}")CODE
LOWtools/licensing/check.py283except Exception:CODE
MEDIUMarch/sim/src/patch_macho_initsection.py55 print(f"Error: failed to parse {args.binary}", file=sys.stderr)CODE
Hyper-Verbose Identifiers39 hits · 44 pts
SeverityFileLineSnippetContext
LOWtools/host_info_parse.py28def parse_information_from_header(file_path):CODE
LOWtools/size_report.py390def do_address_range_matching(elf, symbol_dict, processed):CODE
LOWtools/size_report.py499def set_root_path_for_unmapped_symbols(symbol_dict, addr_range, processed):CODE
LOWtools/gdbserver.py677 def handle_signal_query_packet(self):CODE
LOWtools/gdbserver.py684 def handle_register_group_read_packet(self):CODE
LOWtools/gdbserver.py711 def handle_register_single_read_packet(self, pkt):CODE
LOWtools/gdbserver.py753 def handle_register_group_write_packet(self):CODE
LOWtools/gdbserver.py759 def handle_register_single_write_packet(self, pkt):CODE
LOWtools/gdbserver.py782 def handle_memory_read_packet(self, pkt):CODE
LOWtools/gdbserver.py812 def handle_memory_write_packet(self, pkt):CODE
LOWtools/gdbserver.py961 def handle_general_query_packet(self, pkt):CODE
LOWtools/ci/testrun/utils/common.py39def enhanced_read_nonblocking(self, size=1, timeout=None):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py79 def test_loop_backend_timeout(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py109 def test_barrier_serial_thread(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py115 def test_barrier_serial_thread_single(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py310 def test_threadpool_queue_work_simple(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py318 def test_threadpool_queue_work_einval(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py326 def test_threadpool_cancel_getnameinfo(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py334 def test_threadpool_cancel_random(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py342 def test_threadpool_cancel_work(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py348 def test_threadpool_cancel_single(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py356 def test_thread_local_storage(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py374 def test_thread_mutex_recursive(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py386 def test_thread_rwlock_trylock(self, p):CODE
LOWtools/ci/testrun/script/test_libuv/test_libuv.py404 def test_queue_foreach_delete(self, p):CODE
LOW…s/ci/testrun/script/test_open_posix/test_openposix_.py3333# def test_ltp_functional_semaphores_sem_philosopher(p):COMMENT
LOW…s/ci/testrun/script/test_open_posix/test_openposix_.py4091def test_ltp_functional_semaphores_sem_conpro(p):CODE
LOW…s/ci/testrun/script/test_open_posix/test_openposix_.py7879# def test_ltp_functional_semaphores_sem_sleepingbarber(p):COMMENT
LOW…s/ci/testrun/script/test_open_posix/test_openposix_.py8353# def test_ltp_functional_semaphores_sem_readerwriter(p):COMMENT
LOW…s/ci/testrun/script/test_open_posix/test_openposix_.py9869def test_ltp_timers_clocks_invaliddates(p):CODE
LOW…s/ci/testrun/script/test_open_posix/test_openposix_.py11135def test_ltp_stress_semaphores_multi_con_pro(p):CODE
LOWtools/pynuttx/nxgdb/thread.py38def is_thread_command_supported():CODE
LOWtools/pynuttx/nxgdb/utils.py400def suppress_cli_notifications(suppress=True):CODE
LOWtools/espressif/chip_info.py95def get_espressif_security_info():CODE
LOWtools/espressif/chip_info.py114def get_espressif_flash_status():CODE
LOWtools/espressif/chip_info.py125def get_espressif_mac_address():CODE
LOWtools/espressif/chip_info.py134def get_espressif_bootloader_version(bindir):CODE
LOWtools/espressif/chip_info.py198def get_espressif_toolchain_version():CODE
LOWtools/espressif/chip_info.py235def get_espressif_hal_version(hal_dir):CODE
Self-Referential Comments13 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUMtools/doreleasenotes.py39 # Create the branch listCOMMENT
MEDIUMtools/link.sh80# Create the soft linkCOMMENT
MEDIUMtools/mkromfsimg.sh255# Create a working directoryCOMMENT
MEDIUMtools/mkromfsimg.sh260# Create the rc.sysinit file from the rc.sysinit.templateCOMMENT
MEDIUMtools/mkromfsimg.sh280# Create the rcS file from the rcS.templateCOMMENT
MEDIUMtools/zipme.sh223# Create the versioned tarball namesCOMMENT
MEDIUMtools/zipme.sh296# Create the hashes for the two tarballsCOMMENT
MEDIUMtools/mkexport.sh128# Create the export directoryCOMMENT
MEDIUMtools/mkexport.sh146# Create the export directory and some of its subdirectoriesCOMMENT
MEDIUMtools/pynuttx/nxgdb/gcore.py127 # Create a random section nameCOMMENT
MEDIUMboards/arm/lpc31xx/ea3131/tools/mklpc.sh54# Create the binaryCOMMENT
MEDIUMboards/arm/lpc31xx/ea3152/tools/mklpc.sh54# Create the binaryCOMMENT
MEDIUMboards/arm/lpc31xx/olimex-lpc-h3131/tools/mklpc.sh54# Create the binaryCOMMENT
Redundant / Tautological Comments13 hits · 20 pts
SeverityFileLineSnippetContext
LOWtools/unlink.sh33# Check if something already exists at the link pathCOMMENT
LOWtools/copydir.sh46# Check if something already exists at the destination path replace it withCOMMENT
LOWtools/find_symbol_callers.sh72# Check if ELF file existsCOMMENT
LOWtools/link.sh35# Check if something already exists at the destination path replace it withCOMMENT
LOWtools/incdir.sh181 # Check if the path needs to be extended for Windows-based tools under CygwinCOMMENT
LOWtools/mkromfsimg.sh44# Verify if we have the optional "-nofat"COMMENT
LOWtools/mkromfsimg.sh61# Verify if we have the optional "rcsysinit_fname" and "rcs_fname"COMMENT
LOWtools/mkexport.sh115# Check if the make environment variable has been definedCOMMENT
LOWtools/btdecode.sh69# Check if the first argument is an addr2line tool or a chipCOMMENT
LOWtools/pynuttx/nxgdb/thread.py39 # Check if the native thread command is available by compare the number of threads.COMMENT
LOWtools/pynuttx/nxgdb/utils.py433 # Check if the symbol is already cachedCOMMENT
LOWtools/pynuttx/nxgdb/mm.py308 # Check if it belongs to interrupt poolCOMMENT
LOWtools/pynuttx/nxgdb/memcheck.py140 # Check if this node is corruptedCOMMENT
Unused Imports16 hits · 16 pts
SeverityFileLineSnippetContext
LOWtools/stm32_pinmap_tool.py25CODE
LOWtools/pynuttx/gdbinit.py37CODE
LOWtools/pynuttx/nxgdb/irq.py23CODE
LOWtools/pynuttx/nxgdb/uorb.py23CODE
LOWtools/pynuttx/nxgdb/utils.py23CODE
LOWtools/pynuttx/nxgdb/wdog.py23CODE
LOWtools/pynuttx/nxgdb/mm.py23CODE
LOWtools/pynuttx/nxgdb/wqueue.py23CODE
LOWtools/pynuttx/nxgdb/protocols/irq.py23CODE
LOWtools/pynuttx/nxgdb/protocols/uorb.py23CODE
LOWtools/pynuttx/nxgdb/protocols/circbuf.py23CODE
LOWtools/pynuttx/nxgdb/protocols/wdog.py23CODE
LOWtools/pynuttx/nxgdb/protocols/mm.py23CODE
LOWtools/pynuttx/nxgdb/protocols/wqueue.py23CODE
LOWtools/pynuttx/nxgdb/protocols/value.py23CODE
LOWtools/espressif/burn_flash_enc_key.py44CODE
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtools/ide_exporter.py309Delete nodes in list from the xlm tree Args: element: root node of etree remove_list: tSTRING
HIGHtools/ide_exporter.py791Get project structure from make log file. Loop through make log to figure the project structure Args: STRING
HIGHtools/ide_exporter.py893Dump project structure Print project structure Args: A dict mapping library/target to its source list STRING
Slop Phrases10 hits · 15 pts
SeverityFileLineSnippetContext
LOWdrivers/power/battery/bq769x0.c1609 * convert to uA, and don't forget to divide the 4 back outCOMMENT
LOWdrivers/ioexpander/pca9538.c812 /* Don't forget to update the shadow registers at this point */COMMENT
LOWdrivers/ioexpander/mcp23x08.c897 /* Don't forget to update the shadow registers at this point */COMMENT
LOWdrivers/ioexpander/pca9555.c836 /* Don't forget to update the shadow registers at this point */COMMENT
LOWdrivers/ioexpander/aw9523b.c1327 /* Don't forget to update the shadow registers at this point. */COMMENT
LOWdrivers/ioexpander/mcp23x17.c908 /* Don't forget to update the shadow registers at this point */COMMENT
LOWlibs/libc/misc/lib_ncompress.c138#ifdef pdp11 /* PDP11: don't forget to compile with -i */COMMENT
LOWlibs/libc/misc/lib_ncompress.c138#ifdef pdp11 /* PDP11: don't forget to compile with -i */COMMENT
LOWlibs/libc/stdio/lib_fopen.c192 /* Don't forget to close the file descriptor if any otherCOMMENT
LOWarch/arm/src/lc823450/lc823450_clockconfig.c174 * Don't forget to change GPIO09 pinmux.COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHinclude/netpacket/netlink.h92#define NLM_F_DUMP_FILTERED 0x0020 /* Dump was filtered as requested */COMMENT
AI Structural Patterns6 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/size_report.py186CODE
LOWtools/size_report.py235CODE
LOWtools/lwl/ocdconsole.py156CODE
LOWtools/pynuttx/nxgdb/memdump.py50CODE
LOWtools/pynuttx/nxgdb/macros.py176CODE
LOWtools/pynuttx/nxgdb/protocols/value.py47CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtools/kasan_global.py143 "regin: %08x addr: %08x size: %d bits: %d || poison index: %d nbit: %d nbits: %d"CODE
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/update_romfs_password.sh19# Usage:COMMENT
LOWtools/check_passwd_keys.sh19# Usage:COMMENT
LOWtools/gen_passwd_keys.sh19# Usage:COMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWdrivers/mtd/smart.c2503 /* We need to check if we are converting an older format with incorrectCOMMENT
LOWwireless/ieee802154/mac802154.c1338 /* If we are in promiscuous mode, we need to check if theCOMMENT
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOWboards/CMakeLists.txt25# TODO: implement if("${CONFIG_ARCH_BOARD_CUSTOM}" STREQUAL "y") CUSTOM_DIR =COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/parsetrace.py48logger = logging.getLogger(__name__)CODE