Repository Analysis

emscripten-core/emscripten

Emscripten: An LLVM-to-WebAssembly Compiler

7.0 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of emscripten-core/emscripten, a C++ project with 27,496 GitHub stars. SynthScan v2.0 examined 1,807,796 lines of code across 9683 source files, recording 11962 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 7.0 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).

7.0
Adjusted Score
7.0
Raw Score
100%
Time Factor
2026-07-13
Last Push
27.5K
Stars
C++
Language
1.8M
Lines of Code
9.7K
Files
12.0K
Pattern Hits
2026-07-14
Scan Date
0.02
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 10HIGH 203MEDIUM 525LOW 11224

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 11962 distinct pattern matches across 24 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 Block9842 hits · 9061 pts
SeverityFileLineSnippetContext
LOWemrun.py61# us. Used to detect whether we might have gotten detached from the browserCOMMENT
LOWtools/link.py421COMMENT
LOWtools/link.py721 diagnostics.warning('emcc', 'ASAN_SHADOW_SIZE is ignored and will be removed in a future release')COMMENT
LOWtools/link.py1201 ]COMMENT
LOWtools/link.py1881 # duplication between functions added by the driver/libraries and functionCOMMENT
LOWtools/link.py2301 # whether we need to emit -g (function name debug info) in the final wasmCOMMENT
LOWtools/link.py2601 '--minify-js', 'true']COMMENT
LOWtools/building.py681 # Closure's built-in type check:COMMENT
LOWtools/building.py921COMMENT
LOWtools/building.py1361 # When building in relocatable mode, we also want access the originalCOMMENT
LOWtools/system_libs.py121 # definition of `__vm_wait`, but `mmap.o` also contains a dummy/weak definitionCOMMENT
LOWtools/system_libs.py361 name: str | None = NoneCOMMENT
LOWtools/emscripten.py601 # to EMSCRIPTEN_KEEPALIVE (llvm.used).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.py21COMMENT
LOWtools/config_template.py41# Wasm engines to use in STANDALONE_WASM tests.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.py161EXPERIMENTAL_SETTINGS = {COMMENT
LOWtools/feature_matrix.py141 Feature.GROWABLE_ARRAYBUFFERS: {COMMENT
LOWtools/feature_matrix.py161# 'safari': 140100,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
LOW…ebsocket_to_posix_proxy/src/websocket_to_posix_proxy.c681 case MUSL_TCP_KEEPCNT: return TCP_KEEPCNT;COMMENT
LOWtools/websocket_to_posix_proxy/src/main.cpp1#include <cassert>COMMENT
LOWtools/maint/gen_sig_info.py21__scriptdir__ = os.path.dirname(os.path.abspath(__file__))COMMENT
9782 more matches not shown…
Decorative Section Separators346 hits · 979 pts
SeverityFileLineSnippetContext
MEDIUMtools/shared.py625# ============================================================================COMMENT
MEDIUMtools/shared.py627# ============================================================================COMMENT
MEDIUMtools/filelock.py39# ------------------------------------------------COMMENT
MEDIUMtools/filelock.py61# ------------------------------------------------COMMENT
MEDIUMtools/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
MEDIUMtest/third_party/openjpeg/CMakeLists.txt113#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt117#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt121#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt129#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt133#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt148#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt153#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt160#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt167#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt174#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt181#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/third_party/openjpeg/CMakeLists.txt188#-----------------------------------------------------------------------------COMMENT
MEDIUMtest/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
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h46// ┌───────────────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h48// └─────────▲─────────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h50// ┌─────────┴─────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h52// └─────────▲─────────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h54// ┌────────────┴─────────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h56// ┌────────┴─────────┐ ┌──────────────┴──────────────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h58// └────────▲─────────┘ └──────────────▲──────────────────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h60// └────────────┬─────────────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h62// ┌───────┴───────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h64// └───────▲───────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h66// ┌────────┴────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h67// ┌─────┴─────┐ ┌─────┴─────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h69// └───────────┘ └───────────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/GPU/allocator.cpp153/// ┌────────┬──────────┬────────┬──────────────────┬──────────────────────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/GPU/allocator.cpp155/// └────────┴──────────┴────────┴──────────────────┴──────────────────────────┘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.txt488# --------------------------------------------------------------------------------------------------COMMENT
286 more matches not shown…
Cross-Language Confusion (JS/TS)78 hits · 474 pts
SeverityFileLineSnippetContext
HIGHtest/print_args.js20 print(index + ': ' + val);CODE
HIGHtest/hello_world.js16print('Hello, world!');CODE
HIGHtest/fasta.js36 print(line);CODE
HIGHtest/fasta.js62 print(">ONE Homo sapiens alu")CODE
HIGHtest/fasta.js65 print(">TWO IUB ambiguity codes")CODE
HIGHtest/fasta.js68 print(">THREE Homo sapiens frequency")CODE
HIGHtest/fannkuch.js23 print(s);CODE
HIGHtest/fannkuch.js69print("Pfannkuchen(" + n.toString() + ") = " + fannkuch(n).toString());CODE
HIGHtest/other/test_proxyfs_main.js16print("m1 read embed");CODE
HIGHtest/other/test_proxyfs_main.js18print("m1 write");console.log("");CODE
HIGHtest/other/test_proxyfs_main.js20print("m1 read");CODE
HIGHtest/other/test_proxyfs_main.js24print("m2 read embed");CODE
HIGHtest/other/test_proxyfs_main.js26print("m2 write");console.log("");CODE
HIGHtest/other/test_proxyfs_main.js28print("m2 read");CODE
HIGHtest/other/test_proxyfs_main.js32print("m1 read");CODE
HIGHtest/other/test_proxyfs_main.js36print("m0 access existing");CODE
HIGHtest/other/test_proxyfs_main.js38print("m0 access absent");CODE
HIGHtest/other/test_proxyfs_main.js42print("m1 access existing");CODE
HIGHtest/other/test_proxyfs_main.js44print("m1 access absent");CODE
HIGHtest/other/test_proxyfs_main.js48print("m0 read embed");CODE
HIGHtest/other/test_proxyfs_main.js50print("m0 read m1");CODE
HIGHtest/other/test_proxyfs_main.js52print("m0 read m2");CODE
HIGHtest/other/test_proxyfs_main.js56print("m0 write");console.log("");CODE
HIGHtest/other/test_proxyfs_main.js58print("m0 read");CODE
HIGHtest/other/test_proxyfs_main.js60print("m1 read");CODE
HIGHtest/other/test_proxyfs_main.js62print("m2 read");CODE
HIGHtest/other/test_proxyfs_main.js65print("m0 read embed");CODE
HIGHtest/other/test_proxyfs_main.js67print("m1 read embed");CODE
HIGHtest/other/test_proxyfs_main.js69print("m2 read embed");CODE
HIGHtest/other/test_proxyfs_main.js73print("m0 write m1");console.log("");CODE
HIGHtest/other/test_proxyfs_main.js75print("m0 read m1");CODE
HIGHtest/other/test_proxyfs_main.js77print("m0 write m2");console.log("");CODE
HIGHtest/other/test_proxyfs_main.js79print("m0 read m2");CODE
HIGHtest/other/test_proxyfs_main.js81print("m1 read");CODE
HIGHtest/other/test_proxyfs_main.js83print("m2 read");CODE
HIGHtest/other/test_proxyfs_main.js85print("m0 read m0");CODE
HIGHtest/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
HIGHthird_party/terser/terser.js9322 print("*");CODE
HIGHthird_party/terser/terser.js9326 print(" ");CODE
HIGHthird_party/terser/terser.js9333 print(make_indent(half ? 0.5 : 0));CODE
HIGHthird_party/terser/terser.js9360 print(";");CODE
HIGHthird_party/terser/terser.js9367 print(";");CODE
HIGHthird_party/terser/terser.js9376 print("{");CODE
HIGHthird_party/terser/terser.js9382 print("}");CODE
HIGHthird_party/terser/terser.js9387 print("(");CODE
HIGHthird_party/terser/terser.js9391 print(")");CODE
HIGHthird_party/terser/terser.js9396 print("[");CODE
HIGHthird_party/terser/terser.js9399 print("]");CODE
HIGHthird_party/terser/terser.js9404 print(",");CODE
HIGHthird_party/terser/terser.js9409 print(":");CODE
HIGHthird_party/terser/terser.js9538 print("//" + value + "\n");CODE
HIGHthird_party/terser/terser.js9545 print("/*" + value + "*/");CODE
18 more matches not shown…
Cross-Language Confusion82 hits · 421 pts
SeverityFileLineSnippetContext
HIGHtools/link.py2159 return "globalThis.process?.versions?.node && globalThis.process?.type != 'renderer'"CODE
HIGHtools/link.py2554 if (!window.WebAssembly || location.search.indexOf('_rwasm=0') > 0) {CODE
HIGHtools/link.py3208 # /dev/null, but that will take some refactoringSTRING
HIGHtools/file_packager.py645 if (isPthread || isWasmWorker) return;\n'''CODE
HIGHtools/file_packager.py648 ret += " var isNode = globalThis.process && globalThis.process.versions && globalThis.process.versions.node && glCODE
HIGHtools/file_packager.py701 await Module['FS_preloadFile'](name, null, data, true, true, false, true);CODE
HIGHtools/file_packager.py706 Module['FS_createDataFile'](name, null, data, true, true, true);'''CODE
HIGHtools/file_packager.py870 if (result && PACKAGE_UUID === result['uuid']) {CODE
HIGHtools/file_packager.py873 resolve(null);CODE
HIGHtools/file_packager.py903 chunks.push(event.target.result);CODE
HIGHtools/file_packager.py914 buffer = undefined;CODE
HIGHtools/file_packager.py916 chunks = undefined;CODE
HIGHtools/file_packager.py918 tempTyped = undefined;CODE
HIGHtools/file_packager.py961 chunks.push(value);CODE
HIGHtools/minimal_runtime_shell.py39 download_wasm = f"!WebAssembly.instantiateStreaming && binary('{target_basename}.wasm')"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 += "if(typeof {0} !== 'undefined' && {0} !== null) {{\n".format(js_arg)STRING
HIGHtools/webidl_binder.py519 body += " if(typeof {0} !== 'undefined' && {0} !== null) {{ {0} = {0}.ptr }};\n".format(js_arg)STRING
HIGHtools/webidl_binder.py537 body += f' if ({args[i]} === null) {args[i]} = 0;\n'STRING
HIGHtools/webidl_binder.py573 body += ' if (%s === undefined) { %s_%s(%s)%s%s }\n' % (args[i], call_prefix, c_names[i],STRING
HIGHtools/webidl_binder.py697 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
HIGHtest/test_core.py7138 ret = ccall('print_int', null, ['number'], [12]); out(typeof ret);CODE
HIGHtest/test_core.py7139 ret = ccall('print_float', null, ['number'], [14.56]); out(typeof ret);CODE
HIGHtest/test_core.py7140 ret = ccall('print_bool', null, ['boolean'], [true]); out(typeof ret);CODE
HIGHtest/test_core.py7141 ret = ccall('print_string', null, ['string'], ["cheez"]); out(typeof ret);CODE
HIGHtest/test_core.py7142 ret = ccall('print_string', null, ['array'], [[97, 114, 114, 45, 97, 121, 0]]); out(typeof ret); // JS arrayCODE
HIGHtest/test_core.py7143 ret = ccall('print_string', null, ['array'], [new Uint8Array([97, 114, 114, 45, 97, 121, 0])]); out(typeof ret); /CODE
HIGHtest/test_core.py7161 ccall('call_ccall_again', null);CODE
HIGHtest/test_core.py7175 var printBool = Module['cwrap']('print_bool', null, ['boolean']);CODE
HIGHtest/test_core.py3703 assert(okk && faill);CODE
HIGHtest/test_core.py5520 return test_files_input.charCodeAt(test_files_input_index++) || null;CODE
HIGHtest/test_core.py5535 stdin: () => { return data.pop() || null },CODE
HIGHtest/test_core.py8421 ccall('main', null, ['number', 'string'], [2, 'waka'], { async: true });CODE
HIGHtest/test_core.py8461 ccall('floatf', 'number', null, null, { async: true }).then(function(arg) {CODE
HIGHtest/test_core.py8653 create_file('b.out.js', 'WebAssembly = undefined;\n' + read_file('a.out.js'))STRING
HIGHtest/test_core.py9168 # the bug is that createModule() returns undefined, instead of theSTRING
HIGHtest/test_jslib.py400extraLibraryFuncs.push('jsfunc');CODE
HIGHtest/common.py1407 'a: loaded\na: b (prev: (null))\na: c (prev: b)\n', cflags=extra_args)STRING
HIGHtest/common.py1437 'a: loaded\na: b (prev: (null))\na: c (prev: b)\n', cflags=extra_args)STRING
HIGHtest/test_benchmark.py1173 files.push(x);CODE
HIGHtest/test_browser.py3654 SharedArrayBuffer = undefined;CODE
HIGHtest/test_browser.py3655 Atomics = undefined;CODE
HIGHtest/test_browser.py767 const error = String(event instanceof ErrorEvent ? event.message : (event.reason || event));CODE
HIGHtest/test_browser.py769 window.onerror = null;CODE
HIGHtest/test_browser.py1061 gamepads.push({CODE
HIGHtest/test_browser.py1093 gamepads.push({CODE
HIGHtest/test_browser.py1136 gamepads.push(gamepad)CODE
HIGHtest/test_browser.py2347 assert(e.toString().includes('Assertion failed')); // assertion, not something elseCODE
HIGHtest/test_browser.py2358 assert(e.toString().includes('Assertion failed')); // assertion, not something elseCODE
HIGHtest/test_browser.py2369 assert(e.toString().includes('Assertion failed')); // assertion, not something elseCODE
HIGHtest/test_browser.py2480 return preloadedWasm['/library.so'] !== undefined;CODE
HIGHtest/test_browser.py4075 if (e.error && e.error.message.includes('unreachable'))CODE
HIGHtest/test_browser.py1859 create_file('remove_setimmediate.js', 'globalThis.setImmediate = undefined;')STRING
HIGHtest/test_browser.py1620 buffer.push(v);STRING
HIGHtest/test_browser.py1637 Module.printErr = (s) => { self.postMessage({channel: "stderr", char: s, trace: ((doTrace && s === 10) ? new ErrorSTRING
HIGHtest/test_browser.py1637 Module.printErr = (s) => { self.postMessage({channel: "stderr", char: s, trace: ((doTrace && s === 10) ? new ErrorSTRING
HIGHtest/test_browser.py4141 create_file('pre0.js', 'WebAssembly.instantiateStreaming = undefined;')STRING
22 more matches not shown…
Hyper-Verbose Identifiers918 hits · 419 pts
SeverityFileLineSnippetContext
LOWemcc.py520 def get_clang_command_preprocessed():STRING
LOWemrun.py198def delete_emrun_safe_firefox_profile():CODE
LOWemrun.py211def create_emrun_safe_firefox_profile():CODE
LOWemrun.py1359 def remove_readonly_and_try_again(func, path, exc_info):STRING
LOWtools/link.py153def save_intermediate_with_wasm(name, wasm_binary):CODE
LOWtools/link.py166def align_to_wasm_page_boundary(address):CODE
LOWtools/link.py179def setup_environment_settings():CODE
LOWtools/link.py304def should_run_binaryen_optimizer():CODE
LOWtools/link.py313def get_binaryen_lowering_passes():CODE
LOWtools/link.py399 def check_human_readable_list(items):CODE
LOWtools/link.py796def setup_cross_origin_storage():CODE
LOWtools/link.py990 def limit_incoming_module_api():CODE
LOWtools/link.py1866def phase_calculate_system_libraries(options):CODE
LOWtools/link.py2212def convert_line_endings_in_file(filename, to_eol):CODE
LOWtools/link.py2496def module_export_name_substitution():CODE
LOWtools/link.py2515def generate_traditional_runtime_html(target, options, js_target, wasm_target):CODE
LOWtools/link.py2854def filter_out_fake_dynamic_libs(options, inputs):STRING
LOWtools/link.py2867def filter_out_duplicate_fake_dynamic_libs(inputs):STRING
LOWtools/link.py2937def unmangle_symbols_from_cmdline(symbols):STRING
LOWtools/link.py3030def get_subresource_location_js(path):STRING
LOWtools/link.py3078def phase_calculate_linker_inputs(options, 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.py42def normalize_config_settings():CODE
LOWtools/config.py53def normalize_relative_python_path():CODE
LOWtools/config.py67def set_config_from_tool_location(config_key, tool_binary, f):CODE
LOWtools/js_manipulation.py181def make_unsign_pointer_wrapper(sig):CODE
LOWtools/building.py132def side_module_external_deps(external_symbols):CODE
LOWtools/building.py280def get_wasm_bindgen_exported_symbols(input_files):CODE
LOWtools/building.py354def get_command_with_possible_response_file(cmd):CODE
LOWtools/building.py525def get_closure_compiler_and_env(user_args):CODE
LOWtools/building.py905def minify_wasm_imports_and_exports(js_file, wasm_file, minify_exports, debug_info):CODE
LOWtools/building.py1090def use_unsigned_pointers_in_js(js_file):CODE
LOWtools/building.py1100def instrument_js_for_safe_heap(js_file):CODE
LOWtools/building.py1197def get_binaryen_feature_flags():CODE
LOWtools/building.py1320def new_intermediate_filename(name):CODE
LOWtools/building.py1358def js_legalization_pass_flags():CODE
LOWtools/system_libs.py178def ensure_target_in_ninja_file(ninja_file, target):CODE
LOWtools/emscripten.py184def generate_js_compiler_input_hash(symbols_only=False):CODE
LOWtools/emscripten.py233def report_missing_exports_wasm_only(metadata):CODE
LOWtools/emscripten.py339def compile_javascript_cached():CODE
LOWtools/emscripten.py635def create_tsd_exported_runtime_methods(metadata):CODE
LOWtools/emscripten.py805def add_standard_wasm_imports(send_items_map):CODE
LOWtools/emscripten.py1127def create_pointer_conversion_wrappers(metadata):CODE
LOWtools/emscripten.py1144function applySignatureConversions(wasmExports) {CODE
LOWtools/cmdline.py630def expand_byte_size_suffixes(value):CODE
LOWtools/cmdline.py667 def parse_string_list_members(text):CODE
LOWtools/cmdline.py797def 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.py317def node_reference_types_flags(nodejs):CODE
LOWtools/shared.py450def llvm_tool_path_with_suffix(tool, suffix):CODE
LOWtools/minimal_runtime_shell.py16def generate_minimal_runtime_load_statement(target_basename):CODE
LOWtools/minimal_runtime_shell.py171def generate_minimal_runtime_html(target, options, js_target, target_basename):STRING
LOWtools/feature_matrix.py255def 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
858 more matches not shown…
Self-Referential Comments91 hits · 236 pts
SeverityFileLineSnippetContext
MEDIUMtools/config.py16# The following class can be overridden by the config file and/orCOMMENT
MEDIUMtools/js_manipulation.py137 # Create a try-catch guard that rethrows the Emscripten EH exception.STRING
MEDIUMtools/building.py1343 # Create a settings file with the current settings to pass to the JS preprocessorCOMMENT
MEDIUMtools/system_libs.py2591 # Create a version header based on the emscripten-version.txtSTRING
MEDIUMtools/system_libs.py2608 # Create a stamp file that signal that the headers have been installedSTRING
MEDIUMtools/emscripten.py564 # 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.py158 # Create a list of all known tests so that we can choose from them based on a wildcard searchCOMMENT
MEDIUMtest/test_core.py4941 # Create a dependency on __cxa_find_matching_catch_6 (6 = num clauses + 2)STRING
MEDIUMtest/common.py397 # Create the new test function. It calls the original function with the specified args.COMMENT
MEDIUMtest/test_sanity.py877 # Create a separate temporary cache folder to avoid dirtying or reading from the default cache.STRING
MEDIUMtest/test_other.py11849 # Create a static library that contains a reference to an undefined symbol: barSTRING
MEDIUMtest/test_other.py11947 # Create a library with no archive mapSTRING
MEDIUMtest/browser_common.py382# 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
31 more matches not shown…
AI Slop Vocabulary76 hits · 208 pts
SeverityFileLineSnippetContext
MEDIUMtools/link.py557 # Due to the aforementioned lack of knowledge about the static data size, we delegateCOMMENT
LOWtools/building.py359 # which is set at 8191 characters. We could just use that, but it leads toCOMMENT
LOWtools/system_libs.py119 # 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.py39 # If `total` if not in the json dict then just use the first key. This happens when only oneCOMMENT
LOWtest/clang_native.py76 # 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.py2089 # 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.py377 # No long lines found just return the unmodified outputCOMMENT
MEDIUMtest/test_fflush.html117 // application robust, you may want to override this behavior before shipping!COMMENT
MEDIUMtest/test_sockets.py79 # Poll a listening TCP address until it accepts a connection, so a harnessCOMMENT
MEDIUMtest/browser_common.py893 # 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
MEDIUMsystem/lib/libcxx/include/__iterator/iter_swap.h46 // NOLINTNEXTLINE(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUMsystem/lib/libcxx/include/__iterator/iter_swap.h56 // NOLINTBEGIN(libcpp-robust-against-adl) iter_swap ADL calls should only be made through ranges::iter_swapCOMMENT
MEDIUMsystem/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_swap ADL calls should only be made through ranges::iter_swapCOMMENT
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.h43 // NOLINTBEGIN(libcpp-robust-against-adl) strong_order should use ADL, but only hereCOMMENT
MEDIUMsystem/lib/libcxx/include/__compare/strong_order.h51 // NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMsystem/lib/libcxx/include/__locale_dir/num.h36// NOLINTBEGIN(libcpp-robust-against-adl)COMMENT
MEDIUMsystem/lib/libcxx/include/__locale_dir/num.h1068// NOLINTEND(libcpp-robust-against-adl)COMMENT
MEDIUMsystem/lib/libcxx/src/filesystem/operations.cpp280 // 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
MEDIUMsystem/lib/libc/musl/src/thread/pthread_mutex_trylock.c31#ifndef __EMSCRIPTEN__ // XXX Emscripten does not have a concept of multiple processes or kernel space, so robust mutex COMMENT
16 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 Nesting200 hits · 170 pts
SeverityFileLineSnippetContext
LOWemcc.py134CODE
LOWemcc.py363CODE
LOWemcc.py505CODE
LOWembuilder.py199CODE
LOWemrun.py319CODE
LOWemrun.py350CODE
LOWemrun.py756CODE
LOWemrun.py942CODE
LOWemrun.py1041CODE
LOWemrun.py1090CODE
LOWemrun.py1112CODE
LOWemrun.py1137CODE
LOWemrun.py1159CODE
LOWemrun.py1184CODE
LOWemrun.py1370CODE
LOWemrun.py1429CODE
LOWemrun.py1599CODE
LOWemrun.py455CODE
LOWemrun.py667CODE
LOWtools/link.py313CODE
LOWtools/link.py772CODE
LOWtools/link.py810CODE
LOWtools/link.py2579CODE
LOWtools/link.py2727CODE
LOWtools/link.py2981CODE
LOWtools/link.py3130CODE
LOWtools/link.py2620CODE
LOWtools/emprofile.py71CODE
LOWtools/extract_metadata.py264CODE
LOWtools/config.py80CODE
LOWtools/building.py153CODE
LOWtools/building.py647CODE
LOWtools/building.py805CODE
LOWtools/building.py1105CODE
LOWtools/system_libs.py193CODE
LOWtools/system_libs.py2342CODE
LOWtools/system_libs.py672CODE
LOWtools/system_libs.py688CODE
LOWtools/diagnostics.py69CODE
LOWtools/emscripten.py272CODE
LOWtools/emscripten.py300CODE
LOWtools/emscripten.py635CODE
LOWtools/emscripten.py854CODE
LOWtools/emscripten.py918CODE
LOWtools/emscripten.py956CODE
LOWtools/emscripten.py1127CODE
LOWtools/wasm-sourcemap.py399CODE
LOWtools/wasm-sourcemap.py500CODE
LOWtools/cmdline.py173CODE
LOWtools/cmdline.py198CODE
LOWtools/cmdline.py654CODE
LOWtools/cmdline.py667CODE
LOWtools/gen_struct_info.py172CODE
LOWtools/js_optimizer.py152CODE
LOWtools/filelock.py226CODE
LOWtools/webassembly.py316CODE
LOWtools/file_packager.py175CODE
LOWtools/file_packager.py351CODE
LOWtools/file_packager.py621CODE
LOWtools/feature_matrix.py224CODE
140 more matches not shown…
Hallucination Indicators10 hits · 120 pts
SeverityFileLineSnippetContext
CRITICALthird_party/socket.io.js2558 io.Transport.websocket.prototype.open.apply(self, args);CODE
CRITICALthird_party/socket.io.js2575 io.Transport.websocket.prototype.send.apply(self, args);CODE
CRITICALthird_party/socket.io.js2589 io.Transport.websocket.prototype.close.call(this);CODE
CRITICALthird_party/socket.io.js3386 return io.Transport.XHR.prototype.close.call(this);CODE
CRITICALthird_party/socket.io.js3500 io.Transport.XHR.prototype.open.call(self);CODE
CRITICALthird_party/socket.io.js3566 io.Transport.XHR.prototype.onClose.call(this);CODE
CRITICALsrc/lib/libproxyfs.js167 stream.nfd = stream.node.mount.opts.fs.open(path,stream.flags);CODE
CRITICALsrc/lib/libproxyfs.js175 stream.node.mount.opts.fs.close(stream.nfd);CODE
CRITICALsrc/lib/libproxyfs.js183 return stream.node.mount.opts.fs.read(stream.nfd, buffer, offset, length, position);CODE
CRITICALsrc/lib/libproxyfs.js191 return stream.node.mount.opts.fs.write(stream.nfd, buffer, offset, length, position);CODE
Excessive Try-Catch Wrapping76 hits · 72 pts
SeverityFileLineSnippetContext
MEDIUMemrun.py942def get_executable_version(filename):CODE
MEDIUMemrun.py973def get_browser_build_date(filename):CODE
MEDIUMemrun.py1041def get_computer_model():CODE
MEDIUMemrun.py1112def 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.py1064 except Exception:STRING
LOWemrun.py1085 except Exception as e:STRING
LOWemrun.py1100 except Exception:STRING
LOWemrun.py1108 except Exception:STRING
LOWemrun.py1132 except Exception:STRING
LOWemrun.py1336 except Exception:STRING
LOWemrun.py1366 except Exception:STRING
LOWemrun.py1387 except Exception:STRING
LOWemrun.py1393 except Exception as e:STRING
LOWemrun.py1438 except Exception:STRING
LOWemrun.py1441 except Exception:STRING
LOWemrun.py1796 except Exception as e:STRING
LOWtools/config.py89 except Exception as e:CODE
MEDIUMtools/building.py387def run_js_optimizer(filename, passes):CODE
LOWtools/building.py509 except Exception as e:CODE
LOWtools/building.py1145 except Exception as e:CODE
LOWtools/cmdline.py191 except Exception:CODE
LOWtools/cmdline.py780 except Exception as e:CODE
LOWtools/cache.py79 except Exception as e:CODE
LOWtools/shared.py305 except Exception as e:CODE
LOWtools/shared.py342 except Exception as e:CODE
LOWtools/shared.py519 except Exception as e:CODE
MEDIUMtools/shared.py302def check_node_version():CODE
MEDIUMtools/shared.py339def check_node():CODE
LOWtools/file_packager.py151 except Exception: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
MEDIUMtools/maint/gen_release_notes.py172 print(f'Error: Could not detect latest version from {changelog_path}', file=sys.stderr)CODE
MEDIUMtools/maint/gen_release_notes.py178 print(f'Error: Could not find changelog entry for version {version} in {changelog_path}', file=sys.stderr)CODE
MEDIUMtools/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.py585 except Exception:CODE
LOWtest/jsrun.py67 except Exception as e:CODE
LOWtest/jsrun.py110 except Exception:CODE
LOWtest/test_core.py8817 except Exception as e:CODE
LOWtest/test_core.py8545 except Exception:STRING
LOWtest/test_benchmark.py98 except Exception as e:CODE
LOWtest/test_benchmark.py427 except Exception:CODE
LOWtest/test_benchmark.py433 except Exception:CODE
LOWtest/test_browser.py1653 except Exception as e:STRING
16 more matches not shown…
Structural Annotation Overuse34 hits · 64 pts
SeverityFileLineSnippetContext
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/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
LOWsystem/lib/libcxx/src/ryu/f2s.cpp172 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWsystem/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
LOWsystem/lib/libcxx/src/ryu/d2s.cpp198 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWsystem/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
LOWsystem/lib/llvm-libc/src/math/generic/log2f.cpp24// Step 1 - Range reduction:COMMENT
LOWsystem/lib/llvm-libc/src/math/generic/log2f.cpp29// Step 2 - Another range reduction:COMMENT
LOWsystem/lib/llvm-libc/src/math/generic/log2f.cpp39// Step 3 - Polynomial approximation:COMMENT
LOWsystem/lib/llvm-libc/src/math/generic/logf.cpp26// Step 1 - Range reduction:COMMENT
LOWsystem/lib/llvm-libc/src/math/generic/logf.cpp31// Step 2 - Another range reduction:COMMENT
LOWsystem/lib/llvm-libc/src/math/generic/logf.cpp41// Step 3 - Polynomial approximation:COMMENT
LOWsystem/lib/llvm-libc/src/math/generic/log10f.cpp27// Step 1 - Range reduction:COMMENT
LOWsystem/lib/llvm-libc/src/math/generic/log10f.cpp32// Step 2 - Another range reduction:COMMENT
LOWsystem/lib/llvm-libc/src/math/generic/log10f.cpp42// Step 3 - Polynomial approximation:COMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h65 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h71 // Step 2: read blocksCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h76 // Step 3: find the zero in the blockCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h106 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h115 // Step 2: read blocksCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h122 // 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
Unused Imports58 hits · 58 pts
SeverityFileLineSnippetContext
LOW…s/scons/site_scons/site_tools/emscripten/emscripten.py7CODE
LOW…ols/scons/site_scons/site_tools/emscripten/__init__.py7CODE
LOW…ols/scons/site_scons/site_tools/emscripten/__init__.py7CODE
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
LOWsystem/lib/push_llvm_changes.py12CODE
LOWsystem/lib/update_musl.py21CODE
LOWsystem/lib/update_musl.py26CODE
LOWsystem/lib/update_llvm_libc.py8CODE
LOWsystem/lib/update_llvm_libc.py9CODE
LOWsystem/lib/update_llvm_libc.py12CODE
LOWsystem/lib/push_musl_changes.py11CODE
LOWsystem/lib/update_compiler_rt.py7CODE
LOWsystem/lib/update_compiler_rt.py9CODE
LOWsystem/lib/update_compiler_rt.py12CODE
LOWsystem/lib/update_libcxxabi.py8CODE
LOWsystem/lib/update_libcxxabi.py11CODE
LOWsystem/lib/update_libunwind.py8CODE
LOWsystem/lib/update_libunwind.py11CODE
LOWsystem/lib/update_libcxx.py13CODE
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
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
LOWsystem/lib/libcxx/src/ryu/f2s.cpp172 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWsystem/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
LOWsystem/lib/libcxx/src/ryu/d2s.cpp198 // Step 2: Determine the interval of valid decimal representations.COMMENT
LOWsystem/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.cpp115 // now we need to check if it has the right versionCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h65 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h71 // Step 2: read blocksCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h76 // Step 3: find the zero in the blockCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h106 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h115 // Step 2: read blocksCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_utils.h122 // 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.js210 // loop can run at a time. This variable stores the ordinal number of theCOMMENT
Slop Phrases21 hits · 35 pts
SeverityFileLineSnippetContext
LOWemrun.py1897 # Browser is no longer running, make sure to clean up the temp FirefoxSTRING
MEDIUMtest/test_browser.py5422 # you may want to adjust "ITERATIONS".STRING
MEDIUMtest/test_other.py3511 # 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/test_sockets.py203 # make sure to use different ports in each one because it takes a while for the processes to be cleaned upCOMMENT
LOWtest/browser_common.py368 # 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
MEDIUMsrc/settings.js1091// as mentioned earlier. If that is in a read-only directory, you may needCOMMENT
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.js196 // Convert to ArrayBuffer as requested by responseType.COMMENT
HIGHsrc/Fetch.js217 // Convert to ArrayBuffer as requested by responseTypeCOMMENT
TODO Padding13 hits · 21 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/bitmap.c372 // TODO: implement mi_bchunk_xsetNX instead of setNXCOMMENT
LOWsystem/lib/mimalloc/src/options.c623// TODO: implement ourselves to reduce dependencies on the C runtimeCOMMENT
LOWsystem/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.js1812 return; // TODO: implement this in a non-buggy way. Need to keep relative mouse movements correct after calling thisCODE
LOWsrc/lib/libglfw.js1617 // TODO: implementCOMMENT
LOWsrc/lib/libglfw.js1623 // TODO: implementCOMMENT
LOWsrc/lib/libglfw.js1626 // TODO: implementCOMMENT
Redundant / Tautological Comments16 hits · 20 pts
SeverityFileLineSnippetContext
LOWtest/common.py420 # Check if a member of the new class has _parameterize, the tag inserted by @parameterized.COMMENT
LOWtest/test_other.py3211 # Verify if the given file name contains a source mapSTRING
LOWtest/test_other.py15626 # 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
Fake / Example Data13 hits · 18 pts
SeverityFileLineSnippetContext
LOWtest/ascii_corpus.txt1Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOWtest/ascii_corpus.txt1Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOWtest/ascii_corpus.txt11Donec nec dui, in viverra tristique sapien. Suspendisse tincidunt consequat ante. Vestibulum ante ipsum primis in faucibCODE
LOWtest/ascii_corpus.txt13Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOWtest/ascii_corpus.txt13Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOWtest/ascii_corpus.txt23Donec nec dui, in viverra tristique sapien. Suspendisse tincidunt consequat ante. Vestibulum ante ipsum primis in faucibCODE
LOWtest/ascii_corpus.txt25Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOWtest/ascii_corpus.txt25Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Sed posuere interdum sem. Quisque ligula eros ullamcorper quisCODE
LOWtest/ascii_corpus.txt35Donec nec dui, in viverra tristique sapien. Suspendisse tincidunt consequat ante. Vestibulum ante ipsum primis in faucibCODE
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
AI Structural Patterns11 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/extract_metadata.py194CODE
LOWtools/js_manipulation.py152CODE
LOWtest/jsrun.py86CODE
LOWtest/common.py1201CODE
LOWtest/common.py1467CODE
LOWtest/test_benchmark.py481CODE
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
LOWtools/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