Repository Analysis

sumatrapdfreader/sumatrapdf

SumatraPDF reader

2.7 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of sumatrapdfreader/sumatrapdf, a C project with 17,092 GitHub stars. SynthScan v2.0 examined 2,411,122 lines of code across 4933 source files, recording 5499 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 2.7 places this repository in the Likely human-written 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).

2.7
Adjusted Score
2.7
Raw Score
100%
Time Factor
2026-07-12
Last Push
17.1K
Stars
C
Language
2.4M
Lines of Code
4.9K
Files
5.5K
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 2HIGH 113MEDIUM 349LOW 5035

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 5499 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 Block4724 hits · 4574 pts
SeverityFileLineSnippetContext
LOWtools/bin2coff.c61#define IMAGE_FILE_MACHINE_I386 0x014cCOMMENT
LOWtools/bin2coff.c81#define IMAGE_FILE_BYTES_REVERSED_HI 0x8000 /* Obsolete */COMMENT
LOWtools/bin2coff.c101#define IMAGE_SCN_MEM_LOCKED 0x00040000 /* Reserved */COMMENT
LOWtools/bin2coff.c121#define IMAGE_SCN_MEM_NOT_PAGED 0x08000000COMMENT
LOWtools/bin2coff.c141#define IMAGE_SYM_TYPE_UNION 0x0009COMMENT
LOWtools/bin2coff.c161#define IMAGE_SYM_CLASS_EXTERNAL_DEF 0x05COMMENT
LOWtools/sizer/pdbfile.cpp1// Executable size report utility.COMMENT
LOWtools/sizer/debuginfo.hpp1// Executable size report utility.COMMENT
LOWtools/sizer/types.hpp1// Executable size report utility.COMMENT
LOWext/mupdf_load_system_font.c1// this file is compiled as part of mupdf library and ends upCOMMENT
LOWext/libheif/libheif/error.h21#ifndef LIBHEIF_ERROR_HCOMMENT
LOWext/libheif/libheif/box.h21#ifndef LIBHEIF_BOX_HCOMMENT
LOWext/libheif/libheif/common_utils.h21#ifndef LIBHEIF_COMMON_UTILS_HCOMMENT
LOWext/libheif/libheif/file.h21#ifndef LIBHEIF_FILE_HCOMMENT
LOWext/libheif/libheif/security_limits.h41COMMENT
LOWext/libheif/libheif/context.h21#ifndef LIBHEIF_CONTEXT_HCOMMENT
LOWext/libheif/libheif/bitstream.h21#ifndef LIBHEIF_BITSTREAM_HCOMMENT
LOWext/libheif/libheif/brands.h21#ifndef LIBHEIF_BRANDS_HCOMMENT
LOWext/libheif/libheif/codecs/avif_boxes.h21#ifndef HEIF_AVIF_BOXES_HCOMMENT
LOWext/libheif/libheif/codecs/jpeg2000_enc.h21#ifndef HEIF_ENCODER_JPEG2000_HCOMMENT
LOWext/libheif/libheif/codecs/avc_enc.h21#ifndef HEIF_ENCODER_AVC_HCOMMENT
LOWext/libheif/libheif/codecs/decoder.h21#ifndef HEIF_DECODER_HCOMMENT
LOWext/libheif/libheif/codecs/decoder.h101COMMENT
LOWext/libheif/libheif/codecs/vvc_enc.h21#ifndef HEIF_ENCODER_VVC_HCOMMENT
LOWext/libheif/libheif/codecs/jpeg2000_dec.h21#ifndef HEIF_JPEG2000_DEC_HCOMMENT
LOWext/libheif/libheif/codecs/avif_enc.h21#ifndef HEIF_ENCODER_AVIF_HCOMMENT
LOWext/libheif/libheif/codecs/jpeg_enc.h21#ifndef HEIF_ENCODER_JPEG_HCOMMENT
LOWext/libheif/libheif/codecs/hevc_enc.h21#ifndef HEIF_ENCODER_HEVC_HCOMMENT
LOWext/libheif/libheif/codecs/uncompressed/unc_enc.h21#ifndef HEIF_ENCODER_UNCOMPRESSED_HCOMMENT
LOWext/libheif/libheif/codecs/uncompressed/unc_codec.h21COMMENT
LOWext/libheif/libheif/codecs/uncompressed/unc_boxes.h21COMMENT
LOW…f/libheif/codecs/uncompressed/unc_decoder_legacybase.h21#ifndef LIBHEIF_UNC_DECODER_LEGACYBASE_HCOMMENT
LOWext/libheif/libheif/image/pixelimage.h201 // auto-minted ids via the public C API (heif_image_add_plane_safe), butCOMMENT
LOWext/libheif/libheif/image/image_description.h21#ifndef LIBHEIF_IMAGE_DESCRIPTION_HCOMMENT
LOWext/libheif/libheif/image/image_description.h441 return m_omaf_image_projection;COMMENT
LOWext/libheif/libheif/api/libheif/heif_export.h21#ifndef LIBHEIF_HEIF_EXPORT_HCOMMENT
LOWext/libheif/libheif/api/libheif/heif_export.h41#elseCOMMENT
LOWext/libheif/libheif/api/libheif/heif_plugin.h21#ifndef LIBHEIF_HEIF_PLUGIN_HCOMMENT
LOWext/libheif/libheif/api/libheif/heif_plugin.h41// 1.1 1 1 1COMMENT
LOWext/libheif/libheif/api/libheif/heif.h21#ifndef LIBHEIF_HEIF_HCOMMENT
LOWext/libheif/libheif/api/libheif/heif_omaf.h21COMMENT
LOWext/libheif/libheif/api/libheif/heif_color.h281// target brightness light level of the pictures. The bounds are definedCOMMENT
LOWext/libheif/libheif/api/libheif/heif_color.h321// --- mastering display colour volume ---COMMENT
LOWext/libheif/libheif/api/libheif/heif_color.h341 uint16_t display_primaries_y[3];COMMENT
LOWext/libheif/libheif/api/libheif/heif_emscripten.h1#ifndef LIBHEIF_BOX_EMSCRIPTEN_HCOMMENT
LOWext/libheif/libheif/api/libheif/heif_components.h121heif_component_datatype heif_image_get_component_datatype(const heif_image*, uint32_t component_id);COMMENT
LOWext/libheif/libheif/api/libheif/heif_brands.h301// Returns one of these MIME types:COMMENT
LOWext/libheif/libheif/api/libheif/heif_encoding.h21#ifndef LIBHEIF_HEIF_ENCODING_HCOMMENT
LOWext/libheif/libheif/api/libheif/heif_library.h21#ifndef LIBHEIF_HEIF_LIBRARY_HCOMMENT
LOWext/libheif/libheif/api/libheif/heif_library.h41// 1.9.2 2 2 1 1 1 1COMMENT
LOWext/libheif/libheif/api/libheif/heif_decoding.h21#ifndef LIBHEIF_HEIF_DECODING_HCOMMENT
LOWext/libheif/libheif/api/libheif/heif_decoding.h121 //COMMENT
LOWext/libheif/libheif/api/libheif/heif_decoding.h141 //COMMENT
LOWext/libheif/libheif/api/libheif/heif_properties.h221 uint32_t bayer_component_id,COMMENT
LOWext/libheif/libheif/api/libheif/heif_properties.h261COMMENT
LOWext/libheif/libheif/api/libheif/heif_image.h21#ifndef LIBHEIF_HEIF_IMAGE_HCOMMENT
LOWext/libheif/libheif/api/libheif/heif_image.h41// - heif_colorspace_filter_array (single CFA mosaic plane)COMMENT
LOWext/libheif/libheif/api/libheif/heif_image.h81COMMENT
LOWext/libheif/libheif/api/libheif/heif_image_handle.h21#ifndef LIBHEIF_HEIF_IMAGE_HANDLE_HCOMMENT
LOWext/libheif/libheif/api/libheif/heif_image_handle.h81// Returns -1 on error, e.g. if this information is not present in the image.COMMENT
4664 more matches not shown…
Decorative Section Separators176 hits · 510 pts
SeverityFileLineSnippetContext
MEDIUMcmd/build-with-mingw.ts346// ── System libraries for final link ─────────────────────────────────────────COMMENT
MEDIUMcmd/build-with-mingw.ts377// ── Build SumatraPDF main executable sources ────────────────────────────────COMMENT
MEDIUMcmd/build-with-mingw.ts454 // ── Compile _com_util stub (mingw doesn't ship comsuppw.lib) ─────────COMMENT
MEDIUMcmd/build-with-mingw.ts533 // ── Embed font files ──────────────────────────────────────────────────COMMENT
MEDIUMcmd/build-with-mingw.ts548 // ── Compile .rc resource file ─────────────────────────────────────────COMMENT
MEDIUMcmd/build-with-mingw.ts577 // ── Link ──────────────────────────────────────────────────────────────COMMENT
MEDIUMcmd/build-with-mingw.ts608// ── Top-level build functions ───────────────────────────────────────────────COMMENT
MEDIUMcmd/build-with-mingw.ts698// ── Main ────────────────────────────────────────────────────────────────────COMMENT
MEDIUMcmd/build-lib-defs.ts3// ── Library definitions ─────────────────────────────────────────────────────COMMENT
MEDIUMext/lcms2/ltmain.sh157# --------------COMMENT
MEDIUMext/lcms2/ltmain.sh183# ----------------------COMMENT
MEDIUMext/lcms2/ltmain.sh192# --------------------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh378# ---------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh523# -------------------COMMENT
MEDIUMext/lcms2/ltmain.sh572# ---------------------COMMENT
MEDIUMext/lcms2/ltmain.sh618# ----------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh641# --------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh665# ------------------COMMENT
MEDIUMext/lcms2/ltmain.sh689# ------------------COMMENT
MEDIUMext/lcms2/ltmain.sh722# -------------------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh734# --------------------------------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh755# ----------------COMMENT
MEDIUMext/lcms2/ltmain.sh774# --------------------COMMENT
MEDIUMext/lcms2/ltmain.sh783# ------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh819# -----------------COMMENT
MEDIUMext/lcms2/ltmain.sh832# -----------------------COMMENT
MEDIUMext/lcms2/ltmain.sh844# -----------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh855# ---------------COMMENT
MEDIUMext/lcms2/ltmain.sh881# ---------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh929# -------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh967# ------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1057# --------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1073# --------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1138# ----------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1218# -----------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1253# ------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1264# ----------------COMMENT
MEDIUMext/lcms2/ltmain.sh1317# ------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1338# ---------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1368# -----------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1393# ------------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1422# ----------COMMENT
MEDIUMext/lcms2/ltmain.sh1443# -------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1456# -----------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1469# ----------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1494# -----------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1511# ---------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1640# -----------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1652# ---------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1669# ------------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1681# ---------------------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1699# ---------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1810# ----------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1822# ---------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1855# --------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1876# ---------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh1993# ------------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh2022# ----------------------COMMENT
MEDIUMext/lcms2/ltmain.sh2050# ------------------------COMMENT
MEDIUMext/lcms2/ltmain.sh2063# ------------------------COMMENT
116 more matches not shown…
Cross-Language Confusion (JS/TS)60 hits · 371 pts
SeverityFileLineSnippetContext
HIGHtests/issue-5665.js5print("got1:[" + a + "]");CODE
HIGHtests/issue-5665.js6print("got2:[" + b + "]");CODE
HIGHmupdf/docs/examples/pdf-extract-rich-media.js4 print("usage: mutool run pdf-extract-rich-media.js input.pdf [index filename]");CODE
HIGHmupdf/docs/examples/pdf-extract-rich-media.js5 print(" List embedded rich media, or extract an embedded rich media file from a PDF document.")CODE
HIGHmupdf/docs/examples/pdf-extract-rich-media.js54 print(idx, name.asString());CODE
HIGHmupdf/docs/examples/pdf-extract-rich-media.js55 print("\tFilename:", fileNameFromFS(fs));CODE
HIGHmupdf/docs/examples/pdf-extract-rich-media.js57 print("\tDescription:", fs.Desc.asString());CODE
HIGHmupdf/docs/examples/pdf-extract-rich-media.js66 print("Saving embedded file", idx, "as:", scriptArgs[2]);CODE
HIGHmupdf/docs/examples/copy-outline.js6 print("usage: mutool run copy-outline.js a.xps b.pdf output.pdf");CODE
HIGHmupdf/docs/examples/trace-device.js14 print("beginSpan",f,m,wmode,bidi,dir,repr(lang));CODE
HIGHmupdf/docs/examples/trace-device.js22 print("fillPath", evenOdd, ctm, colorSpace, color, alpha)CODE
HIGHmupdf/docs/examples/trace-device.js26 print("clipPath", evenOdd, ctm)CODE
HIGHmupdf/docs/examples/trace-device.js30 print("strokePath", Q(stroke), ctm, colorSpace, color, alpha)CODE
HIGHmupdf/docs/examples/trace-device.js34 print("clipStrokePath", Q(stroke), ctm)CODE
HIGHmupdf/docs/examples/trace-device.js39 print("fillText", ctm, colorSpace, color, alpha)CODE
HIGHmupdf/docs/examples/trace-device.js43 print("clipText", ctm)CODE
HIGHmupdf/docs/examples/trace-device.js47 print("strokeText", Q(stroke), ctm, colorSpace, color, alpha)CODE
HIGHmupdf/docs/examples/trace-device.js51 print("clipStrokeText", Q(stroke), ctm)CODE
HIGHmupdf/docs/examples/trace-device.js55 print("ignoreText", ctm)CODE
HIGHmupdf/docs/examples/trace-device.js60 print("fillShade", shade, ctm, alpha)CODE
HIGHmupdf/docs/examples/trace-device.js63 print("fillImage", image, ctm, alpha)CODE
HIGHmupdf/docs/examples/trace-device.js66 print("fillImageMask", image, ctm, colorSpace, color, alpha)CODE
HIGHmupdf/docs/examples/trace-device.js69 print("clipImageMask", image, ctm)CODE
HIGHmupdf/docs/examples/trace-device.js73 print("beginMask", area, luminosity, colorspace, color)CODE
HIGHmupdf/docs/examples/trace-device.js76 print("endMask")CODE
HIGHmupdf/docs/examples/trace-device.js80 print("popClip")CODE
HIGHmupdf/docs/examples/trace-device.js84 print("beginGroup", area, isolated, knockout, blendmode, alpha)CODE
HIGHmupdf/docs/examples/trace-device.js87 print("endGroup")CODE
HIGHmupdf/docs/examples/trace-device.js90 print("beginTile", area, view, xstep, ystep, ctm, id)CODE
HIGHmupdf/docs/examples/trace-device.js94 print("endTile")CODE
HIGHmupdf/docs/examples/trace-device.js97 print("beginLayer", name)CODE
HIGHmupdf/docs/examples/trace-device.js100 print("endLayer")CODE
HIGHmupdf/docs/examples/trace-device.js103 print("beginStructure", structure, raw, uiw)CODE
HIGHmupdf/docs/examples/trace-device.js106 print("endStructure")CODE
HIGHmupdf/docs/examples/trace-device.js109 print("beginMetatext", meta, metatext)CODE
HIGHmupdf/docs/examples/trace-device.js112 print("endMetatext")CODE
HIGHmupdf/docs/examples/trace-device.js116 print("renderFlags", set, clear)CODE
HIGHmupdf/docs/examples/trace-device.js119 print("setDefaultColorSpaces", colorSpaces.getDefaultGray(),CODE
HIGHmupdf/docs/examples/trace-device.js125 print("close")CODE
HIGHmupdf/docs/examples/trace-device.js130 print("usage: mutool run trace-device.js document.pdf pageNumber")CODE
HIGHmupdf/docs/examples/pdf-merge.js36 print("usage: mutool run pdf-merge.js output.pdf input1.pdf input2.pdf ...")CODE
HIGHmupdf/docs/examples/pdf-trace.js39 print("/"+name, "gs");CODE
HIGHmupdf/docs/examples/pdf-trace.js41 print("%", k, v);CODE
HIGHmupdf/docs/examples/pdf-trace.js93 print("[" + showArray(text) + "] TJ")CODE
HIGHmupdf/docs/examples/jpx-to-pdf.js32 print("usage: mutool run jpx-to-pdf.js file.jpx ...");CODE
HIGHmupdf/docs/examples/pdf-dejpx.js28 print("Loading JPX image:", i)CODE
HIGHmupdf/docs/examples/pdf-dejpx.js43 print("Decompressed image:", i);CODE
HIGHmupdf/docs/examples/import-fdf.js10 print("usage: mutool run import-fdf.js file.pdf data.fdf output.pdf")CODE
HIGHmupdf/docs/examples/pdf-portfolio.js4 print("usage: mutool run pdf-portfolio.js input.pdf [index filename]");CODE
HIGHmupdf/docs/examples/pdf-portfolio.js5 print(" List embedded files, or extract an embedded file from a PDF document.")CODE
HIGHmupdf/docs/examples/pdf-portfolio.js12 print("Document has no embedded files!");CODE
HIGHmupdf/docs/examples/pdf-portfolio.js45 print(idx, name.asString());CODE
HIGHmupdf/docs/examples/pdf-portfolio.js46 print("\tFilename:", fileNameFromFS(fs));CODE
HIGHmupdf/docs/examples/pdf-portfolio.js48 print("\tDescription:", fs.Desc.asString());CODE
HIGHmupdf/docs/examples/pdf-portfolio.js57 print("Saving embedded file", idx, "as:", scriptArgs[2]);CODE
HIGHmupdf/docs/examples/fix-s22pdf.js4 print("usage: mutool run fix-s22pdf.js input.pdf output.pdf");CODE
HIGHmupdf/docs/examples/reconvert-cmyk.js7 print("usage: mutool run recolor-cmyk.js input.png output.png")CODE
HIGHmupdf/docs/examples/bbox-device.js83 print("usage: mutool run bbox-device.js document.pdf pageNumber")CODE
HIGHmupdf/docs/examples/bbox-device.js89 print("original bbox:", page.getBounds());CODE
HIGHmupdf/docs/examples/bbox-device.js90 print("computed bbox:", bbox.map(function (x) { return Math.round(x); }));CODE
AI Slop Vocabulary126 hits · 369 pts
SeverityFileLineSnippetContext
MEDIUMext/libdjvu/MMRDecoder.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/IFFByteStream.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuErrorList.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuGlobal.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GIFFManager.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuToPS.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVmNav.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GRect.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/JB2EncodeCodec.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuFileCache.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/XMLTags.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuDocEditor.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GContainer.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuGlobal.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/IW44EncodeCodec.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuPalette.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/debug.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuErrorList.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GScaler.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuImage.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/XMLParser.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVmDoc.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GScaler.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuImage.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GURL.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuDumpHelper.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuMessageLite.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVmNav.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/MMX.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVmDir0.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/ddjvuapi.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/IW44Image.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GUnicode.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/JPEGDecoder.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/MMX.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GMapAreas.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuNavDir.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVmDir0.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVmDir.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GThreads.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DataPool.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVmDir.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/JB2Image.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/BSByteStream.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuAnno.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuAnno.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GException.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuMessage.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/JPEGDecoder.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/XMLTags.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GIFFManager.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuInfo.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuDocument.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuText.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuDumpHelper.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/BSEncodeByteStream.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DataPool.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuInfo.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/GThreads.h47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
MEDIUMext/libdjvu/DjVuPort.cpp47//C- | any greater extent that may be necessary to utilize furtherCOMMENT
66 more matches not shown…
Cross-Language Confusion39 hits · 152 pts
SeverityFileLineSnippetContext
HIGHcmd/scripts/gen_htmlparserlookup.py106 output.append(' if (%d == len && CS%d(%s) == STR%di(name + 4)) return %s;' %STRING
HIGHcmd/scripts/gen_htmlparserlookup.py109 output.append(' if (%d == len && str::EqNI(name + 4, "%s", %d)) return %s;' %STRING
HIGHext/freetype/src/tools/glnames.py5387 if ( name == 0 || name >= limit )CODE
HIGHext/harfbuzz/src/gen-tag-table.py978 print (' tags.push(%s); // %s' % (hb_tag_rust (tags[0]), ot.names[tags[0]]))CODE
HIGHext/harfbuzz/src/gen-tag-table.py1019 print (' tags.push(%s); // %s' % (hb_tag_rust (tags[0]), ot.names[tags[0]]))CODE
HIGHext/harfbuzz/src/gen-tag-table.py1235print (" if (!p || p >= limit || limit - p < %i) goto out;" % min_subtag_len)CODE
HIGHext/harfbuzz/src/gen-tag-table.py1263 print (' for (i = 0; i < %s && i < *count; i++)' % len (tags))CODE
HIGHext/harfbuzz/src/gen-tag-table.py1315 print (' for (i = 0; i < %s && i < *count; i++)' % len (tags))CODE
HIGHext/harfbuzz/src/gen-vowel-constraints.py308 print (' for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;)')CODE
HIGHmupdf/scripts/jlib.py1532 >>> system('echo hello c && false', prefix='foo:', out='return', env_extra=dict(FOO='bar qwerty'))STRING
HIGHmupdf/scripts/jlib.py1534 Exception: Command failed: FOO='bar qwerty' echo hello c && falseSTRING
HIGHmupdf/scripts/jlib.py1808 f'cd {directory} && git show --pretty=oneline|head -n 1 && git diff',CODE
HIGHmupdf/scripts/pipcl.py252 ... f'. pipcl_test/pylocal/bin/activate && pip install pipcl_test/dist/*.whl',STRING
HIGHmupdf/scripts/pipcl.py257 ... f'. pipcl_test/pylocal/bin/activate && foo_cli',STRING
HIGHmupdf/scripts/wrap/make_cppyy.py561 # (where fz_parse_page_range() returns null).STRING
HIGHmupdf/scripts/wrap/make_cppyy.py564 # returns null, so we can detect whether null was returned bySTRING
HIGHmupdf/scripts/wrap/cpp.py5189 assert(offset >= 0 && offset < 1000);CODE
HIGHmupdf/scripts/wrap/cpp.py5190 assert(m_size == 32 || m_size == 16 || m_size == 8 || m_size == -1);CODE
HIGHmupdf/scripts/wrap/cpp.py5263 if ( n && refs < n)CODE
HIGHmupdf/scripts/wrap/classes.py1404 return trueCODE
HIGHmupdf/scripts/wrap/classes.py1915 comment = '/* Default constructor sets .text to null, .type to PDF_LAYER_UI_LABEL, and other fieSTRING
HIGHmupdf/scripts/wrap/parse.py330 # .up member is null, so we don't attempt toCOMMENT
HIGHmupdf/scripts/wrap/swig.py1571 # text) does not work - results in "(null)" being output.)COMMENT
HIGHmupdf/scripts/wrap/swig.py795 if (1 || g_mupdf_trace_director)CODE
HIGHmupdf/scripts/wrap/__main__.py2642 system( 'rm pyproject.toml || true')STRING
HIGHmupdf/scripts/wrap/__main__.py2643 system( 'ls -l pyproject.toml || true')STRING
HIGHmupdf/scripts/wrap/__main__.py2645 '(rm -r pylocal-multi wheels || true)'STRING
HIGHmupdf/scripts/wrap/__main__.py2652 system( '. pylocal-multi/bin/activate && pip install --upgrade pip')STRING
HIGHmupdf/scripts/wrap/__main__.py2654 system( '. pylocal-multi/bin/activate && pip install check-wheel-contents')STRING
HIGHmupdf/scripts/wrap/__main__.py2655 system( '. pylocal-multi/bin/activate && pip wheel --wheel-dir wheels dist/*STRING
HIGHmupdf/scripts/wrap/__main__.py2656 system( '. pylocal-multi/bin/activate && check-wheel-contents wheels/*')STRING
HIGHmupdf/scripts/wrap/__main__.py2657 system( '. pylocal-multi/bin/activate && pip install wheels/*')STRING
HIGHmupdf/scripts/wrap/__main__.py2659 system( '. pylocal-multi/bin/activate && pip install dist/*')STRING
HIGHmupdf/scripts/wrap/__main__.py2661 system( '. pylocal-multi/bin/activate && python -m mupdf')STRING
HIGHmupdf/scripts/wrap/__main__.py2351 f'cd {out_dir}/python && python -m pydoc -w {input_relpath}',STRING
HIGHmupdf/scripts/wrap/__main__.py2624 system( '(rm -r pylocal-multi dist || true)')STRING
HIGHmupdf/scripts/wrap/__main__.py2994 f'cd ../PyMuPDF/tests && py.test-3 {opts}',STRING
HIGHmupdf/scripts/wrap/__main__.py3004 f'cd ../PyMuPDF/tests && py.test-3 {opts} {script}',STRING
HIGHmupdf/scripts/wrap/__main__.py3018 f'cd ../PyMuPDF/tests && py.test-3 {opts} {tests}',STRING
Deep Nesting94 hits · 88 pts
SeverityFileLineSnippetContext
LOWcmd/scripts/SquareTree.py33CODE
LOWcmd/scripts/gen_htmlparserlookup.py89CODE
LOWcmd/scripts/metadata/gen_txt.py164CODE
LOWtools/gen_caption_glyphs.py49CODE
LOWtools/efi/efiparse.py390CODE
LOWext/freetype/src/tools/make_distribution_archives.py33CODE
LOWext/brotli/research/brotlidump.py24CODE
LOWext/brotli/research/brotlidump.py1216CODE
LOWext/brotli/research/brotlidump.py1387CODE
LOWext/brotli/research/brotlidump.py1460CODE
LOWext/brotli/research/brotlidump.py1783CODE
LOWext/brotli/python/tests/decompressor_test.py43CODE
LOW…i/scripts/dictionary/step-04-generate-java-literals.py56CODE
LOWext/harfbuzz/src/justify.py164CODE
LOWext/harfbuzz/src/gen-arabic-table.py150CODE
LOWext/harfbuzz/src/gen-tag-table.py1345CODE
LOWext/harfbuzz/src/gen-tag-table.py360CODE
LOWext/harfbuzz/src/gen-tag-table.py424CODE
LOWext/harfbuzz/src/gen-tag-table.py473CODE
LOWext/harfbuzz/src/gen-tag-table.py571CODE
LOWext/harfbuzz/src/gen-vowel-constraints.py92CODE
LOWext/harfbuzz/src/gen-vowel-constraints.py134CODE
LOWext/gumbo-parser/python/gumbo/html5lib_adapter.py100CODE
LOWext/extract/src/memento.py24CODE
LOWext/extract/src/docx_template_build.py104CODE
LOWmupdf/scripts/cmapclean.py10CODE
LOWmupdf/scripts/jlib.py41CODE
LOWmupdf/scripts/jlib.py499CODE
LOWmupdf/scripts/jlib.py1285CODE
LOWmupdf/scripts/jlib.py1410CODE
LOWmupdf/scripts/jlib.py1937CODE
LOWmupdf/scripts/jlib.py2125CODE
LOWmupdf/scripts/jlib.py2264CODE
LOWmupdf/scripts/jlib.py98CODE
LOWmupdf/scripts/glyphdump.py15CODE
LOWmupdf/scripts/mutool.py69CODE
LOWmupdf/scripts/mutool.py187CODE
LOWmupdf/scripts/mutool.py301CODE
LOWmupdf/scripts/makesubset.py27CODE
LOWmupdf/scripts/pipcl.py1301CODE
LOWmupdf/scripts/pipcl.py2045CODE
LOWmupdf/scripts/pipcl.py2186CODE
LOWmupdf/scripts/pipcl.py2305CODE
LOWmupdf/scripts/pipcl.py702CODE
LOWmupdf/scripts/pipcl.py947CODE
LOWmupdf/scripts/pipcl.py1877CODE
LOWmupdf/scripts/mupdfwrap_test.py41CODE
LOWmupdf/scripts/mupdfwrap_test.py211CODE
LOWmupdf/scripts/cmapflatten.py10CODE
LOWmupdf/scripts/truetype_to_unicode.py49CODE
LOWmupdf/scripts/mupdfwrap_gui.py241CODE
LOWmupdf/scripts/mupdfwrap_gui.py122CODE
LOWmupdf/scripts/mutool_draw.py422CODE
LOWmupdf/scripts/mutool_draw.py729CODE
LOWmupdf/scripts/mutool_draw.py895CODE
LOWmupdf/scripts/wdev.py35CODE
LOWmupdf/scripts/wdev.py255CODE
LOWmupdf/scripts/cmapdump.py10CODE
LOWmupdf/scripts/wrap/cpp.py181CODE
LOWmupdf/scripts/wrap/cpp.py275CODE
34 more matches not shown…
Hyper-Verbose Identifiers79 hits · 71 pts
SeverityFileLineSnippetContext
LOWcmd/trans-dl.ts38function extractStringsFromCFilesNoPaths(): string[] {CODE
LOWcmd/trans-dl.ts53function extractStringsToTranslate(): string[] {CODE
LOWcmd/trans-dl.ts206function autoAddNoPrefixTranslations(pt: ParsedTranslations): void {CODE
LOWcmd/build-ci.ts389async function extractClassesAndGlobalsFromPDB(): Promise<void> {CODE
LOWcmd/a-gumbo.ts317function removeObsoleteSystemIncludes(text: string): string {CODE
LOWcmd/gen-docs.ts598function extractCommandsFromMarkdown(): string[] {CODE
LOWcmd/gen-docs.ts619function checkCommandsAreDocumented(): void {CODE
LOWcmd/check-access-keys.ts80function extractTranslationStrings(s: string): string[] {CODE
LOWcmd/scripts/metadata/gen_txt.py319def structs_from_top_level_value_rec(struct, structs):CODE
LOWcmd/scripts/metadata/gen_txt.py369def gen_txt_for_top_level_val(top_level_val, file_path):CODE
LOWtools/efi/efiparse.py101 def get_objname_by_sec_no_off(self, sec_no, sec_off):STRING
LOWext/freetype/tests/scripts/download-test-fonts.py150def extract_file_from_zip_archive(CODE
LOWext/freetype/tests/scripts/download-test-fonts.py200def download_and_install_item(CODE
LOWext/brotli/python/tests/decompressor_test.py61 def _test_decompress_with_limit(self, test_data):CODE
LOWext/brotli/python/tests/_test_utils.py71def get_temp_uncompressed_name(filename):CODE
LOWext/brotli/python/tests/compressor_test.py53 def _test_multiple_process_and_flush(self, test_data):CODE
LOWext/brotli/js/decode.ts39function calculateDistanceAlphabetSize(npostfix: number, ndirect: number, maxndistbits: number): number {CODE
LOWext/brotli/js/decode.ts42function calculateDistanceAlphabetLimit(maxDistance: number, npostfix: number, ndirect: number): number {CODE
LOWext/brotli/js/decode.ts268function inverseMoveToFrontTransform(v: Int8Array, vLen: number): void {CODE
LOWext/brotli/js/decode.ts548function decodeDistanceBlockSwitch(s: State): void {CODE
LOWext/brotli/js/decode.ts552function maybeReallocateRingBuffer(s: State): void {CODE
LOWext/brotli/js/decode.ts648function readMetablockHuffmanCodesAndContextMaps(s: State): void {CODE
LOWext/brotli/js/decode.ts802function initializeCompoundDictionary(s: State): void {CODE
LOWext/brotli/js/decode.ts820function initializeCompoundDictionaryCopy(s: State, address: number, length: number): void {CODE
LOWext/brotli/js/decode.ts839function copyFromCompoundDictionary(s: State, fence: number): number {CODE
LOWext/brotli/js/decode.js67 function calculateDistanceAlphabetSize(npostfix, ndirect, maxndistbits) {CODE
LOWext/brotli/js/decode.js76 function calculateDistanceAlphabetLimit(maxDistance, npostfix, ndirect) {CODE
LOWext/brotli/js/decode.js361 function inverseMoveToFrontTransform(v, vLen) {CODE
LOWext/brotli/js/decode.js701 function decodeDistanceBlockSwitch(s) {CODE
LOWext/brotli/js/decode.js709 function maybeReallocateRingBuffer(s) {CODE
LOWext/brotli/js/decode.js824 function readMetablockHuffmanCodesAndContextMaps(s) {CODE
LOWext/brotli/js/decode.js1006 function initializeCompoundDictionary(s) {CODE
LOWext/brotli/js/decode.js1030 function initializeCompoundDictionaryCopy(s, address, length) {CODE
LOWext/brotli/js/decode.js1054 function copyFromCompoundDictionary(s, fence) {CODE
LOWext/harfbuzz/src/gen-tag-table.py473 def inherit_from_macrolanguages (self):CODE
LOWext/harfbuzz/src/gen-tag-table.py654 def remove_extra_macrolanguages (self):CODE
LOWext/harfbuzz/src/gen-tag-table.py900 def language_name_intersection_rust (a, b):CODE
LOWext/harfbuzz/src/gen-tag-table.py903 def get_matching_language_name_rust (intersection, candidates):CODE
LOWext/harfbuzz/src/gen-tag-table.py947 def print_subtag_matches_rust (subtag, new_line):CODE
LOWext/harfbuzz/src/gen-tag-table.py1082def language_name_intersection (a, b):CODE
LOWext/harfbuzz/src/gen-tag-table.py1096def get_matching_language_name (intersection, candidates):CODE
LOWext/harfbuzz/src/gen-tag-table.py1345def verify_disambiguation_dict ():CODE
LOWext/harfbuzz/src/hb-unicode.h354typedef hb_unicode_combining_class_t (*hb_unicode_combining_class_func_t) (hb_unicode_funcs_t *ufuncs,CODE
LOWext/harfbuzz/src/hb-unicode.h372typedef hb_unicode_general_category_t (*hb_unicode_general_category_func_t) (hb_unicode_funcs_t *ufuncs,CODE
LOWext/dav1d/src/recon.h54typedef decl_backup_ipred_edge_fn(*backup_ipred_edge_fn);CODE
LOWext/dav1d/src/filmgrain.h55typedef decl_generate_grain_uv_fn(*generate_grain_uv_fn);CODE
LOWtests/ad-hoc-synctex-wsl.ts106function windowsPathToWslMountPath(winPath: string): string | null {CODE
LOWtests/ad-hoc-selection-translate.ts186async function translatePhraseWithRetries(CODE
LOWdocs/gen_docs.render.js307 function replaceCommandsSearchPlaceholder(html) {CODE
LOWmupdf/setup.py532def get_requires_for_build_wheel(config_settings=None):STRING
LOWmupdf/docs/conf.py18def get_mupdf_version_from_header():CODE
LOWmupdf/docs/conf.py35def get_mupdf_version_from_git():CODE
LOWmupdf/scripts/mupdfwrap_test.py146def test_install_load_system_font(path):CODE
LOWmupdf/scripts/wrap/cpp.py578def make_python_class_method_outparam_override(CODE
LOWmupdf/scripts/wrap/cpp.py2660def class_find_constructor_fns( tu, classname, struct_name, base_name, extras):STRING
LOWmupdf/scripts/wrap/cpp.py2754def class_find_destructor_fns( tu, struct_name, base_name):STRING
LOWmupdf/scripts/wrap/cpp.py2803def class_constructor_default(STRING
LOWmupdf/scripts/wrap/cpp.py2982def function_name_implies_kept_references( fnname):STRING
LOWmupdf/scripts/wrap/cpp.py3018def function_wrapper_class_aware_body(STRING
LOWmupdf/scripts/wrap/cpp.py3265def function_wrapper_class_aware(STRING
19 more matches not shown…
Self-Referential Comments28 hits · 68 pts
SeverityFileLineSnippetContext
MEDIUMext/lcms2/ltmain.sh77# This file is dual licensed under the terms of the MIT licenseCOMMENT
MEDIUMext/lcms2/ltmain.sh1541# This file is dual licensed under the terms of the MIT licenseCOMMENT
MEDIUMext/lcms2/ltmain.sh1559# This file is a library for parsing options in your shell scripts alongCOMMENT
MEDIUMext/lcms2/ltmain.sh2741# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMext/lcms2/ltmain.sh2751# This function implements the same check as func_lalib_p withoutCOMMENT
MEDIUMext/lcms2/ltmain.sh2774# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMext/lcms2/ltmain.sh2784# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMext/lcms2/ltmain.sh2809# This function is only a basic sanity check; it will hardly flush outCOMMENT
MEDIUMext/lcms2/ltmain.sh2949# Create a libtool object file (analogous to a ".la" file),COMMENT
MEDIUMext/lcms2/ltmain.sh7746 # Create the object directory.COMMENT
MEDIUMext/lcms2/ltmain.sh10425 # Create the old-style object.COMMENT
MEDIUMext/lcms2/ltmain.sh10445 # Create an invalid libtool object if no PIC, so that we don'tCOMMENT
MEDIUMext/freetype/modules.cfg6# This file is part of the FreeType project, and may only be used, modified,COMMENT
MEDIUMext/freetype/autogen.sh6# This file is part of the FreeType project, and may only be used, modified,COMMENT
MEDIUMext/freetype/src/tools/afblue.pl11# This file is part of the FreeType project, and may only be used,COMMENT
MEDIUMext/freetype/src/tools/make_distribution_archives.py113 # Create a temporary directory, and ensure it is removed on exit.COMMENT
MEDIUMext/freetype/src/tools/glnames.py9# This file is part of the FreeType project, and may only be used, modified,COMMENT
MEDIUMext/zlib/os400/make.sh164# Create the OS/400 library if it does not exist.COMMENT
MEDIUMext/zlib/os400/make.sh172# Create the DOCS source file if it does not exist.COMMENT
MEDIUMext/zlib/os400/make.sh194# Create the OS/400 source program file for the C header files.COMMENT
MEDIUMext/zlib/os400/make.sh205# Create the IFS directory for the C header files.COMMENT
MEDIUMext/libwebp/xcframeworkbuild.sh231 # Create a temporary target directory for each <platform>[-<variant>].COMMENT
MEDIUMext/libwebp/infra/compile_android.sh116# Create a fresh build directoryCOMMENT
MEDIUMext/libwebp/swig/libwebp.py233# This file is compatible with both classic and new-style classes.COMMENT
MEDIUMext/bzip2/xmlproc.sh5# This file is part of bzip2/libbzip2, a program and library forCOMMENT
MEDIUMext/bzip2/format.pl4# This file is part of bzip2/libbzip2, a program and library forCOMMENT
MEDIUMmupdf/scripts/zip.py2# Create a reproducible build ZIP archive.COMMENT
MEDIUMmupdf/scripts/wrap/cpp.py612 # Define an internal Python function that will become the class method.COMMENT
Synthetic Comment Markers7 hits · 48 pts
SeverityFileLineSnippetContext
HIGHext/libwebp/imageio/webpdec.c218 // Need to wipe out the alpha value, as requested.COMMENT
HIGHext/extract/src/docx_template.c1/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */COMMENT
HIGHext/extract/src/docx_template_build.py155 out_c.write(f'/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */\n')CODE
HIGHext/extract/src/docx_template_build.py242 out_h.write(f'/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */\n')CODE
HIGHext/extract/src/odt_template.h4/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */COMMENT
HIGHext/extract/src/docx_template.h4/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */COMMENT
HIGHext/extract/src/odt_template.c1/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */COMMENT
Slop Phrases22 hits · 44 pts
SeverityFileLineSnippetContext
LOWext/libdjvu/DjVuDocEditor.cpp662 // included child. Don't forget to modify the contents of INCLCOMMENT
MEDIUMext/freetype/include/freetype/fterrors.h78 * Here is a simple example.COMMENT
MEDIUMext/freetype/include/freetype/freetype.h1385 * for demonstration purposes.COMMENT
LOWext/freetype/include/freetype/internal/ftrfork.h35 /* Don't forget to increment the number if you add a new guessing rule. */COMMENT
LOWext/skcms/src/Transform_inl.h642 // TODO: don't forget to optimize gather_32().COMMENT
LOWext/openjpeg/src/lib/openjp2/t2.c584 /* don't forget to release pi */COMMENT
LOWext/brotli/research/brotlidump.py351 """Don't forget to set either alphabetSize or decodeTableSTRING
MEDIUMext/libjpeg-turbo/src/turbojpeg.h1484 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMext/libjpeg-turbo/src/turbojpeg.h1544 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMext/libjpeg-turbo/src/turbojpeg.h1605 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMext/libjpeg-turbo/src/turbojpeg.h1795 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMext/libjpeg-turbo/src/turbojpeg.h1850 * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use thisCOMMENT
MEDIUMext/harfbuzz/docs/usermanual-clusters.xml258 As mentioned earlier, client programs using HarfBuzz oftenCODE
LOWext/libjxl/lib/jxl/cms/color_encoding_cms.h54 // NB: don't forget to update EnumBits!COMMENT
LOWext/libjxl/lib/jxl/cms/color_encoding_cms.h63 // NB: don't forget to update EnumBits!COMMENT
LOWext/libjxl/lib/jxl/cms/color_encoding_cms.h72 // NB: don't forget to update EnumBits!COMMENT
LOWext/libjxl/lib/jxl/cms/color_encoding_cms.h84 // NB: don't forget to update EnumBits!COMMENT
LOWext/libjxl/lib/jxl/cms/color_encoding_cms.h93 // NB: don't forget to update EnumBits!COMMENT
LOWext/zopfli/src/zopflipng/lodepng/lodepng.cpp70lodepng source code. Don't forget to remove "static" if you copypaste themCODE
LOWext/libwebp/examples/unicode.h109// Don't forget to free wargv before returning (e.g. from main).COMMENT
LOWmupdf/include/mupdf/fitz/device.h416 Don't forget to call fz_close_device before dropping the device,CODE
LOWmupdf/include/mupdf/fitz/output.h256 Free an output stream. Don't forget to close it first!CODE
Structural Annotation Overuse17 hits · 30 pts
SeverityFileLineSnippetContext
LOWext/liblzma/common/stream_decoder_mt.c1811 // NOTE: This function gets/sets memlimit_stop. For now,COMMENT
LOWext/liblzma/common/index_hash.c182 // NOTE: This function has many similarities to index_encode() andCOMMENT
LOWext/liblzma/common/block_util.c50 // NOTE: This function is used for validation too, so it isCOMMENT
LOWext/libdjvu/BSEncodeByteStream.cpp652 // Step 1: Radix sortCOMMENT
LOWext/libdjvu/BSEncodeByteStream.cpp664 // Step 2: Perform presort to depth PRESORT_DEPTHCOMMENT
LOWext/libdjvu/BSEncodeByteStream.cpp676 // Step 3: Perform rank doublingCOMMENT
LOWext/libdjvu/BSEncodeByteStream.cpp720 // Step 4: Permute dataCOMMENT
LOWext/brotli/scripts/dictionary/step-01-download-rfc.py1# Step 01 - download RFC7932.COMMENT
LOW…i/scripts/dictionary/step-04-generate-java-literals.py1# Step 04 - generate Java literals.COMMENT
LOWext/brotli/scripts/dictionary/step-02-rfc-to-bin.py1# Step 02 - parse RFC.COMMENT
LOWext/brotli/scripts/dictionary/step-03-validate-bin.py1# Step 03 - validate raw dictionary file.COMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h96 // Step 1: range reduction to [0, 2pi)COMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h101 // Step 2: range reduction to [0, pi]COMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h103 // Step 3: range reduction to [0, pi/2]COMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h106 // Step 4: Taylor-like approximation, scaled by 2**0.75 to make angleCOMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h114 // Step 5: angle duplication.COMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h118 // Step 6: change sign if needed.COMMENT
AI Response Leakage4 hits · 30 pts
SeverityFileLineSnippetContext
HIGHext/freetype/src/sdf/ftsdf.c2955 #error "corruption. If required I will add this later."COMMENT
HIGHext/zlib/contrib/dotzlib/DotZLib/GZipStream.cs263 /// <remarks>In this implementation, this method does nothing. This is because excessiveCOMMENT
HIGHext/zlib/contrib/dotzlib/DotZLib/GZipStream.cs273 /// <remarks>In this implementation this property is not supported</remarks>COMMENT
HIGHext/zlib/contrib/dotzlib/DotZLib/GZipStream.cs290 /// <remarks>In this implementation this property is not supported</remarks>COMMENT
Excessive Try-Catch Wrapping35 hits · 30 pts
SeverityFileLineSnippetContext
LOWext/extract/src/docx_template_build.py94 except Exception:CODE
LOWmupdf/scripts/jlib.py153 except Exception as e:CODE
LOWmupdf/scripts/jlib.py1610 except Exception as e:CODE
LOWmupdf/scripts/jlib.py1984 except Exception:CODE
LOWmupdf/scripts/jlib.py2008 except Exception:CODE
LOWmupdf/scripts/jlib.py2215 except Exception:CODE
MEDIUMmupdf/scripts/jlib.py1930def fs_filesize( filename, default=0):CODE
LOWmupdf/scripts/mutool.py110 except Exception as e:STRING
LOWmupdf/scripts/mutool.py378 except Exception as e:STRING
LOWmupdf/scripts/pipcl.py1933 except Exception as e:STRING
LOWmupdf/scripts/pipcl.py2167 except Exception:STRING
LOWmupdf/scripts/mupdfwrap_test.py135 except Exception as e:CODE
LOWmupdf/scripts/mupdfwrap_test.py246 except Exception as e:CODE
LOWmupdf/scripts/mupdfwrap_test.py422 except Exception:CODE
LOWmupdf/scripts/mupdfwrap_gui.py176 except Exception as e:CODE
LOWmupdf/scripts/mupdfwrap_gui.py225 except Exception as e:CODE
LOWmupdf/scripts/mutool_draw.py165 except Exception:CODE
LOWmupdf/scripts/mutool_draw.py1056 except Exception as e:STRING
LOWmupdf/scripts/mutool_draw.py1216 except Exception as e:STRING
LOWmupdf/scripts/mutool_draw.py1222 except Exception as e:STRING
MEDIUMmupdf/scripts/mutool_draw.py162def stat_mtime(path):CODE
LOWmupdf/scripts/wdev.py167 except Exception as e:STRING
LOWmupdf/scripts/wrap/make_cppyy.py136 except Exception as e:STRING
LOWmupdf/scripts/wrap/make_cppyy.py151 except Exception as e:STRING
LOWmupdf/scripts/wrap/make_cppyy.py157 except Exception as e:STRING
LOWmupdf/scripts/wrap/cpp.py5514 except Exception as e:STRING
LOWmupdf/scripts/wrap/parse.py412 except Exception:CODE
MEDIUMmupdf/scripts/wrap/parse.py409def or_none(f):CODE
LOWmupdf/scripts/wrap/swig.py1113 except Exception:CODE
LOWmupdf/scripts/wrap/swig.py1125 except Exception:CODE
LOWmupdf/scripts/wrap/swig.py1516 except Exception as e:CODE
LOWmupdf/scripts/wrap/__main__.py2662 except Exception as ee:STRING
LOWmupdf/scripts/wrap/__main__.py1297 except Exception as e:STRING
LOWmupdf/scripts/wrap/__main__.py3134 except Exception:STRING
LOWmupdf/scripts/wrap/state.py17except Exception as e:CODE
Verbosity Indicators15 hits · 27 pts
SeverityFileLineSnippetContext
LOWext/libheif/libheif/api/libheif/heif_context.h201 // The purpose of this function is that libheif will usually read very small chunks of data with theCOMMENT
LOWext/libdjvu/BSEncodeByteStream.cpp652 // Step 1: Radix sortCOMMENT
LOWext/libdjvu/BSEncodeByteStream.cpp664 // Step 2: Perform presort to depth PRESORT_DEPTHCOMMENT
LOWext/libdjvu/BSEncodeByteStream.cpp676 // Step 3: Perform rank doublingCOMMENT
LOWext/libdjvu/BSEncodeByteStream.cpp720 // Step 4: Permute dataCOMMENT
LOWext/libdjvu/DjVuDocEditor.cpp1593 // The purpose of this function is to create files containingCOMMENT
LOWext/libjxl/lib/jxl/modular/transform/palette.h49// The purpose of this function is solely to extend the interpretation ofCOMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h96 // Step 1: range reduction to [0, 2pi)COMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h101 // Step 2: range reduction to [0, pi]COMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h103 // Step 3: range reduction to [0, pi/2]COMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h106 // Step 4: Taylor-like approximation, scaled by 2**0.75 to make angleCOMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h114 // Step 5: angle duplication.COMMENT
LOWext/libjxl/lib/jxl/base/fast_math-inl.h118 // Step 6: change sign if needed.COMMENT
LOWext/synctex/synctex_parser.c4800/* The purpose of this function is to read a string.COMMENT
LOWsrc/MainWindow.cpp834// could have been destroyed so we need to check if it's still validCOMMENT
Unused Imports22 hits · 22 pts
SeverityFileLineSnippetContext
LOWtools/gen_caption_glyphs.py8CODE
LOWext/freetype/tests/scripts/download-test-fonts.py7CODE
LOWext/freetype/src/tools/make_distribution_archives.py4CODE
LOWext/brotli/research/brotlidump.py11CODE
LOWext/brotli/research/brotlidump.py12CODE
LOWext/brotli/research/brotlidump.py12CODE
LOWext/brotli/research/brotlidump.py13CODE
LOWext/brotli/python/bro.py7CODE
LOWext/brotli/python/tests/_test_utils.py1CODE
LOWext/harfbuzz/src/gen-arabic-joining-list.py10CODE
LOWext/gumbo-parser/python/gumbo/__init__.py33CODE
LOWext/gumbo-parser/python/gumbo/__init__.py36CODE
LOWext/gumbo-parser/python/gumbo/__init__.py42CODE
LOWext/extract/src/docx_template_build.py31CODE
LOWmupdf/scripts/jlib.py17CODE
LOWmupdf/scripts/pipcl.py25CODE
LOWmupdf/scripts/mupdfwrap_test.py9CODE
LOWmupdf/scripts/wrap/rename.py5CODE
LOWmupdf/scripts/wrap/python.py11CODE
LOWmupdf/scripts/wrap/__main__.py917CODE
LOWmupdf/scripts/wrap/state.py5CODE
LOWmupdf/scripts/wrap/state.py8CODE
TODO Padding11 hits · 20 pts
SeverityFileLineSnippetContext
LOWcmd/scripts/metadata/metadata.py116# TODO: implement struct inheritance i.e. a subclass should inherit allCOMMENT
LOWsrc/HtmlFormatter.cpp1384 // TODO: implement meCOMMENT
LOWsrc/HtmlFormatter.cpp1387 // TODO: implement meCOMMENT
LOWsrc/HtmlFormatter.cpp1392 // TODO: implement meCOMMENT
LOWsrc/HtmlFormatter.cpp1394 // TODO: implement meCOMMENT
LOWsrc/HtmlFormatter.cpp1396 // TODO: implement meCOMMENT
LOWsrc/HtmlFormatter.cpp1440 // TODO: implement meCOMMENT
LOWsrc/EditAnnotations.cpp1052 // TODO: implement meCOMMENT
LOWsrc/EbookDoc.cpp634 // TODO: implement proper namespace supportCOMMENT
LOWsrc/mui/TextRender.h9 // TODO: implement TextRenderDirectDrawCOMMENT
LOWsrc/wingui/Button.cpp36 // TODO: implement meCOMMENT
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippetContext
CRITICALext/brotli/csharp/org/brotli/dec/Dictionary.cs61 string[] chunks = new string[] { Org.Brotli.Dec.Dictionary.DataHolder0.GetData(), Org.Brotli.Dec.Dictionary.DataHoldCODE
CRITICALext/marked/marked.min.js47`+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(s);continue}if(e){let r="Infinite loop on bytCODE
Dead Code10 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMmupdf/scripts/wrap/rename.py71CODE
MEDIUMmupdf/scripts/wrap/rename.py73CODE
MEDIUMmupdf/scripts/wrap/rename.py74CODE
MEDIUMmupdf/scripts/wrap/rename.py77CODE
MEDIUMmupdf/scripts/wrap/rename.py120CODE
MEDIUMmupdf/scripts/wrap/rename.py137CODE
MEDIUMmupdf/scripts/wrap/rename.py139CODE
MEDIUMmupdf/scripts/wrap/rename.py140CODE
MEDIUMmupdf/scripts/wrap/rename.py141CODE
MEDIUMmupdf/scripts/wrap/rename.py144CODE
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHext/freetype/tests/scripts/download-test-fonts.py156Extract a file from a given zipfile.ZipFile archive. Args: archive: Input ZipFile objec. archive_name: STRING
HIGHext/brotli/python/brotli.py26Compress a byte string. Args: string (bytes): The input data. mode (int, optional): The compression modSTRING
HIGHmupdf/scripts/wrap/__main__.py3 Support for generating C++ and python wrappers for the mupdf API. Overview: We generate C++, Python and C# wrappeSTRING
AI Structural Patterns10 hits · 10 pts
SeverityFileLineSnippetContext
LOWmupdf/scripts/jlib.py1410CODE
LOWmupdf/scripts/jlib.py1722CODE
LOWmupdf/scripts/pipcl.py1301CODE
LOWmupdf/scripts/pipcl.py279CODE
LOWmupdf/scripts/wrap/classes.py70CODE
LOWmupdf/scripts/wrap/parse.py203CODE
LOWmupdf/scripts/wrap/__main__.py1384CODE
LOWmupdf/scripts/wrap/state.py198CODE
LOWmupdf/scripts/wrap/state.py249CODE
LOWmupdf/scripts/wrap/state.py257CODE
Redundant / Tautological Comments10 hits · 7 pts
SeverityFileLineSnippetContext
LOWext/lcms2/ltmain.sh379# Check if we can use backslash as IFS='\' separator, and setCOMMENT
LOWext/lcms2/ltmain.sh666# Set func_arith_result to the result of evaluating TERMs.COMMENT
LOWext/lcms2/ltmain.sh690# Set func_basename_result to FILE with everything up to and includingCOMMENT
LOWext/lcms2/ltmain.sh856# Set func_len_result to the length of STRING. STRING may notCOMMENT
LOWext/lcms2/ltmain.sh1074# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.COMMENT
LOWext/lcms2/ltmain.sh4153 # Check if any of the arguments is a wrapper script.COMMENT
LOWext/lcms2/ltmain.sh10148 # Loop over the list of objects to be linked.COMMENT
LOWext/zlib/os400/make.sh66# Set LINK to "YES" if the module has been compiled.COMMENT
LOWmupdf/scripts/wrap/__main__.py980 # Set fz_items to map name to info about function/struct.STRING
LOWmupdf/scripts/wrap/__main__.py1006 # Set uses_structs to true if fn returns a fz struct or anySTRING
Fake / Example Data3 hits · 4 pts
SeverityFileLineSnippetContext
LOWdocs/md/Tool-run-javascript-reference.md5228annotation.setAuthor("Jane Doe")CODE
LOWmupdf/source/fitz/stext-para.c305 * Lorem ipsum dolor sitCOMMENT
LOWsrc/Menu.cpp1798// We only want the "path.pdf" / "foo@bar.com"COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWext/libwebp/examples/img2webp.c13// Example usage:COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWext/gumbo-parser/python/gumbo/gumboc.py420__all__ = ['StringPiece', 'SourcePosition', 'AttributeNamespace', 'Attribute',CODE