AI Slop Code RIsk Monitor

emscripten-core/emscripten

Emscripten: An LLVM-to-WebAssembly Compiler

7.3 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for emscripten-core/emscripten, a C++ project with 27,697 GitHub stars. SynthScan examined 1,821,790 lines of code across 10082 source files, recording 12494 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 7.3 (Moderate pattern signal); it is not an authorship estimate.

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

7.3
Adjusted Signal
7.3
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
27.7K
Stars
C++
Language
1.8M
Lines of Code
10.1K
Files
12.5K
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 25.7/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 2.3/100 · LOW

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

Agent Over-Engineering Ratio 5.5/100 · LOW

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

PR Review Velocity Impact 33.4/100 · MEDIUM

Which changes need focused human review? 12494 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 4HIGH 250MEDIUM 525LOW 11715

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 12494 distinct pattern matches across 25 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 Block10288 hits · 9506 pts
SeverityFileLineSnippetContext
LOWemrun.py61# us. Used to detect whether we might have gotten detached from the browserCOMMENT
LOWtools/link.py321 # the rewritten table entries with matching types. It must also runCOMMENT
LOWtools/link.py401 passes += ['--zero-filled-memory']COMMENT
LOWtools/link.py701COMMENT
LOWtools/link.py1121 # export we still add it to EXPORT_IF_DEFINED so that we can warnCOMMENT
LOWtools/link.py1841 logger.debug(f'linking: {linker_args}')COMMENT
LOWtools/config.py221 if os.path.isfile(embedded_config):COMMENT
LOWtools/building.py721 # s(0) | 0;COMMENT
LOWtools/building.py961 #COMMENT
LOWtools/building.py1081 # normalize the path to use URL-style separators, per the specCOMMENT
LOWtools/system_libs.py121 # In general, we simply use alphabetical order, but we special case certainCOMMENT
LOWtools/system_libs.py361 # automatically get the correct version of the library.COMMENT
LOWtools/system_libs.py1101 def __init__(self, **kwargs):COMMENT
LOWtools/system_libs.py1861 '-Wno-unused-function',COMMENT
LOWtools/system_libs.py2601 /* Automatically generated by tools/system_libs.py */COMMENT
LOWtools/wasm-sourcemap.py281COMMENT
LOWtools/wasm-sourcemap.py301 # DW_AT_name ("foo")COMMENT
LOWtools/wasm-sourcemap.py441COMMENT
LOWtools/__init__.py1# Copyright 2011 The Emscripten Authors. All rights reserved.COMMENT
LOWtools/config_template.py1# This file will be edited (the {{{ }}} things), and written to `.emscripten`COMMENT
LOWtools/config_template.py21# This engine must exist, or nothing can be compiled.COMMENT
LOWtools/config_template.py41#COMMENT
LOWtools/filelock.py1# This is free and unencumbered software released into the public domain.COMMENT
LOWtools/filelock.py21# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE ORCOMMENT
LOWtools/settings.py181COMMENT
LOWtools/feature_matrix.py121 Feature.EXTENDED_CONST: {COMMENT
LOWtools/feature_matrix.py141# 'safari': 150000,COMMENT
LOWtools/feature_matrix.py161# 'firefox': 62,COMMENT
LOWtools/empath-split.py201 sm.parse(sourcemap)COMMENT
LOWtools/emsymbolizer.py1#!/usr/bin/env python3COMMENT
LOW…ols/scons/site_scons/site_tools/emscripten/__init__.py1#!/usr/bin/env python2COMMENT
LOWtools/websocket_to_posix_proxy/src/sha1.cpp21#include <string.h>COMMENT
LOWtools/websocket_to_posix_proxy/src/threads.h1#pragma onceCOMMENT
LOWtools/websocket_to_posix_proxy/src/threads.h21#endifCOMMENT
LOWtools/websocket_to_posix_proxy/src/posix_sockets.h1#pragma onceCOMMENT
LOWtools/websocket_to_posix_proxy/src/posix_sockets.h21#define CLOSE_SOCKET(x) close(x)COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c1#include <assert.h>COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c41#define POSIX_SOCKET_MSG_LISTEN 6COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c141COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c161#define MUSL_PF_DECnet 12COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c181#define MUSL_PF_BLUETOOTH 31COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c201#define MUSL_AF_APPLETALK MUSL_PF_APPLETALKCOMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c221#define MUSL_AF_PPPOX MUSL_PF_PPPOXCOMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c241static int Translate_Socket_Domain(int domain) {COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c261// case MUSL_PF_NETLINK: return PF_NETLINK;COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c281// case MUSL_PF_PHONET: return PF_PHONET;COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c301// case MUSL_AF_BRIDGE: return AF_BRIDGE;COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c321// case MUSL_AF_LLC: return AF_LLC;COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c381#define MUSL_IPPROTO_HOPOPTS 0COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c401#define MUSL_IPPROTO_DSTOPTS 60COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c461 return protocol;COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c481#define MUSL_SOL_RXRPC 272COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c501// case MUSL_SOL_X25: return SOL_X25;COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c521 default:COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c541#define MUSL_SO_REUSEPORT 15COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c561#define MUSL_SO_PEERSEC 31COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c601// case MUSL_SO_PEERCRED: return SO_PEERCRED;COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c621// case MUSL_SO_PEERSEC: return SO_PEERSEC;COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c641 fprintf(stderr, "Unrecognized SOL_SOCKET option %d!\n", sockopt);COMMENT
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c661#define MUSL_TCP_THIN_DUPACK 17COMMENT
10228 more matches not shown…
Decorative Section Separators346 hits · 964 pts
SeverityFileLineSnippetContext
MEDIUMtools/shared.py622# ============================================================================COMMENT
MEDIUMtools/shared.py624# ============================================================================COMMENT
MEDIUMtools/filelock.py39# ------------------------------------------------COMMENT
MEDIUM⚡tools/filelock.py61# ------------------------------------------------COMMENT
MEDIUM⚡tools/filelock.py69# ------------------------------------------------COMMENT
MEDIUMtools/filelock.py91# ------------------------------------------------COMMENT
MEDIUMtools/filelock.py112# ------------------------------------------------COMMENT
MEDIUMtools/filelock.py196 # --------------------------------------------COMMENT
MEDIUMtools/filelock.py213 # --------------------------------------------COMMENT
MEDIUMtest/third_party/freetype/src/tools/glnames.py4810# ----------------------------------------------------------------STRING
MEDIUMtest/third_party/freetype/src/tools/glnames.py4822# -----------------------------------------STRING
MEDIUMtest/third_party/freetype/src/tools/chktrcmp.py21# --------------------------------------------------------------COMMENT
MEDIUMtest/third_party/freetype/src/tools/chktrcmp.py48# --------------------------------------------------------------COMMENT
MEDIUMtest/third_party/freetype/src/tools/chktrcmp.py73# --------------------------------------------------------------COMMENT
MEDIUMtest/third_party/freetype/src/tools/chktrcmp.py96# --------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt30#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt78# --------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt113#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt117#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt121#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt129#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt133#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt148#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt153#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt160#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt167#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt174#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt181#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt188#-----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/third_party/openjpeg/CMakeLists.txt195#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt207#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt214#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/zlib/CMakeLists.txt78#============================================================================COMMENT
MEDIUMtest/third_party/zlib/CMakeLists.txt80#============================================================================COMMENT
MEDIUMtest/third_party/zlib/CMakeLists.txt170#============================================================================COMMENT
MEDIUMtest/third_party/zlib/CMakeLists.txt172#============================================================================COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h45// ┌───────────────────┐COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h47// └─────────▲─────────┘COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h49// ┌─────────┴─────────┐COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h51// └─────────▲─────────┘COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h53// ┌────────────┴─────────────┐COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h55// ┌────────┴─────────┐ ┌──────────────┴──────────────────┐COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h57// └────────▲─────────┘ └──────────────▲──────────────────┘COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h59// └────────────┬─────────────┘COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h61// ┌───────┴───────┐COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h63// └───────▲───────┘COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h65// ┌────────┴────────┐COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h66// ┌─────┴─────┐ ┌─────┴─────┐COMMENT
MEDIUM⚡system/lib/llvm-libc/src/__support/FPUtil/FPBits.h68// └───────────┘ └───────────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/GPU/allocator.cpp189/// ┌────────┬──────────┬────────┬──────────────────┬──────────────────────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/GPU/allocator.cpp191/// └────────┴──────────┴────────┴──────────────────┴──────────────────────────┘COMMENT
MEDIUMsystem/lib/openmp/src/i18n/en_US.txt30# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsystem/lib/openmp/src/i18n/en_US.txt32# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsystem/lib/openmp/src/i18n/en_US.txt44# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsystem/lib/openmp/src/i18n/en_US.txt46# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsystem/lib/openmp/src/i18n/en_US.txt133# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsystem/lib/openmp/src/i18n/en_US.txt135# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsystem/lib/openmp/src/i18n/en_US.txt151# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsystem/lib/openmp/src/i18n/en_US.txt153# --------------------------------------------------------------------------------------------------COMMENT
MEDIUMsystem/lib/openmp/src/i18n/en_US.txt497# --------------------------------------------------------------------------------------------------COMMENT
286 more matches not shown…
Hyper-Verbose Identifiers975 hits · 454 pts
SeverityFileLineSnippetContext
LOWemcc.py536 def get_clang_command_preprocessed():STRING
LOWemrun.py198def delete_emrun_safe_firefox_profile():CODE
LOWemrun.py211def create_emrun_safe_firefox_profile():CODE
LOWemrun.py1361 def remove_readonly_and_try_again(func, path, exc_info):STRING
LOWtools/link.py152def save_intermediate_with_wasm(name, wasm_binary):CODE
LOWtools/link.py165def align_to_wasm_page_boundary(address):CODE
LOWtools/link.py178def setup_environment_settings():CODE
LOWtools/link.py303def should_run_binaryen_optimizer():CODE
LOWtools/link.py369 def check_human_readable_list(items):CODE
LOWtools/link.py772def setup_cross_origin_storage():CODE
LOWtools/link.py785def add_required_heap_symbols():CODE
LOWtools/link.py990 def limit_incoming_module_api():CODE
LOWtools/link.py1829def phase_calculate_system_libraries():CODE
LOWtools/link.py2198def convert_line_endings_in_file(filename, to_eol):CODE
LOWtools/link.py2482def module_export_name_substitution():CODE
LOWtools/link.py2501def generate_traditional_runtime_html(target, js_target, wasm_target):CODE
LOWtools/link.py2845def filter_out_fake_dynamic_libs(inputs):STRING
LOWtools/link.py2858def filter_out_duplicate_fake_dynamic_libs(inputs):STRING
LOWtools/link.py2928def unmangle_symbols_from_cmdline(symbols):STRING
LOWtools/link.py3021def get_subresource_location_js(path):STRING
LOWtools/link.py3069def phase_calculate_linker_inputs(linker_args):STRING
LOWtools/extract_metadata.py75def parse_function_for_memory_inits(module, func_index, offset_map):CODE
LOWtools/extract_metadata.py148def get_passive_segment_offsets(module):CODE
LOWtools/extract_metadata.py163def find_segment_with_address(module, address):CODE
LOWtools/config.py52def normalize_config_settings():CODE
LOWtools/config.py63def normalize_relative_python_path():CODE
LOWtools/config.py76def set_config_from_tool_location(config_key, tool_binary, f):CODE
LOWtools/js_manipulation.py182def make_unsign_pointer_wrapper(sig):CODE
LOWtools/building.py138def side_module_external_deps(external_symbols):CODE
LOWtools/building.py293def get_wasm_bindgen_exported_symbols(input_files):CODE
LOWtools/building.py378def get_command_with_possible_response_file(cmd):CODE
LOWtools/building.py543def get_closure_compiler_and_env(user_args):CODE
LOWtools/building.py941def minify_wasm_imports_and_exports(wasm_file, minify_exports, debug_info):CODE
LOWtools/building.py1121def use_unsigned_pointers_in_js(js_file):CODE
LOWtools/building.py1131def instrument_js_for_safe_heap(js_file):CODE
LOWtools/building.py1197def get_binaryen_feature_flags():CODE
LOWtools/building.py1343def new_intermediate_filename(name):CODE
LOWtools/building.py1381def js_legalization_pass_flags():CODE
LOWtools/system_libs.py180def ensure_target_in_ninja_file(ninja_file, target):CODE
LOWtools/emscripten.py188def generate_js_compiler_input_hash(symbols_only=False):CODE
LOWtools/emscripten.py237def report_missing_exports_wasm_only(metadata):CODE
LOWtools/emscripten.py344def compile_javascript_cached():CODE
LOWtools/emscripten.py649def create_tsd_exported_runtime_methods(metadata):CODE
LOWtools/emscripten.py821def add_standard_wasm_imports(send_items_map):CODE
LOWtools/emscripten.py1150def create_pointer_conversion_wrappers(metadata):CODE
LOWtools/emscripten.py1167function applySignatureConversions(wasmExports) {CODE
LOWtools/cmdline.py608def expand_byte_size_suffixes(value):CODE
LOWtools/cmdline.py645 def parse_string_list_members(text):CODE
LOWtools/cmdline.py775def normalize_boolean_setting(name, value):CODE
LOWtools/toolchain_profiler.results_template.html115function shortenRidiculouslyLongCmdLine(cmdLine) {CODE
LOWtools/toolchain_profiler.results_template.html367 function itemHierarchyFitsRootedOnLane(item, lane) {CODE
LOWtools/shared.py324def node_reference_types_flags(nodejs):CODE
LOWtools/shared.py447def llvm_tool_path_with_suffix(tool, suffix):CODE
LOWtools/minimal_runtime_shell.py17def generate_minimal_runtime_load_statement(target_basename):CODE
LOWtools/minimal_runtime_shell.py164def generate_minimal_runtime_html(target, js_target, target_basename):STRING
LOWtools/feature_matrix.py249def apply_min_browser_versions():CODE
LOWtools/toolchain_profiler.py220 def remove_last_occurrence_if_exists(lst, item):CODE
LOWtools/response_file.py17def create_response_file_contents(args):CODE
LOWtools/response_file.py114def substitute_response_files(args):CODE
LOWtools/empath-split.py170def get_path_to_functions_map(wasm, sourcemap, paths):STRING
915 more matches not shown…
Cross-Language Confusion84 hits · 436 pts
SeverityFileLineSnippetContext
HIGHtools/link.py2144 return "globalThis.process?.versions?.node && globalThis.process?.type != 'renderer'"CODE
HIGHtools/link.py2541 if (!window.WebAssembly || location.search.indexOf('_rwasm=0') > 0) {{CODE
HIGHtools/link.py3199 # /dev/null, but that will take some refactoringSTRING
HIGHtools/file_packager.py640 if (isPthread || isWasmWorker) return;\n'''CODE
HIGHtools/file_packager.py643 ret += " var isNode = globalThis.process && globalThis.process.versions && globalThis.process.versions.node && glCODE
HIGHtools/file_packager.py694 await Module['FS_preloadFile'](name, null, data, true, true, false, true);CODE
HIGHtools/file_packager.py699 Module['FS_createDataFile'](name, null, data, true, true, true);'''CODE
HIGHtools/file_packager.py864 if (result && PACKAGE_UUID === result['uuid']) {CODE
HIGHtools/file_packager.py867 resolve(null);CODE
HIGHtools/file_packager.py897 chunks.push(event.target.result);CODE
HIGH⚡tools/file_packager.py908 buffer = undefined;CODE
HIGH⚡tools/file_packager.py910 chunks = undefined;CODE
HIGH⚡tools/file_packager.py912 tempTyped = undefined;CODE
HIGHtools/file_packager.py955 chunks.push(value);CODE
HIGHtools/webidl_binder.py138 return (__class__ || WrapperObject).__cache__;CODE
HIGHtools/webidl_binder.py148 ret = Object.create((__class__ || WrapperObject).prototype);CODE
HIGHtools/webidl_binder.py231 ensureCache.temps.push(ret);CODE
HIGHtools/webidl_binder.py496 body += f"if(typeof {js_arg} !== 'undefined' && {js_arg} !== null) {{\n"STRING
HIGHtools/webidl_binder.py518 body += f" if(typeof {js_arg} !== 'undefined' && {js_arg} !== null) {{ {js_arg} = {js_arg}.ptr }};\n"STRING
HIGHtools/webidl_binder.py536 body += f' if ({args[i]} === null) {args[i]} = 0;\n'STRING
HIGHtools/webidl_binder.py572 body += ' if (%s === undefined) { %s_%s(%s)%s%s }\n' % (args[i], call_prefix, c_names[i],STRING
HIGHtools/webidl_binder.py696 if (array_idx < 0 || array_idx >= array_size) {CODE
HIGHtools/maint/gen_native_sig_info.py22# Overrides to convert 'p' to 'P' (allow undefined) in signatures.COMMENT
HIGH⚡test/test_core.py7171 ret = ccall('print_int', null, ['number'], [12]); out(typeof ret);CODE
HIGH⚡test/test_core.py7172 ret = ccall('print_float', null, ['number'], [14.56]); out(typeof ret);CODE
HIGH⚡test/test_core.py7173 ret = ccall('print_bool', null, ['boolean'], [true]); out(typeof ret);CODE
HIGH⚡test/test_core.py7174 ret = ccall('print_string', null, ['string'], ["cheez"]); out(typeof ret);CODE
HIGH⚡test/test_core.py7175 ret = ccall('print_string', null, ['array'], [[97, 114, 114, 45, 97, 121, 0]]); out(typeof ret); // JS arrayCODE
HIGH⚡test/test_core.py7176 ret = ccall('print_string', null, ['array'], [new Uint8Array([97, 114, 114, 45, 97, 121, 0])]); out(typeof ret); /CODE
HIGH⚡test/test_core.py7194 ccall('call_ccall_again', null);CODE
HIGH⚡test/test_core.py7208 var printBool = Module['cwrap']('print_bool', null, ['boolean']);CODE
HIGHtest/test_core.py3701 assert(okk && faill);CODE
HIGHtest/test_core.py5516 return test_files_input.charCodeAt(test_files_input_index++) || null;CODE
HIGHtest/test_core.py5531 stdin: () => { return data.pop() || null },CODE
HIGHtest/test_core.py8411 ccall('main', null, ['number', 'string'], [2, 'waka'], { async: true });CODE
HIGHtest/test_core.py8451 ccall('floatf', 'number', null, null, { async: true }).then(function(arg) {CODE
HIGHtest/test_core.py8643 create_file('b.out.js', 'WebAssembly = undefined;\n' + read_file('a.out.js'))STRING
HIGHtest/test_core.py9158 # the bug is that createModule() returns undefined, instead of theSTRING
HIGH⚡test/test_jslib.py202 assert.equal(exports.forceOnly, undefined);CODE
HIGH⚡test/test_jslib.py203 assert.equal(exports.unusedExport, undefined);CODE
HIGHtest/test_jslib.py234 return Module[name] !== undefined;CODE
HIGHtest/test_jslib.py490extraLibraryFuncs.push('jsfunc');CODE
HIGHtest/common.py1417 'a: loaded\na: b (prev: (null))\na: c (prev: b)\n', cflags=extra_args)STRING
HIGHtest/common.py1446 ''', 'a: loaded\na: b (prev: (null))\na: c (prev: b)\n', cflags=extra_args)STRING
HIGHtest/test_benchmark.py1203 files.push(x);CODE
HIGH⚡test/test_browser.py3612 SharedArrayBuffer = undefined;CODE
HIGH⚡test/test_browser.py3613 Atomics = undefined;CODE
HIGHtest/test_browser.py769 const error = String(event instanceof ErrorEvent ? event.message : (event.reason || event));CODE
HIGHtest/test_browser.py771 window.onerror = null;CODE
HIGHtest/test_browser.py1063 gamepads.push({CODE
HIGHtest/test_browser.py1106 gamepads.push(gamepad)CODE
HIGHtest/test_browser.py2319 assert(e.toString().includes('Assertion failed')); // assertion, not something elseCODE
HIGHtest/test_browser.py2330 assert(e.toString().includes('Assertion failed')); // assertion, not something elseCODE
HIGHtest/test_browser.py2341 assert(e.toString().includes('Assertion failed')); // assertion, not something elseCODE
HIGHtest/test_browser.py2452 return preloadedWasm['/library.so'] !== undefined;CODE
HIGHtest/test_browser.py4039 if (e.error && e.error.message.includes('unreachable'))CODE
HIGH⚡test/test_browser.py1832 create_file('remove_setimmediate.js', 'globalThis.setImmediate = undefined;')STRING
HIGHtest/test_browser.py1590 buffer.push(v);STRING
HIGHtest/test_browser.py1607 Module.printErr = (s) => { self.postMessage({channel: "stderr", char: s, trace: ((doTrace && s === 10) ? new ErrorSTRING
HIGHtest/test_browser.py1607 Module.printErr = (s) => { self.postMessage({channel: "stderr", char: s, trace: ((doTrace && s === 10) ? new ErrorSTRING
24 more matches not shown…
Empty Error Handlers76 hits · 362 pts
SeverityFileLineSnippetContext
HIGHemrun.py926except Exception:CODE
HIGHemrun.py1368except Exception:CODE
HIGHemrun.py869except OSError:CODE
HIGHemrun.py1338except Exception:CODE
HIGHemrun.py1876except KeyboardInterrupt:CODE
HIGHemrun.py680except OSError:CODE
HIGHemrun.py853except OSError:CODE
HIGHemrun.py859except OSError:CODE
HIGHemrun.py1050except OSError:CODE
HIGHemrun.py1102except Exception:CODE
HIGHemrun.py1440except Exception:CODE
HIGHemrun.py733except ValueError:CODE
HIGHtools/link.py442except OSError:CODE
HIGHtools/cmdline.py709except ValueError:CODE
HIGHtools/cmdline.py195except Exception:CODE
HIGHtools/shared.py150except subprocess.TimeoutExpired:CODE
HIGHtools/filelock.py356except OSError:CODE
HIGHtools/filelock.py377except OSError:CODE
HIGHtools/filelock.py430except (IOError, OSError):CODE
HIGHtools/filelock.py443except OSError:CODE
HIGHtest/runner.py417except AttributeError:CODE
HIGHtest/runner.py588except Exception:CODE
HIGHtest/test_benchmark.py445except Exception:CODE
HIGHtest/test_benchmark.py451except Exception:CODE
HIGHtest/sockets_common.py89except OSError:CODE
HIGHtest/sockets_common.py95except OSError:CODE
HIGHtest/test_other.py149except IndexError:CODE
HIGHtest/browser_common.py132except (psutil.NoSuchProcess, ProcessLookupError):CODE
HIGHtest/browser_common.py678except Exception:CODE
HIGHtest/browser_common.py689except Exception:CODE
HIGHtest/browser_common.py114except psutil.NoSuchProcess: # E.g. "process no longer exists (pid=13132)" (code raced to acquire the iterator and proceCODE
HIGHthird_party/WebIDL.py4657except:CODE
HIGHthird_party/WebIDL.py2477except:CODE
HIGHthird_party/WebIDL.py2638except:CODE
HIGHthird_party/ply/ply/yacc.py3086except Exception:CODE
HIGHthird_party/ply/ply/yacc.py2812except (TypeError,ValueError):CODE
HIGHthird_party/ply/ply/yacc.py1410except SyntaxError:CODE
HIGHthird_party/ply/ply/yacc.py3025except Exception:CODE
HIGHthird_party/ply/ply/lex.py904except ImportError:CODE
HIGHthird_party/ply/ply/cpp.py847except LookupError:CODE
HIGHthird_party/ply/ply/cpp.py762except IOError:CODE
HIGHthird_party/ply/test/testlex.py296except OSError:CODE
HIGHthird_party/ply/test/testlex.py325except OSError:CODE
HIGHthird_party/ply/test/testlex.py329except OSError:CODE
HIGHthird_party/ply/test/testlex.py333except OSError:CODE
HIGHthird_party/ply/test/testlex.py366except OSError:CODE
HIGHthird_party/ply/test/testlex.py370except OSError:CODE
HIGHthird_party/ply/test/testlex.py374except OSError:CODE
HIGHthird_party/ply/test/testlex.py380except OSError:CODE
HIGHthird_party/ply/test/testlex.py384except OSError:CODE
HIGHthird_party/ply/test/testlex.py388except OSError:CODE
HIGHthird_party/ply/test/testlex.py417except OSError:CODE
HIGHthird_party/ply/test/testlex.py421except OSError:CODE
HIGHthird_party/ply/test/testlex.py425except OSError:CODE
HIGHthird_party/ply/test/testlex.py431except OSError:CODE
HIGHthird_party/ply/test/testlex.py465except OSError:CODE
HIGHthird_party/ply/test/testlex.py471except OSError:CODE
HIGHthird_party/ply/test/testlex.py475except OSError:CODE
HIGHthird_party/ply/test/testlex.py479except OSError:CODE
HIGHthird_party/ply/test/testlex.py508except OSError:CODE
16 more matches not shown…
Cross-Language Confusion (JS/TS)47 hits · 274 pts
SeverityFileLineSnippetContext
HIGHtest/print_args.js20 print(index + ': ' + val);CODE
HIGHtest/hello_world.js16print('Hello, world!');CODE
HIGH⚡test/other/test_proxyfs_main.js16print("m1 read embed");CODE
HIGH⚡test/other/test_proxyfs_main.js18print("m1 write");console.log("");CODE
HIGH⚡test/other/test_proxyfs_main.js20print("m1 read");CODE
HIGH⚡test/other/test_proxyfs_main.js24print("m2 read embed");CODE
HIGH⚡test/other/test_proxyfs_main.js26print("m2 write");console.log("");CODE
HIGH⚡test/other/test_proxyfs_main.js28print("m2 read");CODE
HIGH⚡test/other/test_proxyfs_main.js32print("m1 read");CODE
HIGH⚡test/other/test_proxyfs_main.js36print("m0 access existing");CODE
HIGH⚡test/other/test_proxyfs_main.js38print("m0 access absent");CODE
HIGH⚡test/other/test_proxyfs_main.js42print("m1 access existing");CODE
HIGH⚡test/other/test_proxyfs_main.js44print("m1 access absent");CODE
HIGH⚡test/other/test_proxyfs_main.js48print("m0 read embed");CODE
HIGH⚡test/other/test_proxyfs_main.js50print("m0 read m1");CODE
HIGH⚡test/other/test_proxyfs_main.js52print("m0 read m2");CODE
HIGH⚡test/other/test_proxyfs_main.js56print("m0 write");console.log("");CODE
HIGH⚡test/other/test_proxyfs_main.js58print("m0 read");CODE
HIGH⚡test/other/test_proxyfs_main.js60print("m1 read");CODE
HIGH⚡test/other/test_proxyfs_main.js62print("m2 read");CODE
HIGH⚡test/other/test_proxyfs_main.js65print("m0 read embed");CODE
HIGH⚡test/other/test_proxyfs_main.js67print("m1 read embed");CODE
HIGH⚡test/other/test_proxyfs_main.js69print("m2 read embed");CODE
HIGH⚡test/other/test_proxyfs_main.js73print("m0 write m1");console.log("");CODE
HIGH⚡test/other/test_proxyfs_main.js75print("m0 read m1");CODE
HIGH⚡test/other/test_proxyfs_main.js77print("m0 write m2");console.log("");CODE
HIGH⚡test/other/test_proxyfs_main.js79print("m0 read m2");CODE
HIGH⚡test/other/test_proxyfs_main.js81print("m1 read");CODE
HIGH⚡test/other/test_proxyfs_main.js83print("m2 read");CODE
HIGH⚡test/other/test_proxyfs_main.js85print("m0 read m0");CODE
HIGH⚡test/other/test_proxyfs_main.js95print("file size");CODE
HIGHtest/js_optimizer/AJSDCE.js25print(h(123));CODE
HIGHtest/js_optimizer/AJSDCE.js50 print(hh(123));CODE
HIGHtest/js_optimizer/JSDCE-output.js34print(h(123));CODE
HIGHtest/js_optimizer/JSDCE-output.js62 print(hh(123));CODE
HIGHtest/js_optimizer/AJSDCE-output.js17print(h(123));CODE
HIGHtest/js_optimizer/AJSDCE-output.js29 print(hh(123));CODE
HIGHtest/js_optimizer/JSDCE.js32print(h(123));CODE
HIGHtest/js_optimizer/JSDCE.js79 print(hh(123));CODE
HIGHsrc/lib/libembind_gen.js47 print(nameMap, out) {CODE
HIGHsrc/lib/libembind_gen.js193 print(nameMap, out) {CODE
HIGHsrc/lib/libembind_gen.js281 print(nameMap, out) {CODE
HIGHsrc/lib/libembind_gen.js314 print(nameMap, out) {CODE
HIGHsrc/lib/libembind_gen.js376 print(nameMap, out) {CODE
HIGHsrc/lib/libembind_gen.js398 print(nameMap, out) {CODE
HIGHsrc/lib/libembind_gen.js463 print() {CODE
HIGHsrc/lib/libembind_gen.js512 print() {CODE
Self-Referential Comments90 hits · 232 pts
SeverityFileLineSnippetContext
MEDIUMtools/js_manipulation.py137 # Create a try-catch guard that rethrows the Emscripten EH exception.STRING
MEDIUMtools/building.py1366 # Create a settings file with the current settings to pass to the JS preprocessorCOMMENT
MEDIUMtools/system_libs.py2598 # Create a version header based on the emscripten-version.txtSTRING
MEDIUMtools/system_libs.py2615 # Create a stamp file that signal that the headers have been installedSTRING
MEDIUMtools/emscripten.py577 # Create a file with the contents of the sourceMappingURL sectionCOMMENT
MEDIUMtools/wasm-sourcemap.py286 # This function handles four cases:COMMENT
MEDIUMtools/maint/create_release.py96 # Create the draft releaseCOMMENT
MEDIUMtools/maint/update_website.py67 # Create a new branch and commit the changes.STRING
MEDIUMtest/runner.py170 # Create a list of all known tests so that we can choose from them based on a wildcard searchCOMMENT
MEDIUMtest/test_core.py4937 # Create a dependency on __cxa_find_matching_catch_6 (6 = num clauses + 2)STRING
MEDIUMtest/common.py418 # Create the new test function. It calls the original function with the specified args.COMMENT
MEDIUMtest/test_sanity.py964 # Create a separate temporary cache folder to avoid dirtying or reading from the default cache.STRING
MEDIUMtest/test_other.py12130 # Create a static library that contains a reference to an undefined symbol: barSTRING
MEDIUMtest/test_other.py12230 # Create a library with no archive mapSTRING
MEDIUMtest/browser_common.py398# Create a server and a web page. When a test runs, we tell the server about it,COMMENT
MEDIUMtest/third_party/enet/ltmain.sh1229# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/enet/ltmain.sh1240# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMtest/third_party/enet/ltmain.sh1263# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/enet/ltmain.sh1272# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/enet/ltmain.sh1297# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/enet/ltmain.sh1433# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMtest/third_party/enet/ltmain.sh6028 # Create the object directory.COMMENT
MEDIUMtest/third_party/enet/ltmain.sh8656 # Create the old-style object.COMMENT
MEDIUMtest/third_party/enet/ltmain.sh8676 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
MEDIUMtest/third_party/freetype/modules.cfg6# This file is part of the FreeType project, and may only be used, modified,COMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh892# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh903# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh926# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh935# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh963# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh1064# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh4937 # Create the object directory.COMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh7447 # Create the old-style object.COMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh7467 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
MEDIUMtest/third_party/freetype/src/tools/glnames.py12# This file is part of the FreeType project, and may only be used, modified,COMMENT
MEDIUMtest/third_party/freetype/src/tools/docmaker/content.py4# This file contains routines used to parse the content of documentationCOMMENT
MEDIUMtest/third_party/freetype/src/tools/docmaker/utils.py11# This function is used to sort the index. It is a simple lexicographicalCOMMENT
MEDIUMtest/third_party/bullet/ltmain.sh892# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/bullet/ltmain.sh902# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMtest/third_party/bullet/ltmain.sh925# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/bullet/ltmain.sh934# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/bullet/ltmain.sh962# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/bullet/ltmain.sh1063# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMtest/third_party/bullet/ltmain.sh4410 # Create the object directory.COMMENT
MEDIUMtest/third_party/bullet/ltmain.sh6920 # Create the old-style object.COMMENT
MEDIUMtest/third_party/bullet/ltmain.sh6940 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
MEDIUMtest/third_party/poppler/ltmain.sh1228# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/poppler/ltmain.sh1239# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMtest/third_party/poppler/ltmain.sh1262# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/poppler/ltmain.sh1271# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/poppler/ltmain.sh1296# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMtest/third_party/poppler/ltmain.sh1432# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMtest/third_party/poppler/ltmain.sh6015 # Create the object directory.COMMENT
MEDIUMtest/third_party/poppler/ltmain.sh8634 # Create the old-style object.COMMENT
MEDIUMtest/third_party/poppler/ltmain.sh8654 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
MEDIUMtest/third_party/freealut/admin/autotools/ltmain.sh841 # Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMtest/third_party/freealut/admin/autotools/ltmain.sh1897 # Create the object directory.COMMENT
MEDIUMtest/third_party/freealut/admin/autotools/ltmain.sh4111 # Create the old-style object.COMMENT
MEDIUMtest/third_party/freealut/admin/autotools/ltmain.sh4141 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
MEDIUMthird_party/WebIDL.py2472 # Create a new IDLValue to make sure that we have theCOMMENT
30 more matches not shown…
AI Slop Vocabulary77 hits · 211 pts
SeverityFileLineSnippetContext
MEDIUMtools/link.py527 # Due to the aforementioned lack of knowledge about the static data size, we delegateCOMMENT
LOWtools/building.py383 # which is set at 8191 characters. We could just use that, but it leads toCOMMENT
LOWtools/system_libs.py121 # In general, we simply use alphabetical order, but we special case certainCOMMENT
LOWtools/filelock.py117# If we would simply return *self*, the lock would be acquired againCOMMENT
LOWtools/response_file.py79 # just return original argument.COMMENT
LOWtools/maint/rebaseline_tests.py40 # If `total` if not in the json dict then just use the first key. This happens when only oneCOMMENT
LOWtest/clang_native.py78 # add anything here, so just return.COMMENT
MEDIUMtest/canvas_animate_resize.c16// - If set, test WebGL context creation .explicitSwapControl=true and call emscripten_webgl_commit_frame() to swap. OtCOMMENT
MEDIUMtest/test_core.py2084 # Tests that -sMINIMAL_RUNTIME builds can utilize -sALLOW_MEMORY_GROWTH option.STRING
MEDIUMtest/test_manual_wasm_instantiate.html106 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMtest/parallel_testsuite.py159 # and the harness aborted.COMMENT
LOWtest/parallel_testsuite.py277 # _exc_info_to_string to simply return it.COMMENT
MEDIUMtest/canvas_animate_resize_shell.html44 // application robust, you may want to override this behavior before shipping!COMMENT
LOWtest/common.py398 # No long lines found just return the unmodified outputCOMMENT
MEDIUMtest/test_benchmark.py74# harness. We want to print benchmark results regardless of whether we are inCOMMENT
MEDIUMtest/test_fflush.html117 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMtest/sockets_common.py69 # Poll a listening TCP port until it accepts a connection, so a harnessCOMMENT
MEDIUMtest/browser_common.py910 # the browser harness reported an error already, and sent a None to tellCOMMENT
MEDIUMtest/pthread/main_js_with_loader.html106 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMtest/pthread/test_pthread_mandelbrot_shell.html1256 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMtest/browser/test_preallocated_heap_shell.html108 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMtest/browser/test_preinitialized_webgl_context.html106 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMtest/browser/test_manual_download_data.html106 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMtest/browser/test_html5_fullscreen.html106 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMtest/third_party/enet/ltmain.sh397# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMtest/third_party/enet/ltmain.sh3852# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMtest/third_party/enet/ltmain.sh7681 # This code stresses the "libraries are programs" paradigm to itsCOMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh210# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh2719# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMtest/third_party/freetype/builds/unix/ltmain.sh6531 # This code stresses the "libraries are programs" paradigm to itsCOMMENT
LOWtest/third_party/freetype/src/tools/docmaker/content.py187 # otherwise, simply add the line to the currentCOMMENT
MEDIUMtest/third_party/bullet/ltmain.sh210# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMtest/third_party/bullet/ltmain.sh2727# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMtest/third_party/bullet/ltmain.sh6004 # This code stresses the "libraries are programs" paradigm to itsCOMMENT
MEDIUM…BulletCollision/CollisionDispatch/btBoxBoxDetector.cpp99 // @@@ this needs to be made more robustCOMMENT
MEDIUMtest/third_party/poppler/ltmain.sh401# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMtest/third_party/poppler/ltmain.sh3849# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMtest/third_party/poppler/ltmain.sh7660 # This code stresses the "libraries are programs" paradigm to itsCOMMENT
MEDIUMtest/third_party/freealut/admin/autotools/ltmain.sh86# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMtest/third_party/freealut/admin/autotools/ltmain.sh3414 # This code stresses the "libraries are programs" paradigm to itsCOMMENT
MEDIUMtest/third_party/freealut/admin/autotools/ltmain.sh4900# Sed substitution that helps us do robust quoting. It backslashifiesCOMMENT
MEDIUMhtml/shell.html41 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMhtml/shell_minimal.html80 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUM⚡system/lib/libcxx/include/__iterator/iter_swap.h46 // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUM⚡system/lib/libcxx/include/__iterator/iter_swap.h56 // NOLINTBEGIN(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUM⚡system/lib/libcxx/include/__iterator/iter_swap.h63 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMsystem/lib/libcxx/include/__iterator/iter_move.h43 // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_move ADL calls should only be made through ranges::iter_moveCOMMENT
MEDIUMsystem/lib/libcxx/include/__iterator/iter_move.h62 // NOLINTBEGIN(libcpp-robust-against-adl) iter_move ADL calls should only be made through ranges::iter_moveCOMMENT
MEDIUMsystem/lib/libcxx/include/__iterator/iter_move.h69 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMsystem/lib/libcxx/include/__compare/weak_order.h36 // NOLINTBEGIN(libcpp-robust-against-adl) weak_order should use ADL, but only hereCOMMENT
MEDIUMsystem/lib/libcxx/include/__compare/weak_order.h44 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMsystem/lib/libcxx/include/__compare/partial_order.h34 // NOLINTBEGIN(libcpp-robust-against-adl) partial_order should use ADL, but only hereCOMMENT
MEDIUMsystem/lib/libcxx/include/__compare/partial_order.h42 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMsystem/lib/libcxx/include/__compare/strong_order.h42 // NOLINTBEGIN(libcpp-robust-against-adl) strong_order should use ADL, but only hereCOMMENT
MEDIUMsystem/lib/libcxx/include/__compare/strong_order.h50 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMsystem/lib/libcxx/include/__locale_dir/num.h39// NOLINTBEGIN(libcpp-robust-against-adl)COMMENT
MEDIUMsystem/lib/libcxx/include/__locale_dir/num.h1015// NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMsystem/lib/libcxx/src/filesystem/operations.cpp273 // as we can't utilize the fstream impl to copy empty filesCOMMENT
MEDIUMsystem/lib/compiler-rt/lib/builtins/emutls.c388// A more robust solution would be to create a separate shared library forCOMMENT
MEDIUM…er-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp928// MonotonicNanoTime is a timing function that can leverage the vDSO by callingCOMMENT
17 more matches not shown…
Cross-File Repetition38 hits · 190 pts
SeverityFileLineSnippetContext
HIGHthird_party/ply/test/yacc_badrule.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_missing1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_badargs.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_badtok.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_uprec2.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_term1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_nop.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_badprec2.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_error4.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_notok.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_badid.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_nodoc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_error1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_badprec3.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_noerror.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_inf.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_badprec.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_sr.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_rr.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_error2.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_error3.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_uprec.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_simple.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_unused_rule.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_unused.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_dup.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_prec1.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_notfunc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/example/optcalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/example/unicalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/doc/ply.html0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_misplaced.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/example/newclasscalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/example/classcalc/calc.py0expression : expression plus expression | expression minus expression | expression times expression | expression divide STRING
HIGHthird_party/ply/test/yacc_literal.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
HIGHthird_party/ply/example/calc/calc.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
HIGHthird_party/ply/example/calcdebug/calc.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
HIGHthird_party/ply/example/closurecalc/calc.py0expression : expression '+' expression | expression '-' expression | expression '*' expression | expression '/' expressiSTRING
Deep Nesting196 hits · 159 pts
SeverityFileLineSnippetContext
LOWemcc.py134CODE
LOWemcc.py382CODE
LOWemcc.py524CODE
LOWembuilder.py217CODE
LOWemrun.py319CODE
LOWemrun.py350CODE
LOWemrun.py756CODE
LOWemrun.py942CODE
LOWemrun.py1043CODE
LOWemrun.py1092CODE
LOWemrun.py1114CODE
LOWemrun.py1139CODE
LOWemrun.py1161CODE
LOWemrun.py1186CODE
LOWemrun.py1372CODE
LOWemrun.py1431CODE
LOWemrun.py1601CODE
LOWemrun.py455CODE
LOWemrun.py667CODE
LOWtools/link.py608CODE
LOWtools/link.py748CODE
LOWtools/link.py821CODE
LOWtools/link.py2566CODE
LOWtools/link.py2718CODE
LOWtools/link.py2972CODE
LOWtools/link.py3121CODE
LOWtools/link.py2611CODE
LOWtools/emprofile.py71CODE
LOWtools/extract_metadata.py264CODE
LOWtools/config.py97CODE
LOWtools/building.py159CODE
LOWtools/building.py678CODE
LOWtools/building.py842CODE
LOWtools/building.py1136CODE
LOWtools/system_libs.py196CODE
LOWtools/system_libs.py2340CODE
LOWtools/system_libs.py671CODE
LOWtools/system_libs.py687CODE
LOWtools/diagnostics.py69CODE
LOWtools/emscripten.py276CODE
LOWtools/emscripten.py304CODE
LOWtools/emscripten.py870CODE
LOWtools/emscripten.py934CODE
LOWtools/emscripten.py974CODE
LOWtools/emscripten.py1150CODE
LOWtools/wasm-sourcemap.py399CODE
LOWtools/wasm-sourcemap.py500CODE
LOWtools/cmdline.py177CODE
LOWtools/cmdline.py202CODE
LOWtools/cmdline.py632CODE
LOWtools/cmdline.py645CODE
LOWtools/gen_struct_info.py172CODE
LOWtools/filelock.py226CODE
LOWtools/webassembly.py317CODE
LOWtools/file_packager.py173CODE
LOWtools/file_packager.py347CODE
LOWtools/file_packager.py617CODE
LOWtools/empath-split.py120CODE
LOWtools/empath-split.py170CODE
LOWtools/empath-split.py261CODE
136 more matches not shown…
Structural Annotation Overuse39 hits · 72 pts
SeverityFileLineSnippetContext
LOWdocs/design/04-git-subtrees.md222### Step 1: Configure the Upstream RemoteCOMMENT
LOWdocs/design/04-git-subtrees.md228### Step 2: Prepare the Initial Branch with Local PatchesCOMMENT
LOWdocs/design/04-git-subtrees.md242### Step 3: Initialize the Subtree in EmscriptenCOMMENT
LOWdocs/design/04-git-subtrees.md260### Step 4: Verify with TestsCOMMENT
LOWsystem/include/emscripten/threading_primitives.h30// NOTE: This function can be only called in a Worker, and not on the mainCOMMENT
LOWsystem/include/emscripten/threading_primitives.h40// NOTE: This function can be only called in a Worker, and not on the mainCOMMENT
LOWsystem/include/emscripten/threading_primitives.h87// NOTE: This function can be called in both main thread and in Workers.COMMENT
LOWsystem/include/emscripten/threading_primitives.h124// NOTE: This function will always acquire the semaphore asynchronously. ThatCOMMENT
LOWsystem/include/emscripten/atomic.h200// NOTE: This function takes in the wait value in int64_t nanosecond units. PassCOMMENT
LOWsystem/include/emscripten/atomic.h203// NOTE: This function is thin wrapper around the Wasm atomic.wait instructionCOMMENT
LOWsystem/include/emscripten/atomic.h215// NOTE: This function takes in the wait value in int64_t nanosecond units. PassCOMMENT
LOWsystem/include/emscripten/atomic.h218// NOTE: This function is thin wrapper around the Wasm atomic.wait instructionCOMMENT
LOW⚡system/lib/libcxx/src/ryu/f2s.cpp172 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡system/lib/libcxx/src/ryu/f2s.cpp179 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWsystem/lib/libcxx/src/ryu/f2s.cpp241 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWsystem/lib/libcxx/src/ryu/f2s.cpp423 // Step 5: Print the decimal representation.COMMENT
LOWsystem/lib/libcxx/src/ryu/f2s.cpp668 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡system/lib/libcxx/src/ryu/d2s.cpp198 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡system/lib/libcxx/src/ryu/d2s.cpp206 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWsystem/lib/libcxx/src/ryu/d2s.cpp265 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWsystem/lib/libcxx/src/ryu/d2s.cpp358 // Step 5: Print the decimal representation.COMMENT
LOWsystem/lib/libcxx/src/ryu/d2s.cpp707 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOWsystem/lib/llvm-libc/src/__support/threads/thread.h220 // NOTE: This function is to be used for testing only. There is no standardCOMMENT
LOW⚡system/lib/llvm-libc/src/math/generic/log2f.cpp24// Step 1 - Range reduction:COMMENT
LOW⚡system/lib/llvm-libc/src/math/generic/log2f.cpp29// Step 2 - Another range reduction:COMMENT
LOW⚡system/lib/llvm-libc/src/math/generic/log2f.cpp39// Step 3 - Polynomial approximation:COMMENT
LOW⚡system/lib/llvm-libc/src/math/generic/logf.cpp26// Step 1 - Range reduction:COMMENT
LOW⚡system/lib/llvm-libc/src/math/generic/logf.cpp31// Step 2 - Another range reduction:COMMENT
LOW⚡system/lib/llvm-libc/src/math/generic/logf.cpp41// Step 3 - Polynomial approximation:COMMENT
LOW⚡system/lib/llvm-libc/src/math/generic/log10f.cpp27// Step 1 - Range reduction:COMMENT
LOW⚡system/lib/llvm-libc/src/math/generic/log10f.cpp32// Step 2 - Another range reduction:COMMENT
LOW⚡system/lib/llvm-libc/src/math/generic/log10f.cpp42// Step 3 - Polynomial approximation:COMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h124 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h130 // Step 2: read blocksCOMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h135 // Step 3: find the zero in the blockCOMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h159 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h168 // Step 2: read blocksCOMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h175 // Step 3: find the match in the blockCOMMENT
LOWthird_party/ply/ply/yacc.py2373 # Step 1: Construct C = { I0, I1, ... IN}, collection of LR(0) itemsCOMMENT
Excessive Try-Catch Wrapping76 hits · 72 pts
SeverityFileLineSnippetContext
MEDIUMemrun.py942def get_executable_version(filename):CODE
MEDIUMemrun.py973def get_browser_build_date(filename):CODE
MEDIUMemrun.py1043def get_computer_model():CODE
MEDIUMemrun.py1114def get_system_memory():CODE
LOWemrun.py340 except Exception:STRING
LOWemrun.py360 except Exception as e:STRING
LOWemrun.py373 except Exception as e:STRING
LOWemrun.py792 except Exception as e:STRING
LOWemrun.py886 except Exception as e:STRING
LOWemrun.py897 except Exception as e:STRING
LOWemrun.py904 except Exception as e:STRING
LOWemrun.py926 except Exception:STRING
LOWemrun.py968 except Exception as e:STRING
LOWemrun.py981 except Exception as e:STRING
LOWemrun.py989 except Exception as e:STRING
LOWemrun.py1066 except Exception:STRING
LOWemrun.py1087 except Exception as e:STRING
LOWemrun.py1102 except Exception:STRING
LOWemrun.py1110 except Exception:STRING
LOWemrun.py1134 except Exception:STRING
LOWemrun.py1338 except Exception:STRING
LOWemrun.py1368 except Exception:STRING
LOWemrun.py1389 except Exception:STRING
LOWemrun.py1395 except Exception as e:STRING
LOWemrun.py1440 except Exception:STRING
LOWemrun.py1443 except Exception:STRING
LOWemrun.py1796 except Exception as e:STRING
LOWtools/config.py109 except Exception as e:CODE
MEDIUMtools/building.py411def run_js_optimizer(filename, passes):CODE
LOWtools/building.py527 except Exception as e:CODE
LOWtools/cmdline.py195 except Exception:CODE
LOWtools/cmdline.py758 except Exception as e:CODE
LOWtools/cache.py79 except Exception as e:CODE
LOWtools/shared.py312 except Exception as e:CODE
LOWtools/shared.py338 except Exception as e:CODE
LOWtools/shared.py516 except Exception as e:CODE
MEDIUMtools/shared.py309def check_node_version():CODE
MEDIUMtools/shared.py335def check_node():CODE
LOWtools/file_packager.py150 except Exception:CODE
LOWtools/utils.py187 except Exception as e:CODE
LOWtools/toolchain_profiler.py75 except Exception:CODE
LOWtools/toolchain_profiler.py86 except Exception as e:CODE
LOWtools/toolchain_profiler.py97 except Exception as e:CODE
LOWtools/maint/heuristic_clear_cache.py48 except Exception:CODE
MEDIUMtools/maint/gen_release_notes.py31 print(f'Error: Changelog not found at {changelog_path}', file=sys.stderr)CODE
MEDIUM⚡tools/maint/gen_release_notes.py172 print(f'Error: Could not detect latest version from {changelog_path}', file=sys.stderr)CODE
MEDIUM⚡tools/maint/gen_release_notes.py178 print(f'Error: Could not find changelog entry for version {version} in {changelog_path}', file=sys.stderr)CODE
MEDIUM⚡tools/maint/gen_release_notes.py184 print(f'Error: Could not detect previous version for {version} from ChangeLog.md.', file=sys.stderr)CODE
MEDIUMtools/maint/simde_update.py70 print(f"Error looking for place to insert {line_to_insert[:-1]!r}. Please update 'line_to_prefix' in simde_update.pyCODE
LOWtools/maint/simde_update.py83 except Exception:CODE
LOWtest/test_stress.py59 except Exception as e:CODE
LOWtest/runner.py588 except Exception:CODE
LOWtest/jsrun.py66 except Exception as e:CODE
LOWtest/jsrun.py109 except Exception:CODE
LOWtest/test_core.py8807 except Exception as e:CODE
LOWtest/test_core.py8535 except Exception:STRING
LOWtest/test_benchmark.py115 except Exception as e:CODE
LOWtest/test_benchmark.py445 except Exception:CODE
LOWtest/test_benchmark.py451 except Exception:CODE
LOWtest/test_browser.py1623 except Exception as e:STRING
16 more matches not shown…
Hallucination Indicators4 hits · 60 pts
SeverityFileLineSnippetContext
CRITICAL⚡src/lib/libproxyfs.js167 stream.nfd = stream.node.mount.opts.fs.open(path,stream.flags);CODE
CRITICAL⚡src/lib/libproxyfs.js175 stream.node.mount.opts.fs.close(stream.nfd);CODE
CRITICAL⚡src/lib/libproxyfs.js183 return stream.node.mount.opts.fs.read(stream.nfd, buffer, offset, length, position);CODE
CRITICAL⚡src/lib/libproxyfs.js191 return stream.node.mount.opts.fs.write(stream.nfd, buffer, offset, length, position);CODE
Verbosity Indicators29 hits · 50 pts
SeverityFileLineSnippetContext
LOWtest/codesize/test_codesize_file_preload.expected.js12// We need to check if Module already exists (e.g. case 3 above).COMMENT
LOWtest/codesize/test_codesize_minimal_O0.expected.js59// We need to check if Module already exists (e.g. case 3 above).COMMENT
LOWtest/codesize/test_small_js_flags.expected.js10// We need to check if Module already exists (e.g. case 3 above).COMMENT
LOWtest/third_party/box2d/Box2D/Dynamics/b2World.h100 /// The purpose of this function is to support sub-stepping. Sub-stepping is often used to maintainCOMMENT
LOW⚡system/lib/libcxx/src/ryu/f2s.cpp172 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡system/lib/libcxx/src/ryu/f2s.cpp179 // Step 3: Convert to a decimal power base using 64-bit arithmetic.COMMENT
LOWsystem/lib/libcxx/src/ryu/f2s.cpp241 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWsystem/lib/libcxx/src/ryu/f2s.cpp423 // Step 5: Print the decimal representation.COMMENT
LOWsystem/lib/libcxx/src/ryu/f2s.cpp668 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW⚡system/lib/libcxx/src/ryu/d2s.cpp198 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOW⚡system/lib/libcxx/src/ryu/d2s.cpp206 // Step 3: Convert to a decimal power base using 128-bit arithmetic.COMMENT
LOWsystem/lib/libcxx/src/ryu/d2s.cpp265 // Step 4: Find the shortest decimal representation in the interval of valid representations.COMMENT
LOWsystem/lib/libcxx/src/ryu/d2s.cpp358 // Step 5: Print the decimal representation.COMMENT
LOWsystem/lib/libcxx/src/ryu/d2s.cpp707 // Step 1: Decode the floating-point number, and unify normalized and subnormal cases.COMMENT
LOW…b/llvm-libc/include/llvm-libc-macros/inttypes-macros.h118// only recent clang provides these macros, so we need to check if they areCOMMENT
LOWsystem/lib/llvm-libc/shared/rpc.h534 // Once we acquire the index we need to check if we are in a valid sendingCOMMENT
LOW…stem/lib/llvm-libc/src/__support/OSUtil/linux/vdso.cpp93 // now we need to check if it has the right versionCOMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h124 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h130 // Step 2: read blocksCOMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h135 // Step 3: find the zero in the blockCOMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h159 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h168 // Step 2: read blocksCOMMENT
LOW⚡system/lib/llvm-libc/src/string/string_length.h175 // Step 3: find the match in the blockCOMMENT
LOWsystem/lib/openmp/src/kmp_affinity.cpp2289 // First, we need to check if cpuid(4) is supported on this chip. To see ifCOMMENT
LOWsystem/lib/openmp/src/kmp_affinity.cpp2381 // First, we need to check if cpuid(4) is supported on this chip. To see ifCOMMENT
LOWsystem/lib/openmp/src/kmp_collapse.cpp1734 // We found the chunk for this thread, now we need to check if it's theCOMMENT
LOWthird_party/ply/ply/yacc.py2373 # Step 1: Construct C = { I0, I1, ... IN}, collection of LR(0) itemsCOMMENT
LOWsrc/shell.js18// We need to check if Module already exists (e.g. case 3 above).COMMENT
LOWsrc/lib/libeventloop.js228 // loop can run at a time. This variable stores the ordinal number of theCOMMENT
Unused Imports42 hits · 42 pts
SeverityFileLineSnippetContext
LOW…ols/scons/site_scons/site_tools/emscripten/__init__.py7CODE
LOW…ols/scons/site_scons/site_tools/emscripten/__init__.py8CODE
LOW…t/third_party/freetype/src/tools/docmaker/formatter.py4CODE
LOW…t/third_party/freetype/src/tools/docmaker/formatter.py5CODE
LOW…t/third_party/freetype/src/tools/docmaker/formatter.py6CODE
LOWtest/third_party/bullet/Demos/HelloWorld/parse.py1CODE
LOWtest/third_party/poppler/poppler/gen-unicode-tables.py2CODE
LOWthird_party/ply/ply/cpp.py10CODE
LOWthird_party/ply/test/yacc_badrule.py11CODE
LOWthird_party/ply/test/yacc_missing1.py11CODE
LOWthird_party/ply/test/yacc_badargs.py11CODE
LOWthird_party/ply/test/yacc_uprec2.py11CODE
LOWthird_party/ply/test/yacc_literal.py11CODE
LOWthird_party/ply/test/yacc_term1.py11CODE
LOWthird_party/ply/test/yacc_nop.py11CODE
LOWthird_party/ply/test/yacc_badprec2.py11CODE
LOWthird_party/ply/test/yacc_error4.py11CODE
LOWthird_party/ply/test/yacc_badid.py11CODE
LOWthird_party/ply/test/yacc_nodoc.py11CODE
LOWthird_party/ply/test/yacc_misplaced.py11CODE
LOWthird_party/ply/test/yacc_error1.py11CODE
LOWthird_party/ply/test/yacc_badprec3.py11CODE
LOWthird_party/ply/test/yacc_noerror.py11CODE
LOWthird_party/ply/test/yacc_inf.py11CODE
LOWthird_party/ply/test/yacc_badprec.py11CODE
LOWthird_party/ply/test/yacc_sr.py11CODE
LOWthird_party/ply/test/yacc_rr.py11CODE
LOWthird_party/ply/test/yacc_error2.py11CODE
LOWthird_party/ply/test/yacc_error3.py11CODE
LOWthird_party/ply/test/yacc_uprec.py11CODE
LOWthird_party/ply/test/yacc_simple.py11CODE
LOWthird_party/ply/test/yacc_unused_rule.py11CODE
LOWthird_party/ply/test/yacc_unused.py11CODE
LOWthird_party/ply/test/yacc_dup.py11CODE
LOWthird_party/ply/test/yacc_prec1.py11CODE
LOWthird_party/ply/test/yacc_notfunc.py11CODE
LOWthird_party/ply/example/ansic/cparse.py7CODE
LOWthird_party/ply/example/ansic/cparse.py854CODE
LOWthird_party/ply/example/BASIC/basparse.py4CODE
LOWthird_party/ply/example/BASIC/basic.py10CODE
LOWthird_party/ply/example/BASIC/basiclex.py3CODE
LOWthird_party/ply/example/BASIC/basiclog.py18CODE
Slop Phrases20 hits · 34 pts
SeverityFileLineSnippetContext
LOWemrun.py1897 # Browser is no longer running, make sure to clean up the temp FirefoxSTRING
MEDIUMtools/config_template.py6# referencing paths relative to the home directory. In addition you can useCOMMENT
MEDIUM⚡test/test_browser.py5393 # you may want to adjust "ITERATIONS".STRING
MEDIUMtest/test_other.py3607 # JS tests you can use `EMBIND_TESTS=myregex` to run just the matching tests.STRING
LOWtest/checksummer.c74 free(source); /* Don't forget to call free() later! */CODE
LOWtest/browser_common.py384 # and spaces are not escaped. But make sure to also support args, e.g.COMMENT
MEDIUMtest/third_party/freetype/include/freetype/fterrors.h65 /* Here is a simple example: */COMMENT
MEDIUMtest/third_party/freetype/include/freetype/freetype.h1063 /* probably never want this except for demonstration purposes. */COMMENT
LOW…ird_party/freetype/include/freetype/internal/ftrfork.h36 /* Don't forget to increment the number if you add a new guessing rule. */COMMENT
LOWtest/third_party/freetype/src/sfnt/ttsbit.c1231 /* don't forget to multiply `x_offset' by `map->pix_bits' as */COMMENT
LOWtest/third_party/freetype/src/cid/cidload.c224 /* don't forget to set a few defaults */COMMENT
LOWtest/third_party/freetype/src/autofit/afglobal.c34/* when updating this table, don't forget to updateCOMMENT
LOWtest/third_party/freetype/src/autofit/aftypes.h274 /* add new scripts here. Don't forget to update the list in */COMMENT
LOWtest/third_party/openjpeg/libopenjpeg/t2.c759 /* don't forget to release pi */COMMENT
LOW…ulletDynamics/ConstraintSolver/btConeTwistConstraint.h260 // note: don't forget to enableMotor()COMMENT
MEDIUMtest/third_party/box2d/Box2D/Common/b2Settings.cpp37// You can modify this to use your logging facility.COMMENT
MEDIUM…party/poppler/glib/reference/html/PopplerDocument.html1306Here is a simple example of some code that walks the full index:CODE
MEDIUM…party/poppler/glib/reference/html/PopplerDocument.html1520Here is a simple example of code to scan fonts in a documentCODE
LOW…/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp264 // When adding a new architecture, don't forget to also updateCOMMENT
LOW…ib/compiler-rt/lib/sanitizer_common/sanitizer_common.h799// When adding a new architecture, don't forget to also updateCOMMENT
Synthetic Comment Markers4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHsystem/lib/compiler-rt/lib/asan/asan_rtl.cpp569// Initialize as requested from some part of ASan runtime library (interceptors,COMMENT
HIGHsystem/lib/compiler-rt/lib/asan/asan_rtl.cpp682// Initialize as requested from instrumented application code.COMMENT
HIGHsrc/Fetch.js197 // Convert to ArrayBuffer as requested by responseType.COMMENT
HIGHsrc/Fetch.js218 // Convert to ArrayBuffer as requested by responseTypeCOMMENT
Fake / Example Data17 hits · 22 pts
SeverityFileLineSnippetContext
LOW⚡test/ascii_corpus.txt1Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOW⚡test/ascii_corpus.txt1Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOW⚡test/ascii_corpus.txt11Donec nec dui, in viverra tristique sapien. Suspendisse tincidunt consequat ante. Vestibulum ante ipsum primis in faucibCODE
LOW⚡test/ascii_corpus.txt13Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOW⚡test/ascii_corpus.txt13Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOW⚡test/ascii_corpus.txt23Donec nec dui, in viverra tristique sapien. Suspendisse tincidunt consequat ante. Vestibulum ante ipsum primis in faucibCODE
LOW⚡test/ascii_corpus.txt25Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOW⚡test/ascii_corpus.txt25Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOW⚡test/ascii_corpus.txt35Donec nec dui, in viverra tristique sapien. Suspendisse tincidunt consequat ante. Vestibulum ante ipsum primis in faucibCODE
LOWtest/openal/test_openal_error.c21 char dummy_data[2000] = {0};CODE
LOWtest/openal/test_openal_error.c22 alBufferData(buf, AL_FORMAT_MONO16, dummy_data, sizeof(dummy_data), 44100);CODE
LOWtest/openal/test_openal_error.c44 short dummy_data[2000] = {0};CODE
LOWtest/openal/test_openal_error.c45 alBufferData(buf, AL_FORMAT_MONO16, dummy_data, sizeof(dummy_data), 44100);CODE
LOW…ib/compiler-rt/lib/profile/InstrProfilingPlatformAIX.c193static int dummy_data[0] COMPILER_RT_SECTION(CODE
LOW…ib/compiler-rt/lib/profile/InstrProfilingPlatformAIX.c215 (void *)&dummy_cnts, (void *)&dummy_bits, (void *)&dummy_data,CODE
LOWsrc/preamble.js511 if (moduleName.startsWith('placeholder')) {CODE
LOWsrc/preamble.js513 if (moduleName == 'placeholder') { // old formatCODE
Redundant / Tautological Comments16 hits · 20 pts
SeverityFileLineSnippetContext
LOWtest/common.py441 # Check if a member of the new class has _parameterize, the tag inserted by @parameterized.COMMENT
LOWtest/test_other.py3283 # Verify if the given file name contains a source mapSTRING
LOWtest/test_other.py16171 # Check if functions are correctly assigned and split with the specifiedSTRING
LOWtest/third_party/enet/ltmain.sh2593 # Check if any of the arguments is a wrapper script.COMMENT
LOWtest/third_party/enet/ltmain.sh8382 # Loop over the list of objects to be linked.COMMENT
LOWtest/third_party/freetype/builds/unix/ltmain.sh1710 # Check if any of the arguments is a wrapper script.COMMENT
LOWtest/third_party/freetype/builds/unix/ltmain.sh7179 # Loop over the list of objects to be linked.COMMENT
LOWtest/third_party/bullet/ltmain.sh1709 # Check if any of the arguments is a wrapper script.COMMENT
LOWtest/third_party/bullet/ltmain.sh6652 # Loop over the list of objects to be linked.COMMENT
LOWtest/third_party/poppler/ltmain.sh2592 # Check if any of the arguments is a wrapper script.COMMENT
LOWtest/third_party/poppler/ltmain.sh8360 # Loop over the list of objects to be linked.COMMENT
LOWtest/third_party/freealut/admin/autotools/ltmain.sh3925 # Loop over the list of objects to be linked.COMMENT
LOWtest/third_party/freealut/admin/autotools/ltmain.sh5989 # Check if any of the arguments is a wrapper script.COMMENT
LOWthird_party/ply/ply/yacc.py2044 # Loop over the items in C and each grammar symbolsCOMMENT
LOWthird_party/ply/doc/makedoc.py191# Write the file back outCOMMENT
LOWthird_party/ply/doc/ply.html2870 p[0] = some_value # Assign value to seen_ACODE
TODO Padding12 hits · 20 pts
SeverityFileLineSnippetContext
LOW…tem/lib/libcxx/include/experimental/__simd/simd_mask.h27// TODO: implement simd_mask classCOMMENT
LOWsystem/lib/libcxx/include/experimental/__simd/simd.h43// TODO: implement simd classCOMMENT
LOW…compiler-rt/lib/sanitizer_common/sanitizer_fuchsia.cpp475 // TODO: implement.COMMENT
LOW…lib/compiler-rt/lib/sanitizer_common/sanitizer_win.cpp987 // TODO: implement.COMMENT
LOWsystem/lib/mimalloc/src/options.c627// TODO: implement ourselves to reduce dependencies on the C runtimeCOMMENT
LOW…stem/lib/llvm-libc/include/llvm-libc-types/__jmp_buf.h12// TODO: implement sigjmp_buf related functions for other architecturesCOMMENT
LOW…llvm-libc/src/__support/FPUtil/ManipulationFunctions.h204 // TODO: Add tests for exceptions.COMMENT
LOWsystem/lib/openmp/src/kmp_dispatch.cpp2141// TODO: implement countCOMMENT
LOWsrc/lib/libsdl.js1740 return; // TODO: implement this in a non-buggy way. Need to keep relative mouse movements correct after calling thisCODE
LOW⚡src/lib/libglfw.js1616 // TODO: implementCOMMENT
LOW⚡src/lib/libglfw.js1622 // TODO: implementCOMMENT
LOW⚡src/lib/libglfw.js1625 // TODO: implementCOMMENT
AI Structural Patterns12 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/extract_metadata.py194CODE
LOWtools/js_manipulation.py153CODE
LOWtest/jsrun.py85CODE
LOWtest/common.py1208CODE
LOWtest/common.py1476CODE
LOWtest/test_benchmark.py499CODE
LOWtest/test_sanity.py598CODE
LOWthird_party/WebIDL.py3104CODE
LOWthird_party/ply/ply/yacc.py149CODE
LOWthird_party/ply/ply/yacc.py3036CODE
LOWthird_party/ply/ply/lex.py865CODE
LOWthird_party/ply/example/closurecalc/calc.py114CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsystem/lib/libunwind/src/Unwind-EHABI.cpp469 // In this implementation, the phases don't share the VRS backing store.COMMENT
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…mpiler-rt/lib/sanitizer_common/sanitizer_addrhashmap.h25// Usage example:COMMENT
LOW…ib/llvm-libc/src/__support/FPUtil/except_value_utils.h29// Example usage:COMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOW⚡tools/filelock.py70__all__ = [CODE
LOWthird_party/ply/ply/__init__.py4__all__ = ['lex','yacc']CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/webassembly.py62 def helper(self, *args, **kwargs):CODE