Repository Analysis

emscripten-core/emscripten

Emscripten: An LLVM-to-WebAssembly Compiler

7.1 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,580 GitHub stars. SynthScan v2.0 examined 1,828,416 lines of code across 10066 source files, recording 12398 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 7.1 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.1
Adjusted Score
7.1
Raw Score
100%
Time Factor
2026-08-28
Last Push
27.6K
Stars
C++
Language
1.8M
Lines of Code
10.1K
Files
12.4K
Pattern Hits
2026-08-29
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 4HIGH 204MEDIUM 526LOW 11664

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 12398 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 Block10270 hits · 9488 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.py701 # Increase the INITIAL_MEMORY and shift GLOBAL_BASE to account forCOMMENT
LOWtools/config.py201 # or the EM_CONFIG environment variable. If the specified string value containsCOMMENT
LOWtools/config.py221 if 'EM_CONFIG' in os.environ:COMMENT
LOWtools/building.py701 cmd += ['--js_output_file', os.path.relpath(outfile, tempfiles.tmpdir)]COMMENT
LOWtools/building.py721 shared.print_compiler_stage(cmd)COMMENT
LOWtools/building.py941 # otherwise, minify even the imported module names.COMMENT
LOWtools/building.py961 # ..COMMENT
LOWtools/building.py1081 embedded_path = utils.normalize_path(embedded_path)COMMENT
LOWtools/system_libs.py121 # object files such they come first. For example, `vmlock.o` contains theCOMMENT
LOWtools/system_libs.py361 # and left as None in an abstract library class, e.g. MTLibrary.COMMENT
LOWtools/system_libs.py1101COMMENT
LOWtools/system_libs.py1881 # halve the page size to 32KiB on wasm64 and to 16KiB on wasm32COMMENT
LOWtools/system_libs.py2601 utils.write_file(version_file, textwrap.dedent(f'''\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/feature_matrix.py121 # https://caniuse.com/wasm-extended-constCOMMENT
LOWtools/feature_matrix.py141# 'firefox': 79,COMMENT
LOWtools/feature_matrix.py161# 'chrome': 74,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
10210 more matches not shown…
Decorative Section Separators346 hits · 979 pts
SeverityFileLineSnippetContext
MEDIUMtools/shared.py620# ============================================================================COMMENT
MEDIUMtools/shared.py622# ============================================================================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.h45// ┌───────────────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h47// └─────────▲─────────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h49// ┌─────────┴─────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h51// └─────────▲─────────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h53// ┌────────────┴─────────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h55// ┌────────┴─────────┐ ┌──────────────┴──────────────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h57// └────────▲─────────┘ └──────────────▲──────────────────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h59// └────────────┬─────────────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h61// ┌───────┴───────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h63// └───────▲───────┘COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h65// ┌────────┴────────┐COMMENT
MEDIUMsystem/lib/llvm-libc/src/__support/FPUtil/FPBits.h66// ┌─────┴─────┐ ┌─────┴─────┐COMMENT
MEDIUMsystem/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.txt486# --------------------------------------------------------------------------------------------------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…
Hyper-Verbose Identifiers945 hits · 441 pts
SeverityFileLineSnippetContext
LOWemcc.py537 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.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.py771def setup_cross_origin_storage():CODE
LOWtools/link.py784def add_required_heap_symbols():CODE
LOWtools/link.py1004 def limit_incoming_module_api():CODE
LOWtools/link.py1861def phase_calculate_system_libraries():CODE
LOWtools/link.py2204def convert_line_endings_in_file(filename, to_eol):CODE
LOWtools/link.py2488def module_export_name_substitution():CODE
LOWtools/link.py2507def generate_traditional_runtime_html(target, js_target, wasm_target):CODE
LOWtools/link.py2850def filter_out_fake_dynamic_libs(inputs):STRING
LOWtools/link.py2863def filter_out_duplicate_fake_dynamic_libs(inputs):STRING
LOWtools/link.py2933def unmangle_symbols_from_cmdline(symbols):STRING
LOWtools/link.py3026def get_subresource_location_js(path):STRING
LOWtools/link.py3074def 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.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.py137def side_module_external_deps(external_symbols):CODE
LOWtools/building.py293def get_wasm_bindgen_exported_symbols(input_files):CODE
LOWtools/building.py382def get_command_with_possible_response_file(cmd):CODE
LOWtools/building.py547def get_closure_compiler_and_env(user_args):CODE
LOWtools/building.py935def minify_wasm_imports_and_exports(js_file, wasm_file, minify_exports, debug_info):CODE
LOWtools/building.py1120def use_unsigned_pointers_in_js(js_file):CODE
LOWtools/building.py1130def instrument_js_for_safe_heap(js_file):CODE
LOWtools/building.py1227def get_binaryen_feature_flags():CODE
LOWtools/building.py1351def new_intermediate_filename(name):CODE
LOWtools/building.py1389def js_legalization_pass_flags():CODE
LOWtools/system_libs.py179def 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.py1157def create_pointer_conversion_wrappers(metadata):CODE
LOWtools/emscripten.py1174function applySignatureConversions(wasmExports) {CODE
LOWtools/cmdline.py610def expand_byte_size_suffixes(value):CODE
LOWtools/cmdline.py647 def parse_string_list_members(text):CODE
LOWtools/cmdline.py777def 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.py323def node_reference_types_flags(nodejs):CODE
LOWtools/shared.py445def 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.py163def generate_minimal_runtime_html(target, js_target, target_basename):STRING
LOWtools/feature_matrix.py250def 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
885 more matches not shown…
Cross-Language Confusion83 hits · 431 pts
SeverityFileLineSnippetContext
HIGHtools/link.py2150 return "globalThis.process?.versions?.node && globalThis.process?.type != 'renderer'"CODE
HIGHtools/link.py2546 if (!window.WebAssembly || location.search.indexOf('_rwasm=0') > 0) {CODE
HIGHtools/link.py3204 # /dev/null, but that will take some refactoringSTRING
HIGHtools/file_packager.py644 if (isPthread || isWasmWorker) return;\n'''CODE
HIGHtools/file_packager.py647 ret += " var isNode = globalThis.process && globalThis.process.versions && globalThis.process.versions.node && glCODE
HIGHtools/file_packager.py700 await Module['FS_preloadFile'](name, null, data, true, true, false, true);CODE
HIGHtools/file_packager.py705 Module['FS_createDataFile'](name, null, data, true, true, true);'''CODE
HIGHtools/file_packager.py869 if (result && PACKAGE_UUID === result['uuid']) {CODE
HIGHtools/file_packager.py872 resolve(null);CODE
HIGHtools/file_packager.py902 chunks.push(event.target.result);CODE
HIGHtools/file_packager.py913 buffer = undefined;CODE
HIGHtools/file_packager.py915 chunks = undefined;CODE
HIGHtools/file_packager.py917 tempTyped = undefined;CODE
HIGHtools/file_packager.py960 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 += "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.py7175 ret = ccall('print_int', null, ['number'], [12]); out(typeof ret);CODE
HIGHtest/test_core.py7176 ret = ccall('print_float', null, ['number'], [14.56]); out(typeof ret);CODE
HIGHtest/test_core.py7177 ret = ccall('print_bool', null, ['boolean'], [true]); out(typeof ret);CODE
HIGHtest/test_core.py7178 ret = ccall('print_string', null, ['string'], ["cheez"]); out(typeof ret);CODE
HIGHtest/test_core.py7179 ret = ccall('print_string', null, ['array'], [[97, 114, 114, 45, 97, 121, 0]]); out(typeof ret); // JS arrayCODE
HIGHtest/test_core.py7180 ret = ccall('print_string', null, ['array'], [new Uint8Array([97, 114, 114, 45, 97, 121, 0])]); out(typeof ret); /CODE
HIGHtest/test_core.py7198 ccall('call_ccall_again', null);CODE
HIGHtest/test_core.py7212 var printBool = Module['cwrap']('print_bool', null, ['boolean']);CODE
HIGHtest/test_core.py3713 assert(okk && faill);CODE
HIGHtest/test_core.py5528 return test_files_input.charCodeAt(test_files_input_index++) || null;CODE
HIGHtest/test_core.py5543 stdin: () => { return data.pop() || null },CODE
HIGHtest/test_core.py8416 ccall('main', null, ['number', 'string'], [2, 'waka'], { async: true });CODE
HIGHtest/test_core.py8456 ccall('floatf', 'number', null, null, { async: true }).then(function(arg) {CODE
HIGHtest/test_core.py8648 create_file('b.out.js', 'WebAssembly = undefined;\n' + read_file('a.out.js'))STRING
HIGHtest/test_core.py9163 # the bug is that createModule() returns undefined, instead of theSTRING
HIGHtest/test_jslib.py203 assert.equal(exports.forceOnly, undefined);CODE
HIGHtest/test_jslib.py204 assert.equal(exports.unusedExport, undefined);CODE
HIGHtest/test_jslib.py235 return Module[name] !== undefined;CODE
HIGHtest/test_jslib.py491extraLibraryFuncs.push('jsfunc');CODE
HIGHtest/common.py1401 'a: loaded\na: b (prev: (null))\na: c (prev: b)\n', cflags=extra_args)STRING
HIGHtest/common.py1430 ''', 'a: loaded\na: b (prev: (null))\na: c (prev: b)\n', cflags=extra_args)STRING
HIGHtest/test_benchmark.py1186 files.push(x);CODE
HIGHtest/test_browser.py3626 SharedArrayBuffer = undefined;CODE
HIGHtest/test_browser.py3627 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.py1104 gamepads.push(gamepad)CODE
HIGHtest/test_browser.py2321 assert(e.toString().includes('Assertion failed')); // assertion, not something elseCODE
HIGHtest/test_browser.py2332 assert(e.toString().includes('Assertion failed')); // assertion, not something elseCODE
HIGHtest/test_browser.py2343 assert(e.toString().includes('Assertion failed')); // assertion, not something elseCODE
HIGHtest/test_browser.py2454 return preloadedWasm['/library.so'] !== undefined;CODE
HIGHtest/test_browser.py4053 if (e.error && e.error.message.includes('unreachable'))CODE
HIGHtest/test_browser.py1833 create_file('remove_setimmediate.js', 'globalThis.setImmediate = undefined;')STRING
HIGHtest/test_browser.py1588 buffer.push(v);STRING
HIGHtest/test_browser.py1605 Module.printErr = (s) => { self.postMessage({channel: "stderr", char: s, trace: ((doTrace && s === 10) ? new ErrorSTRING
HIGHtest/test_browser.py1605 Module.printErr = (s) => { self.postMessage({channel: "stderr", char: s, trace: ((doTrace && s === 10) ? new ErrorSTRING
23 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.py1374 # Create a settings file with the current settings to pass to the JS preprocessorCOMMENT
MEDIUMtools/system_libs.py2599 # Create a version header based on the emscripten-version.txtSTRING
MEDIUMtools/system_libs.py2616 # Create a stamp file that signal that the headers have been installedSTRING
MEDIUMtools/emscripten.py578 # 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.py160 # Create a list of all known tests so that we can choose from them based on a wildcard searchCOMMENT
MEDIUMtest/test_core.py4949 # Create a dependency on __cxa_find_matching_catch_6 (6 = num clauses + 2)STRING
MEDIUMtest/common.py399 # Create the new test function. It calls the original function with the specified args.COMMENT
MEDIUMtest/test_sanity.py939 # Create a separate temporary cache folder to avoid dirtying or reading from the default cache.STRING
MEDIUMtest/test_other.py11989 # Create a static library that contains a reference to an undefined symbol: barSTRING
MEDIUMtest/test_other.py12087 # 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.py532 # Due to the aforementioned lack of knowledge about the static data size, we delegateCOMMENT
LOWtools/building.py387 # which is set at 8191 characters. We could just use that, but it leads toCOMMENT
LOWtools/system_libs.py120 # 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.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.py2099 # 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.py379 # 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/sockets_common.py70 # Poll a listening TCP port 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_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
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 Nesting197 hits · 168 pts
SeverityFileLineSnippetContext
LOWemcc.py135CODE
LOWemcc.py383CODE
LOWemcc.py525CODE
LOWembuilder.py204CODE
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.py747CODE
LOWtools/link.py820CODE
LOWtools/link.py2571CODE
LOWtools/link.py2723CODE
LOWtools/link.py2977CODE
LOWtools/link.py3126CODE
LOWtools/link.py2616CODE
LOWtools/emprofile.py71CODE
LOWtools/extract_metadata.py264CODE
LOWtools/config.py88CODE
LOWtools/building.py158CODE
LOWtools/building.py673CODE
LOWtools/building.py831CODE
LOWtools/building.py1135CODE
LOWtools/system_libs.py194CODE
LOWtools/system_libs.py2348CODE
LOWtools/system_libs.py673CODE
LOWtools/system_libs.py689CODE
LOWtools/diagnostics.py69CODE
LOWtools/emscripten.py276CODE
LOWtools/emscripten.py304CODE
LOWtools/emscripten.py649CODE
LOWtools/emscripten.py875CODE
LOWtools/emscripten.py939CODE
LOWtools/emscripten.py979CODE
LOWtools/emscripten.py1157CODE
LOWtools/wasm-sourcemap.py399CODE
LOWtools/wasm-sourcemap.py500CODE
LOWtools/cmdline.py177CODE
LOWtools/cmdline.py202CODE
LOWtools/cmdline.py634CODE
LOWtools/cmdline.py647CODE
LOWtools/gen_struct_info.py172CODE
LOWtools/js_optimizer.py152CODE
LOWtools/filelock.py226CODE
LOWtools/webassembly.py316CODE
LOWtools/file_packager.py174CODE
LOWtools/file_packager.py350CODE
LOWtools/file_packager.py620CODE
LOWtools/empath-split.py120CODE
LOWtools/empath-split.py170CODE
137 more matches not shown…
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.py100 except Exception as e:CODE
MEDIUMtools/building.py415def run_js_optimizer(filename, passes):CODE
LOWtools/building.py531 except Exception as e:CODE
LOWtools/building.py1175 except Exception as e:CODE
LOWtools/cmdline.py195 except Exception:CODE
LOWtools/cmdline.py760 except Exception as e:CODE
LOWtools/cache.py79 except Exception as e:CODE
LOWtools/shared.py311 except Exception as e:CODE
LOWtools/shared.py337 except Exception as e:CODE
LOWtools/shared.py514 except Exception as e:CODE
MEDIUMtools/shared.py308def check_node_version():CODE
MEDIUMtools/shared.py334def check_node():CODE
LOWtools/file_packager.py150 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.py587 except Exception:CODE
LOWtest/jsrun.py67 except Exception as e:CODE
LOWtest/jsrun.py110 except Exception:CODE
LOWtest/test_core.py8812 except Exception as e:CODE
LOWtest/test_core.py8540 except Exception:STRING
LOWtest/test_benchmark.py98 except Exception as e:CODE
LOWtest/test_benchmark.py428 except Exception:CODE
LOWtest/test_benchmark.py434 except Exception:CODE
LOWtest/test_browser.py1621 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_length.h124 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_length.h130 // Step 2: read blocksCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_length.h135 // Step 3: find the zero in the blockCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_length.h159 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_length.h168 // Step 2: read blocksCOMMENT
LOWsystem/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
Hallucination Indicators4 hits · 60 pts
SeverityFileLineSnippetContext
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
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.cpp93 // now we need to check if it has the right versionCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_length.h124 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_length.h130 // Step 2: read blocksCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_length.h135 // Step 3: find the zero in the blockCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_length.h159 // Step 1: read 1 byte at a time to align to block sizeCOMMENT
LOWsystem/lib/llvm-libc/src/string/string_length.h168 // Step 2: read blocksCOMMENT
LOWsystem/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.js214 // 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 Phrases21 hits · 36 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
MEDIUMtest/test_browser.py5399 # you may want to adjust "ITERATIONS".STRING
MEDIUMtest/test_other.py3578 # 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.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.js1076// 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
Fake / Example Data17 hits · 22 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
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
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.c628// 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.js1778 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.py422 # Check if a member of the new class has _parameterize, the tag inserted by @parameterized.COMMENT
LOWtest/test_other.py3256 # Verify if the given file name contains a source mapSTRING
LOWtest/test_other.py15901 # 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
AI Structural Patterns12 hits · 10 pts
SeverityFileLineSnippetContext
LOWtools/extract_metadata.py194CODE
LOWtools/js_manipulation.py152CODE
LOWtest/jsrun.py86CODE
LOWtest/common.py1192CODE
LOWtest/common.py1460CODE
LOWtest/test_benchmark.py482CODE
LOWtest/test_sanity.py573CODE
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