Repository Analysis

sumatrapdfreader/sumatrapdf

SumatraPDF reader

4.3 Likely human-written View on GitHub
4.3
Adjusted Score
4.3
Raw Score
100%
Time Factor
2026-05-21
Last Push
16,763
Stars
C
Language
2,031,221
Lines of Code
4152
Files
4822
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 383HIGH 105MEDIUM 341LOW 3993

Pattern Findings

4822 matches across 19 categories. Click a row to expand file-level details.

Over-Commented Block3743 hits · 3648 pts
SeverityFileLineSnippet
LOWtools/bin2coff.c61#define IMAGE_FILE_MACHINE_I386 0x014c
LOWtools/bin2coff.c81#define IMAGE_FILE_BYTES_REVERSED_HI 0x8000 /* Obsolete */
LOWtools/bin2coff.c101#define IMAGE_SCN_MEM_LOCKED 0x00040000 /* Reserved */
LOWtools/bin2coff.c121#define IMAGE_SCN_MEM_NOT_PAGED 0x08000000
LOWtools/bin2coff.c141#define IMAGE_SYM_TYPE_UNION 0x0009
LOWtools/bin2coff.c161#define IMAGE_SYM_CLASS_EXTERNAL_DEF 0x05
LOWtools/sizer/pdbfile.cpp1// Executable size report utility.
LOWtools/sizer/debuginfo.hpp1// Executable size report utility.
LOWtools/sizer/types.hpp1// Executable size report utility.
LOWext/mupdf_load_system_font.c1// this file is compiled as part of mupdf library and ends up
LOWext/libheif/libheif/error.h21#ifndef LIBHEIF_ERROR_H
LOWext/libheif/libheif/box.h21#ifndef LIBHEIF_BOX_H
LOWext/libheif/libheif/common_utils.h21#ifndef LIBHEIF_COMMON_UTILS_H
LOWext/libheif/libheif/file.h21#ifndef LIBHEIF_FILE_H
LOWext/libheif/libheif/context.h21#ifndef LIBHEIF_CONTEXT_H
LOWext/libheif/libheif/pixelimage.h21
LOWext/libheif/libheif/bitstream.h21#ifndef LIBHEIF_BITSTREAM_H
LOWext/libheif/libheif/brands.h21#ifndef LIBHEIF_BRANDS_H
LOWext/libheif/libheif/codecs/avif_boxes.h21#ifndef HEIF_AVIF_BOXES_H
LOWext/libheif/libheif/codecs/jpeg2000_enc.h21#ifndef HEIF_ENCODER_JPEG2000_H
LOWext/libheif/libheif/codecs/avc_enc.h21#ifndef HEIF_ENCODER_AVC_H
LOWext/libheif/libheif/codecs/decoder.h21#ifndef HEIF_DECODER_H
LOWext/libheif/libheif/codecs/vvc_enc.h21#ifndef HEIF_ENCODER_VVC_H
LOWext/libheif/libheif/codecs/jpeg2000_dec.h21#ifndef HEIF_JPEG2000_DEC_H
LOWext/libheif/libheif/codecs/avif_enc.h21#ifndef HEIF_ENCODER_AVIF_H
LOWext/libheif/libheif/codecs/jpeg_enc.h21#ifndef HEIF_ENCODER_JPEG_H
LOWext/libheif/libheif/codecs/hevc_enc.h21#ifndef HEIF_ENCODER_HEVC_H
LOWext/libheif/libheif/codecs/uncompressed/unc_enc.h21#ifndef HEIF_ENCODER_UNCOMPRESSED_H
LOWext/libheif/libheif/codecs/uncompressed/unc_codec.h21
LOW…libheif/codecs/uncompressed/decoder_pixel_interleave.h21#ifndef UNCI_DECODER_PIXEL_INTERLEAVE_H
LOW…libheif/libheif/codecs/uncompressed/decoder_abstract.h21#ifndef UNCI_DECODER_ABSTRACT_H
LOWext/libheif/libheif/api/libheif/heif_plugin.h21#ifndef LIBHEIF_HEIF_PLUGIN_H
LOWext/libheif/libheif/api/libheif/heif_plugin.h41// 1.1 1 1 1
LOWext/libheif/libheif/api/libheif/heif.h21#ifndef LIBHEIF_HEIF_H
LOWext/libheif/libheif/api/libheif/heif_emscripten.h1#ifndef LIBHEIF_BOX_EMSCRIPTEN_H
LOWext/libheif/libheif/api/libheif/heif_brands.h281
LOWext/libheif/libheif/api/libheif/heif_encoding.h21#ifndef LIBHEIF_HEIF_ENCODING_H
LOWext/libheif/libheif/api/libheif/heif_library.h21#ifndef LIBHEIF_HEIF_LIBRARY_H
LOWext/libheif/libheif/api/libheif/heif_library.h41// 1.9.2 2 2 1 1 1 1
LOWext/libheif/libheif/api/libheif/heif_decoding.h21#ifndef LIBHEIF_HEIF_DECODING_H
LOWext/libheif/libheif/api/libheif/heif_decoding.h141 int count);
LOWext/libheif/libheif/api/libheif/heif_image.h61 // * heif_chroma_420
LOWext/libheif/libheif/api/libheif/heif_image_handle.h21#ifndef LIBHEIF_HEIF_IMAGE_HANDLE_H
LOWext/libheif/libheif/api/libheif/heif_image_handle.h81// Returns -1 on error, e.g. if this information is not present in the image.
LOWext/libheif/libheif/api/libheif/heif_context.h181 // When calling this function, libheif wants to make sure that it can read the file
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 the
LOWext/libheif/libheif/image-items/image_item.h21#ifndef LIBHEIF_IMAGEITEM_H
LOWext/libheif/libheif/image-items/mask_image.h21 */
LOWext/libheif/libheif/image-items/unc_image.h21
LOWext/libheif/libheif/image-items/avif.h21#ifndef HEIF_AVIF_H
LOWext/libheif/libheif/image-items/tiled.h21#ifndef LIBHEIF_TILED_H
LOWext/darkmodelib/include/DarkModeSubclass.h21
LOWext/darkmodelib/include/DarkModeSubclass.h461 /// Applies custom color subclassing to a hot key control.
LOWext/darkmodelib/include/DarkModeSubclass.h761#else
LOWext/darkmodelib/dmlib_demo/resource.h1//{{NO_DEPENDENCIES}}
LOWext/darkmodelib/dmlib_demo/resource.h21#define IDC_STATIC -1
LOWext/darkmodelib/src/IatHook.h1// SPDX-License-Identifier: MIT
LOWext/darkmodelib/src/IatHook.h21#include <cstring>
LOWext/darkmodelib/src/DarkModeSubclass.cpp21
LOWext/darkmodelib/src/DmlibSubclassControl.cpp21#include <vssym32.h>
3683 more matches not shown…
Hallucination Indicators383 hits · 3370 pts
SeverityFileLineSnippet
CRITICALext/brotli/csharp/org/brotli/dec/Dictionary.cs61 string[] chunks = new string[] { Org.Brotli.Dec.Dictionary.DataHolder0.GetData(), Org.Brotli.Dec.Dictionary.DataHold
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml33 Gets or sets the value to pass as the browserExecutableFolder parameter of <see cref="M:Microsoft.Web.WebVie
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml43 Gets or sets the value to pass as the userDataFolder parameter of <see cref="M:Microsoft.Web.WebView2.Core.C
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml53 Gets or sets the value to use for the Language property of the CoreWebView2EnvironmentOptions parameter pass
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml188 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.BuildWindowCore(System.Runtime.InteropServices.HandleRef)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml196 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.DestroyWindowCore(System.Runtime.InteropServices.HandleRef)"
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml203 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.WndProc(System.IntPtr,System.Int32,System.IntPtr,System.IntP
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml284 <exception cref="T:System.ObjectDisposedException">Thrown if <see cref="M:Microsoft.Web.WebView2.Wpf.WebView
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml288 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.Dispose(System.Boolean)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml295 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2_ProcessFailed(System.Object,Microsoft.Web.WebVi
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml304 Does *not* prevent explicit initialization of the CoreWebView2 (i.e. <see cref="M:Microsoft.Web.WebView2.Wpf
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml416 Generally speaking, getting this property is equivalent to getting the <see cref="P:Microsoft.Web.WebView2.C
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml424 <exception cref="T:System.ObjectDisposedException">Thrown if <see cref="M:Microsoft.Web.WebView2.Wpf.WebView
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml429 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.SourcePropertyValid(System.Object)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml529 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.TabIntoCore(System.Windows.Input.TraversalRequest)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml538 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChanged
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml548 We handle that case in <see cref="M:Microsoft.Web.WebView2.Wpf.WebView2.WndProc(System.IntPtr,System.Int32,S
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml550 <seealso cref="M:Microsoft.Web.WebView2.Wpf.WebView2.WndProc(System.IntPtr,System.Int32,System.IntPtr,System
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml552 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2Controller_MoveFocusRequested(System.Object,Micr
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml562 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2Controller_GotFocus(System.Object,System.Object)
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml568 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2Controller_LostFocus(System.Object,System.Object
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml574 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2Controller_AcceleratorKeyPressed(System.Object,M
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml584 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.OnKeyDown(System.Windows.Input.KeyEventArgs)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml601 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.OnKeyUp(System.Windows.Input.KeyEventArgs)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml603 See <see cref="M:Microsoft.Web.WebView2.Wpf.WebView2.OnKeyDown(System.Windows.Input.KeyEventArgs)"/>.
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml606 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.OnPreviewKeyDown(System.Windows.Input.KeyEventArgs)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml608 This is the "Preview" (i.e. tunneling) version of <see cref="M:Microsoft.Web.WebView2.Wpf.WebView2.OnKeyDown
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml613 <seealso cref="M:Microsoft.Web.WebView2.Wpf.WebView2.OnKeyDown(System.Windows.Input.KeyEventArgs)"/>
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml615 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.OnPreviewKeyUp(System.Windows.Input.KeyEventArgs)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml617 See <see cref="M:Microsoft.Web.WebView2.Wpf.WebView2.OnPreviewKeyDown(System.Windows.Input.KeyEventArgs)"/>.
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml742 <exception cref="T:System.ObjectDisposedException">Thrown if <see cref="M:Microsoft.Web.WebView2.Wpf.WebView
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml746 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.NavigateToString(System.String)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml749 Equivalent to calling <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.NavigateToString(System.String)"
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml755 <exception cref="T:System.ObjectDisposedException">Thrown if <see cref="M:Microsoft.Web.WebView2.Wpf.WebView
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml758 <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.NavigateToString(System.String)"/>
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml768 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2_ContentLoading(System.Object,Microsoft.Web.WebV
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml774 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.ExecuteScriptAsync(System.String)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml777 Equivalent to calling <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.ExecuteScriptAsync(System.String
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml783 <exception cref="T:System.ObjectDisposedException">Thrown if <see cref="M:Microsoft.Web.WebView2.Wpf.WebView
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml785 <seealso cref="M:Microsoft.Web.WebView2.Core.CoreWebView2.ExecuteScriptAsync(System.String)"/>
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml795 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2_WebMessageReceived(System.Object,Microsoft.Web.
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml16 creating your own environment with <see cref="M:Microsoft.Web.WebView2.Core.CoreWebView2Environment.CreateAs
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml85 Call the <see cref="M:Microsoft.Web.WebView2.Wpf.WebView2.EnsureCoreWebView2Async(Microsoft.Web.WebView2.Co
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml95 cref="M:Microsoft.Web.WebView2.Wpf.WebView2.EnsureCoreWebView2Async(Microsoft.Web.WebView2.Core.CoreWebView
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml117 The Task returned from <see cref="M:Microsoft.Web.WebView2.Wpf.WebView2.EnsureCoreWebView2Async(Microsoft.W
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml129 Calling <see cref="M:Microsoft.Web.WebView2.Wpf.WebView2.Dispose(System.Boolean)"/> will release the <see c
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml132 cref="M:Microsoft.Web.WebView2.Wpf.WebView2.Dispose(System.Boolean)"/> has been called the <see cref="P:Mic
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml215 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.OnRender(System.Windows.Media.DrawingContext)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml231 <exception cref="T:System.ObjectDisposedException">Thrown if <see cref="M:Microsoft.Web.WebView2.Wpf.WebView
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml252 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.EnsureCoreWebView2Async(Microsoft.Web.WebView2.Core.CoreWebV
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml332 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.WhenInit_Source(System.Action)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml348 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.SetCurrentValueFromCore(System.Windows.DependencyProperty,Sy
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml363 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.IsPropertyChangingFromCore(System.Windows.DependencyProperty
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml374 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.ReparentController(System.IntPtr,System.Boolean)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml394 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.UIElement_IsVisibleChanged(System.Object,System.Windows.Depe
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml401 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.OnWindowPositionChanged(System.Windows.Rect)">
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml441 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.SourcePropertyChanged(System.Windows.DependencyObject,System
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml447 We use <see cref="M:Microsoft.Web.WebView2.Wpf.WebView2.IsPropertyChangingFromCore(System.Windows.Dependency
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml458 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2_SourceChanged(System.Object,Microsoft.Web.WebVi
CRITICAL…w2.1.0.992.28/lib/net45/Microsoft.Web.WebView2.Wpf.xml477 <member name="M:Microsoft.Web.WebView2.Wpf.WebView2.CoreWebView2_NavigationStarting(System.Object,Microsoft.Web.
323 more matches not shown…
Decorative Section Separators177 hits · 512 pts
SeverityFileLineSnippet
MEDIUMcmd/build-with-mingw.ts20// ── Tool paths ──────────────────────────────────────────────────────────────
MEDIUMcmd/build-with-mingw.ts28// ── Common defines (workspace-level from premake5.lua) ─────────────────────
MEDIUMcmd/build-with-mingw.ts31// ── Types ───────────────────────────────────────────────────────────────────
MEDIUMcmd/build-with-mingw.ts59// ── Helpers ─────────────────────────────────────────────────────────────────
MEDIUMcmd/build-with-mingw.ts196// ── Library definitions ─────────────────────────────────────────────────────
MEDIUMcmd/build-with-mingw.ts1431// ── Font files to embed (from premake fonts() function) ─────────────────────
MEDIUMcmd/build-with-mingw.ts1461// ── System libraries for final link ─────────────────────────────────────────
MEDIUMcmd/build-with-mingw.ts1491// ── Build a single library ──────────────────────────────────────────────────
MEDIUMcmd/build-with-mingw.ts1572// ── Build SumatraPDF main executable sources ────────────────────────────────
MEDIUMcmd/build-with-mingw.ts1645 // ── Compile _com_util stub (mingw doesn't ship comsuppw.lib) ─────────
MEDIUMcmd/build-with-mingw.ts1674 // ── Embed font files ──────────────────────────────────────────────────
MEDIUMcmd/build-with-mingw.ts1689 // ── Compile .rc resource file ─────────────────────────────────────────
MEDIUMcmd/build-with-mingw.ts1718 // ── Link ──────────────────────────────────────────────────────────────
MEDIUMcmd/build-with-mingw.ts1748// ── Top-level build functions ───────────────────────────────────────────────
MEDIUMcmd/build-with-mingw.ts1804// ── Main ────────────────────────────────────────────────────────────────────
MEDIUMext/lcms2/ltmain.sh157# --------------
MEDIUMext/lcms2/ltmain.sh183# ----------------------
MEDIUMext/lcms2/ltmain.sh192# --------------------------------------------
MEDIUMext/lcms2/ltmain.sh378# ---------------------------
MEDIUMext/lcms2/ltmain.sh523# -------------------
MEDIUMext/lcms2/ltmain.sh572# ---------------------
MEDIUMext/lcms2/ltmain.sh618# ----------------------------
MEDIUMext/lcms2/ltmain.sh641# --------------------------
MEDIUMext/lcms2/ltmain.sh665# ------------------
MEDIUMext/lcms2/ltmain.sh689# ------------------
MEDIUMext/lcms2/ltmain.sh722# -------------------------------------------
MEDIUMext/lcms2/ltmain.sh734# --------------------------------------------------------
MEDIUMext/lcms2/ltmain.sh755# ----------------
MEDIUMext/lcms2/ltmain.sh774# --------------------
MEDIUMext/lcms2/ltmain.sh783# ------------------------------
MEDIUMext/lcms2/ltmain.sh819# -----------------
MEDIUMext/lcms2/ltmain.sh832# -----------------------
MEDIUMext/lcms2/ltmain.sh844# -----------------------------
MEDIUMext/lcms2/ltmain.sh855# ---------------
MEDIUMext/lcms2/ltmain.sh881# ---------------------------
MEDIUMext/lcms2/ltmain.sh929# -------------------------
MEDIUMext/lcms2/ltmain.sh967# ------------------------
MEDIUMext/lcms2/ltmain.sh1057# --------------------
MEDIUMext/lcms2/ltmain.sh1073# --------------------------------
MEDIUMext/lcms2/ltmain.sh1138# ----------------------------
MEDIUMext/lcms2/ltmain.sh1218# -----------------------
MEDIUMext/lcms2/ltmain.sh1253# ------------------------
MEDIUMext/lcms2/ltmain.sh1264# ----------------
MEDIUMext/lcms2/ltmain.sh1317# ------------------------
MEDIUMext/lcms2/ltmain.sh1338# ---------------------------------
MEDIUMext/lcms2/ltmain.sh1368# -----------------------------
MEDIUMext/lcms2/ltmain.sh1393# ------------------------------------
MEDIUMext/lcms2/ltmain.sh1422# ----------
MEDIUMext/lcms2/ltmain.sh1443# -------------------
MEDIUMext/lcms2/ltmain.sh1456# -----------------------------
MEDIUMext/lcms2/ltmain.sh1469# ----------------------------
MEDIUMext/lcms2/ltmain.sh1494# -----------------------
MEDIUMext/lcms2/ltmain.sh1511# ---------------------
MEDIUMext/lcms2/ltmain.sh1640# -----------------------
MEDIUMext/lcms2/ltmain.sh1652# ---------------------------------
MEDIUMext/lcms2/ltmain.sh1669# ------------------------------------
MEDIUMext/lcms2/ltmain.sh1681# ---------------------------------------------
MEDIUMext/lcms2/ltmain.sh1699# ---------------------------------
MEDIUMext/lcms2/ltmain.sh1810# ----------------------------
MEDIUMext/lcms2/ltmain.sh1822# ---------------------
117 more matches not shown…
Cross-Language Confusion (JS/TS)58 hits · 361 pts
SeverityFileLineSnippet
HIGHmupdf/docs/examples/pdf-extract-rich-media.js4 print("usage: mutool run pdf-extract-rich-media.js input.pdf [index filename]");
HIGHmupdf/docs/examples/pdf-extract-rich-media.js5 print(" List embedded rich media, or extract an embedded rich media file from a PDF document.")
HIGHmupdf/docs/examples/pdf-extract-rich-media.js54 print(idx, name.asString());
HIGHmupdf/docs/examples/pdf-extract-rich-media.js55 print("\tFilename:", fileNameFromFS(fs));
HIGHmupdf/docs/examples/pdf-extract-rich-media.js57 print("\tDescription:", fs.Desc.asString());
HIGHmupdf/docs/examples/pdf-extract-rich-media.js66 print("Saving embedded file", idx, "as:", scriptArgs[2]);
HIGHmupdf/docs/examples/copy-outline.js6 print("usage: mutool run copy-outline.js a.xps b.pdf output.pdf");
HIGHmupdf/docs/examples/trace-device.js14 print("beginSpan",f,m,wmode,bidi,dir,repr(lang));
HIGHmupdf/docs/examples/trace-device.js22 print("fillPath", evenOdd, ctm, colorSpace, color, alpha)
HIGHmupdf/docs/examples/trace-device.js26 print("clipPath", evenOdd, ctm)
HIGHmupdf/docs/examples/trace-device.js30 print("strokePath", Q(stroke), ctm, colorSpace, color, alpha)
HIGHmupdf/docs/examples/trace-device.js34 print("clipStrokePath", Q(stroke), ctm)
HIGHmupdf/docs/examples/trace-device.js39 print("fillText", ctm, colorSpace, color, alpha)
HIGHmupdf/docs/examples/trace-device.js43 print("clipText", ctm)
HIGHmupdf/docs/examples/trace-device.js47 print("strokeText", Q(stroke), ctm, colorSpace, color, alpha)
HIGHmupdf/docs/examples/trace-device.js51 print("clipStrokeText", Q(stroke), ctm)
HIGHmupdf/docs/examples/trace-device.js55 print("ignoreText", ctm)
HIGHmupdf/docs/examples/trace-device.js60 print("fillShade", shade, ctm, alpha)
HIGHmupdf/docs/examples/trace-device.js63 print("fillImage", image, ctm, alpha)
HIGHmupdf/docs/examples/trace-device.js66 print("fillImageMask", image, ctm, colorSpace, color, alpha)
HIGHmupdf/docs/examples/trace-device.js69 print("clipImageMask", image, ctm)
HIGHmupdf/docs/examples/trace-device.js73 print("beginMask", area, luminosity, colorspace, color)
HIGHmupdf/docs/examples/trace-device.js76 print("endMask")
HIGHmupdf/docs/examples/trace-device.js80 print("popClip")
HIGHmupdf/docs/examples/trace-device.js84 print("beginGroup", area, isolated, knockout, blendmode, alpha)
HIGHmupdf/docs/examples/trace-device.js87 print("endGroup")
HIGHmupdf/docs/examples/trace-device.js90 print("beginTile", area, view, xstep, ystep, ctm, id)
HIGHmupdf/docs/examples/trace-device.js94 print("endTile")
HIGHmupdf/docs/examples/trace-device.js97 print("beginLayer", name)
HIGHmupdf/docs/examples/trace-device.js100 print("endLayer")
HIGHmupdf/docs/examples/trace-device.js103 print("beginStructure", structure, raw, uiw)
HIGHmupdf/docs/examples/trace-device.js106 print("endStructure")
HIGHmupdf/docs/examples/trace-device.js109 print("beginMetatext", meta, metatext)
HIGHmupdf/docs/examples/trace-device.js112 print("endMetatext")
HIGHmupdf/docs/examples/trace-device.js116 print("renderFlags", set, clear)
HIGHmupdf/docs/examples/trace-device.js119 print("setDefaultColorSpaces", colorSpaces.getDefaultGray(),
HIGHmupdf/docs/examples/trace-device.js125 print("close")
HIGHmupdf/docs/examples/trace-device.js130 print("usage: mutool run trace-device.js document.pdf pageNumber")
HIGHmupdf/docs/examples/pdf-merge.js36 print("usage: mutool run pdf-merge.js output.pdf input1.pdf input2.pdf ...")
HIGHmupdf/docs/examples/pdf-trace.js39 print("/"+name, "gs");
HIGHmupdf/docs/examples/pdf-trace.js41 print("%", k, v);
HIGHmupdf/docs/examples/pdf-trace.js93 print("[" + showArray(text) + "] TJ")
HIGHmupdf/docs/examples/jpx-to-pdf.js32 print("usage: mutool run jpx-to-pdf.js file.jpx ...");
HIGHmupdf/docs/examples/pdf-dejpx.js28 print("Loading JPX image:", i)
HIGHmupdf/docs/examples/pdf-dejpx.js43 print("Decompressed image:", i);
HIGHmupdf/docs/examples/import-fdf.js10 print("usage: mutool run import-fdf.js file.pdf data.fdf output.pdf")
HIGHmupdf/docs/examples/pdf-portfolio.js4 print("usage: mutool run pdf-portfolio.js input.pdf [index filename]");
HIGHmupdf/docs/examples/pdf-portfolio.js5 print(" List embedded files, or extract an embedded file from a PDF document.")
HIGHmupdf/docs/examples/pdf-portfolio.js12 print("Document has no embedded files!");
HIGHmupdf/docs/examples/pdf-portfolio.js45 print(idx, name.asString());
HIGHmupdf/docs/examples/pdf-portfolio.js46 print("\tFilename:", fileNameFromFS(fs));
HIGHmupdf/docs/examples/pdf-portfolio.js48 print("\tDescription:", fs.Desc.asString());
HIGHmupdf/docs/examples/pdf-portfolio.js57 print("Saving embedded file", idx, "as:", scriptArgs[2]);
HIGHmupdf/docs/examples/fix-s22pdf.js4 print("usage: mutool run fix-s22pdf.js input.pdf output.pdf");
HIGHmupdf/docs/examples/reconvert-cmyk.js7 print("usage: mutool run recolor-cmyk.js input.png output.png")
HIGHmupdf/docs/examples/bbox-device.js83 print("usage: mutool run bbox-device.js document.pdf pageNumber")
HIGHmupdf/docs/examples/bbox-device.js89 print("original bbox:", page.getBounds());
HIGHmupdf/docs/examples/bbox-device.js90 print("computed bbox:", bbox.map(function (x) { return Math.round(x); }));
AI Slop Vocabulary120 hits · 351 pts
SeverityFileLineSnippet
MEDIUMext/libdjvu/MMRDecoder.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/IFFByteStream.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuErrorList.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuGlobal.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GIFFManager.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuToPS.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVmNav.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GRect.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/JB2EncodeCodec.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuFileCache.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/XMLTags.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuDocEditor.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GContainer.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuGlobal.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/IW44EncodeCodec.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuPalette.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/debug.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuErrorList.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GScaler.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuImage.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/XMLParser.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVmDoc.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GScaler.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuImage.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GURL.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuDumpHelper.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuMessageLite.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVmNav.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/MMX.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVmDir0.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/ddjvuapi.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/IW44Image.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GUnicode.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/JPEGDecoder.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/MMX.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GMapAreas.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuNavDir.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVmDir0.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVmDir.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GThreads.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DataPool.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVmDir.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/JB2Image.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/BSByteStream.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuAnno.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuAnno.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GException.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuMessage.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/JPEGDecoder.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/XMLTags.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GIFFManager.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuInfo.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuDocument.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuText.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuDumpHelper.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/BSEncodeByteStream.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DataPool.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuInfo.cpp47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/GThreads.h47//C- | any greater extent that may be necessary to utilize further
MEDIUMext/libdjvu/DjVuPort.cpp47//C- | any greater extent that may be necessary to utilize further
60 more matches not shown…
Cross-Language Confusion37 hits · 142 pts
SeverityFileLineSnippet
HIGHcmd/scripts/gen_htmlparserlookup.py91 output.append(' if (%d == len && CS%d(%s) == STR%di(name + 4)) return %s;' %
HIGHcmd/scripts/gen_htmlparserlookup.py94 output.append(' if (%d == len && str::EqNI(name + 4, "%s", %d)) return %s;' %
HIGHext/freetype/src/tools/glnames.py5387 if ( name == 0 || name >= limit )
HIGHext/harfbuzz/src/gen-tag-table.py1034print (" if (!p || p >= limit || limit - p < %i) goto out;" % min_subtag_len)
HIGHext/harfbuzz/src/gen-tag-table.py1062 print (' for (i = 0; i < %s && i < *count; i++)' % len (tags))
HIGHext/harfbuzz/src/gen-tag-table.py1114 print (' for (i = 0; i < %s && i < *count; i++)' % len (tags))
HIGHext/harfbuzz/src/gen-vowel-constraints.py210 print (' for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;)')
HIGHmupdf/scripts/jlib.py1532 >>> system('echo hello c && false', prefix='foo:', out='return', env_extra=dict(FOO='bar qwerty'))
HIGHmupdf/scripts/jlib.py1534 Exception: Command failed: FOO='bar qwerty' echo hello c && false
HIGHmupdf/scripts/jlib.py1808 f'cd {directory} && (PAGER= git show --pretty=oneline|head -n 1 && git diff)',
HIGHmupdf/scripts/pipcl.py252 ... f'. pipcl_test/pylocal/bin/activate && pip install pipcl_test/dist/*.whl',
HIGHmupdf/scripts/pipcl.py257 ... f'. pipcl_test/pylocal/bin/activate && foo_cli',
HIGHmupdf/scripts/wrap/make_cppyy.py561 # (where fz_parse_page_range() returns null).
HIGHmupdf/scripts/wrap/make_cppyy.py564 # returns null, so we can detect whether null was returned by
HIGHmupdf/scripts/wrap/cpp.py5005 assert(offset >= 0 && offset < 1000);
HIGHmupdf/scripts/wrap/cpp.py5006 assert(m_size == 32 || m_size == 16 || m_size == 8 || m_size == -1);
HIGHmupdf/scripts/wrap/cpp.py5079 if ( n && refs < n)
HIGHmupdf/scripts/wrap/classes.py1404 return true
HIGHmupdf/scripts/wrap/classes.py1879 comment = '/* Default constructor sets .text to null, .type to PDF_LAYER_UI_LABEL, and other fie
HIGHmupdf/scripts/wrap/parse.py330 # .up member is null, so we don't attempt to
HIGHmupdf/scripts/wrap/swig.py1558 # text) does not work - results in "(null)" being output.)
HIGHmupdf/scripts/wrap/swig.py795 if (1 || g_mupdf_trace_director)
HIGHmupdf/scripts/wrap/__main__.py2604 system( 'rm pyproject.toml || true')
HIGHmupdf/scripts/wrap/__main__.py2605 system( 'ls -l pyproject.toml || true')
HIGHmupdf/scripts/wrap/__main__.py2607 '(rm -r pylocal-multi wheels || true)'
HIGHmupdf/scripts/wrap/__main__.py2614 system( '. pylocal-multi/bin/activate && pip install --upgrade pip')
HIGHmupdf/scripts/wrap/__main__.py2616 system( '. pylocal-multi/bin/activate && pip install check-wheel-contents')
HIGHmupdf/scripts/wrap/__main__.py2617 system( '. pylocal-multi/bin/activate && pip wheel --wheel-dir wheels dist/*
HIGHmupdf/scripts/wrap/__main__.py2618 system( '. pylocal-multi/bin/activate && check-wheel-contents wheels/*')
HIGHmupdf/scripts/wrap/__main__.py2619 system( '. pylocal-multi/bin/activate && pip install wheels/*')
HIGHmupdf/scripts/wrap/__main__.py2621 system( '. pylocal-multi/bin/activate && pip install dist/*')
HIGHmupdf/scripts/wrap/__main__.py2623 system( '. pylocal-multi/bin/activate && python -m mupdf')
HIGHmupdf/scripts/wrap/__main__.py2314 f'cd {out_dir}/python && LD_LIBRARY_PATH={ld_library_path} PYTHONPATH={pythonpath} pydoc3 -w {input_
HIGHmupdf/scripts/wrap/__main__.py2586 system( '(rm -r pylocal-multi dist || true)')
HIGHmupdf/scripts/wrap/__main__.py2952 f'cd ../PyMuPDF/tests && py.test-3 {opts}',
HIGHmupdf/scripts/wrap/__main__.py2962 f'cd ../PyMuPDF/tests && py.test-3 {opts} {script}',
HIGHmupdf/scripts/wrap/__main__.py2976 f'cd ../PyMuPDF/tests && py.test-3 {opts} {tests}',
Deep Nesting91 hits · 84 pts
SeverityFileLineSnippet
LOWcmd/scripts/SquareTree.py33
LOWcmd/scripts/gen_htmlparserlookup.py74
LOWcmd/scripts/metadata/gen_txt.py164
LOWtools/efi/efiparse.py390
LOWext/freetype/src/tools/make_distribution_archives.py33
LOWext/brotli/research/brotlidump.py24
LOWext/brotli/research/brotlidump.py1216
LOWext/brotli/research/brotlidump.py1387
LOWext/brotli/research/brotlidump.py1460
LOWext/brotli/research/brotlidump.py1783
LOWext/brotli/python/tests/decompressor_test.py43
LOW…i/scripts/dictionary/step-04-generate-java-literals.py56
LOWext/harfbuzz/src/gen-arabic-table.py48
LOWext/harfbuzz/src/gen-arabic-table.py167
LOWext/harfbuzz/src/gen-tag-table.py1143
LOWext/harfbuzz/src/gen-tag-table.py353
LOWext/harfbuzz/src/gen-tag-table.py412
LOWext/harfbuzz/src/gen-tag-table.py461
LOWext/harfbuzz/src/gen-tag-table.py559
LOWext/harfbuzz/src/gen-vowel-constraints.py85
LOWext/gumbo-parser/python/gumbo/html5lib_adapter.py100
LOWext/extract/src/memento.py24
LOWext/extract/src/docx_template_build.py104
LOWmupdf/scripts/cmapclean.py10
LOWmupdf/scripts/jlib.py41
LOWmupdf/scripts/jlib.py499
LOWmupdf/scripts/jlib.py1285
LOWmupdf/scripts/jlib.py1410
LOWmupdf/scripts/jlib.py1936
LOWmupdf/scripts/jlib.py2124
LOWmupdf/scripts/jlib.py2263
LOWmupdf/scripts/jlib.py98
LOWmupdf/scripts/glyphdump.py15
LOWmupdf/scripts/mutool.py69
LOWmupdf/scripts/mutool.py187
LOWmupdf/scripts/mutool.py301
LOWmupdf/scripts/makesubset.py27
LOWmupdf/scripts/pipcl.py1301
LOWmupdf/scripts/pipcl.py2045
LOWmupdf/scripts/pipcl.py2186
LOWmupdf/scripts/pipcl.py2305
LOWmupdf/scripts/pipcl.py702
LOWmupdf/scripts/pipcl.py947
LOWmupdf/scripts/pipcl.py1877
LOWmupdf/scripts/mupdfwrap_test.py41
LOWmupdf/scripts/mupdfwrap_test.py211
LOWmupdf/scripts/cmapflatten.py10
LOWmupdf/scripts/truetype_to_unicode.py49
LOWmupdf/scripts/mupdfwrap_gui.py241
LOWmupdf/scripts/mupdfwrap_gui.py122
LOWmupdf/scripts/mutool_draw.py422
LOWmupdf/scripts/mutool_draw.py729
LOWmupdf/scripts/mutool_draw.py895
LOWmupdf/scripts/wdev.py35
LOWmupdf/scripts/wdev.py255
LOWmupdf/scripts/cmapdump.py10
LOWmupdf/scripts/wrap/cpp.py181
LOWmupdf/scripts/wrap/cpp.py275
LOWmupdf/scripts/wrap/cpp.py578
LOWmupdf/scripts/wrap/cpp.py1767
31 more matches not shown…
Self-Referential Comments30 hits · 74 pts
SeverityFileLineSnippet
MEDIUMext/lcms2/ltmain.sh77# This file is dual licensed under the terms of the MIT license
MEDIUMext/lcms2/ltmain.sh1541# This file is dual licensed under the terms of the MIT license
MEDIUMext/lcms2/ltmain.sh1559# This file is a library for parsing options in your shell scripts along
MEDIUMext/lcms2/ltmain.sh2741# This function is only a basic sanity check; it will hardly flush out
MEDIUMext/lcms2/ltmain.sh2751# This function implements the same check as func_lalib_p without
MEDIUMext/lcms2/ltmain.sh2774# This function is only a basic sanity check; it will hardly flush out
MEDIUMext/lcms2/ltmain.sh2784# This function is only a basic sanity check; it will hardly flush out
MEDIUMext/lcms2/ltmain.sh2809# This function is only a basic sanity check; it will hardly flush out
MEDIUMext/lcms2/ltmain.sh2949# Create a libtool object file (analogous to a ".la" file),
MEDIUMext/lcms2/ltmain.sh7746 # Create the object directory.
MEDIUMext/lcms2/ltmain.sh10425 # Create the old-style object.
MEDIUMext/lcms2/ltmain.sh10445 # Create an invalid libtool object if no PIC, so that we don't
MEDIUMext/freetype/modules.cfg6# This file is part of the FreeType project, and may only be used, modified,
MEDIUMext/freetype/autogen.sh6# This file is part of the FreeType project, and may only be used, modified,
MEDIUMext/freetype/src/tools/afblue.pl11# This file is part of the FreeType project, and may only be used,
MEDIUMext/freetype/src/tools/make_distribution_archives.py113 # Create a temporary directory, and ensure it is removed on exit.
MEDIUMext/freetype/src/tools/glnames.py9# This file is part of the FreeType project, and may only be used, modified,
MEDIUMext/libjpeg-turbo/ltmain.sh709 # Create a libtool object file (analogous to a ".la" file),
MEDIUMext/libjpeg-turbo/ltmain.sh1741 # Create the object directory.
MEDIUMext/libjpeg-turbo/ltmain.sh4041 # Create the old-style object.
MEDIUMext/libjpeg-turbo/ltmain.sh4071 # Create an invalid libtool object if no PIC, so that we don't
MEDIUMext/zlib/os400/make.sh164# Create the OS/400 library if it does not exist.
MEDIUMext/zlib/os400/make.sh172# Create the DOCS source file if it does not exist.
MEDIUMext/zlib/os400/make.sh194# Create the OS/400 source program file for the C header files.
MEDIUMext/zlib/os400/make.sh205# Create the IFS directory for the C header files.
MEDIUMext/libwebp/xcframeworkbuild.sh229 # Create a temporary target directory for each <platform>[-<variant>].
MEDIUMext/bzip2/xmlproc.sh5# This file is part of bzip2/libbzip2, a program and library for
MEDIUMext/bzip2/format.pl4# This file is part of bzip2/libbzip2, a program and library for
MEDIUMmupdf/scripts/zip.py2# Create a reproducible build ZIP archive.
MEDIUMmupdf/scripts/wrap/cpp.py612 # Define an internal Python function that will become the class method.
Hyper-Verbose Identifiers73 hits · 64 pts
SeverityFileLineSnippet
LOWcmd/trans-dl.ts38function extractStringsFromCFilesNoPaths(): string[] {
LOWcmd/trans-dl.ts53function extractStringsToTranslate(): string[] {
LOWcmd/trans-dl.ts206function autoAddNoPrefixTranslations(pt: ParsedTranslations): void {
LOWcmd/build-ci.ts410async function extractClassesAndGlobalsFromPDB(): Promise<void> {
LOWcmd/gen-docs.ts355function extractCommandsFromMarkdown(): string[] {
LOWcmd/gen-docs.ts376function checkCommandsAreDocumented(): void {
LOWcmd/check-access-keys.ts80function extractTranslationStrings(s: string): string[] {
LOWcmd/scripts/test-unarr.py81def strip_empty_lines_and_dedup(s, only_last=-1):
LOWcmd/scripts/metadata/gen_txt.py319def structs_from_top_level_value_rec(struct, structs):
LOWcmd/scripts/metadata/gen_txt.py369def gen_txt_for_top_level_val(top_level_val, file_path):
LOWtools/efi/efiparse.py101 def get_objname_by_sec_no_off(self, sec_no, sec_off):
LOWext/freetype/tests/scripts/download-test-fonts.py150def extract_file_from_zip_archive(
LOWext/freetype/tests/scripts/download-test-fonts.py200def download_and_install_item(
LOWext/brotli/python/tests/decompressor_test.py61 def _test_decompress_with_limit(self, test_data):
LOWext/brotli/python/tests/_test_utils.py71def get_temp_uncompressed_name(filename):
LOWext/brotli/python/tests/compressor_test.py53 def _test_multiple_process_and_flush(self, test_data):
LOWext/brotli/js/decode.ts39function calculateDistanceAlphabetSize(npostfix: number, ndirect: number, maxndistbits: number): number {
LOWext/brotli/js/decode.ts42function calculateDistanceAlphabetLimit(maxDistance: number, npostfix: number, ndirect: number): number {
LOWext/brotli/js/decode.ts268function inverseMoveToFrontTransform(v: Int8Array, vLen: number): void {
LOWext/brotli/js/decode.ts548function decodeDistanceBlockSwitch(s: State): void {
LOWext/brotli/js/decode.ts552function maybeReallocateRingBuffer(s: State): void {
LOWext/brotli/js/decode.ts648function readMetablockHuffmanCodesAndContextMaps(s: State): void {
LOWext/brotli/js/decode.ts802function initializeCompoundDictionary(s: State): void {
LOWext/brotli/js/decode.ts820function initializeCompoundDictionaryCopy(s: State, address: number, length: number): void {
LOWext/brotli/js/decode.ts839function copyFromCompoundDictionary(s: State, fence: number): number {
LOWext/brotli/js/decode.js67 function calculateDistanceAlphabetSize(npostfix, ndirect, maxndistbits) {
LOWext/brotli/js/decode.js76 function calculateDistanceAlphabetLimit(maxDistance, npostfix, ndirect) {
LOWext/brotli/js/decode.js361 function inverseMoveToFrontTransform(v, vLen) {
LOWext/brotli/js/decode.js701 function decodeDistanceBlockSwitch(s) {
LOWext/brotli/js/decode.js709 function maybeReallocateRingBuffer(s) {
LOWext/brotli/js/decode.js824 function readMetablockHuffmanCodesAndContextMaps(s) {
LOWext/brotli/js/decode.js1006 function initializeCompoundDictionary(s) {
LOWext/brotli/js/decode.js1030 function initializeCompoundDictionaryCopy(s, address, length) {
LOWext/brotli/js/decode.js1054 function copyFromCompoundDictionary(s, fence) {
LOWext/harfbuzz/src/gen-tag-table.py461 def inherit_from_macrolanguages (self):
LOWext/harfbuzz/src/gen-tag-table.py642 def remove_extra_macrolanguages (self):
LOWext/harfbuzz/src/gen-tag-table.py926def language_name_intersection (a, b):
LOWext/harfbuzz/src/gen-tag-table.py940def get_matching_language_name (intersection, candidates):
LOWext/harfbuzz/src/gen-tag-table.py1143def verify_disambiguation_dict ():
LOWext/harfbuzz/src/hb-unicode.h354typedef hb_unicode_combining_class_t (*hb_unicode_combining_class_func_t) (hb_unicode_funcs_t *ufuncs,
LOWext/harfbuzz/src/hb-unicode.h372typedef hb_unicode_general_category_t (*hb_unicode_general_category_func_t) (hb_unicode_funcs_t *ufuncs,
LOWext/dav1d/src/recon.h54typedef decl_backup_ipred_edge_fn(*backup_ipred_edge_fn);
LOWext/dav1d/src/filmgrain.h55typedef decl_generate_grain_uv_fn(*generate_grain_uv_fn);
LOWmupdf/setup.py532def get_requires_for_build_wheel(config_settings=None):
LOWmupdf/docs/conf.py7def get_mupdf_version_from_header():
LOWmupdf/docs/conf.py24def get_mupdf_version_from_git():
LOWmupdf/scripts/mupdfwrap_test.py146def test_install_load_system_font(path):
LOWmupdf/scripts/wrap/cpp.py578def make_python_class_method_outparam_override(
LOWmupdf/scripts/wrap/cpp.py2482def class_find_constructor_fns( tu, classname, struct_name, base_name, extras):
LOWmupdf/scripts/wrap/cpp.py2576def class_find_destructor_fns( tu, struct_name, base_name):
LOWmupdf/scripts/wrap/cpp.py2625def class_constructor_default(
LOWmupdf/scripts/wrap/cpp.py2804def function_name_implies_kept_references( fnname):
LOWmupdf/scripts/wrap/cpp.py2837def function_wrapper_class_aware_body(
LOWmupdf/scripts/wrap/cpp.py3081def function_wrapper_class_aware(
LOWmupdf/scripts/wrap/cpp.py4148def class_wrapper_virtual_fnptrs(
LOWmupdf/scripts/wrap/csharp.py16def make_outparam_helper_csharp(
LOWmupdf/scripts/wrap/python.py14def make_outparam_helper_python(
LOWmupdf/scripts/wrap/python.py69def cppyy_add_outparams_wrapper(
LOWmupdf/scripts/wrap/parse.py900def find_class_for_wrappable_function( fn_name):
LOWmupdf/scripts/wrap/swig.py1246 def ll_fz_buffer_extract_copy( buffer):
13 more matches not shown…
Synthetic Comment Markers7 hits · 48 pts
SeverityFileLineSnippet
HIGHext/libwebp/imageio/webpdec.c217 // Need to wipe out the alpha value, as requested.
HIGHext/extract/src/docx_template.c1/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */
HIGHext/extract/src/docx_template_build.py155 out_c.write(f'/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */\n')
HIGHext/extract/src/docx_template_build.py242 out_h.write(f'/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */\n')
HIGHext/extract/src/odt_template.h4/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */
HIGHext/extract/src/docx_template.h4/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */
HIGHext/extract/src/odt_template.c1/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */
Excessive Try-Catch Wrapping35 hits · 30 pts
SeverityFileLineSnippet
LOWext/extract/src/docx_template_build.py94 except Exception:
LOWmupdf/scripts/jlib.py153 except Exception as e:
LOWmupdf/scripts/jlib.py1610 except Exception as e:
LOWmupdf/scripts/jlib.py1983 except Exception:
LOWmupdf/scripts/jlib.py2007 except Exception:
LOWmupdf/scripts/jlib.py2214 except Exception:
MEDIUMmupdf/scripts/jlib.py1929def fs_filesize( filename, default=0):
LOWmupdf/scripts/mutool.py110 except Exception as e:
LOWmupdf/scripts/mutool.py378 except Exception as e:
LOWmupdf/scripts/pipcl.py1933 except Exception as e:
LOWmupdf/scripts/pipcl.py2167 except Exception:
LOWmupdf/scripts/mupdfwrap_test.py135 except Exception as e:
LOWmupdf/scripts/mupdfwrap_test.py246 except Exception as e:
LOWmupdf/scripts/mupdfwrap_test.py422 except Exception:
LOWmupdf/scripts/mupdfwrap_gui.py176 except Exception as e:
LOWmupdf/scripts/mupdfwrap_gui.py225 except Exception as e:
LOWmupdf/scripts/mutool_draw.py165 except Exception:
LOWmupdf/scripts/mutool_draw.py1056 except Exception as e:
LOWmupdf/scripts/mutool_draw.py1216 except Exception as e:
LOWmupdf/scripts/mutool_draw.py1222 except Exception as e:
MEDIUMmupdf/scripts/mutool_draw.py162def stat_mtime(path):
LOWmupdf/scripts/wdev.py167 except Exception as e:
LOWmupdf/scripts/wrap/make_cppyy.py136 except Exception as e:
LOWmupdf/scripts/wrap/make_cppyy.py151 except Exception as e:
LOWmupdf/scripts/wrap/make_cppyy.py157 except Exception as e:
LOWmupdf/scripts/wrap/cpp.py5330 except Exception as e:
LOWmupdf/scripts/wrap/parse.py412 except Exception:
MEDIUMmupdf/scripts/wrap/parse.py409def or_none(f):
LOWmupdf/scripts/wrap/swig.py1100 except Exception:
LOWmupdf/scripts/wrap/swig.py1112 except Exception:
LOWmupdf/scripts/wrap/swig.py1503 except Exception as e:
LOWmupdf/scripts/wrap/__main__.py2624 except Exception as ee:
LOWmupdf/scripts/wrap/__main__.py1286 except Exception as e:
LOWmupdf/scripts/wrap/__main__.py3092 except Exception:
LOWmupdf/scripts/wrap/state.py17except Exception as e:
Unused Imports22 hits · 22 pts
SeverityFileLineSnippet
LOWext/freetype/tests/scripts/download-test-fonts.py7
LOWext/freetype/src/tools/make_distribution_archives.py4
LOWext/brotli/research/brotlidump.py11
LOWext/brotli/research/brotlidump.py12
LOWext/brotli/research/brotlidump.py12
LOWext/brotli/research/brotlidump.py13
LOWext/brotli/python/bro.py7
LOWext/brotli/python/tests/_test_utils.py1
LOWext/harfbuzz/src/gen-arabic-joining-list.py10
LOWext/gumbo-parser/python/gumbo/__init__.py33
LOWext/gumbo-parser/python/gumbo/__init__.py36
LOWext/gumbo-parser/python/gumbo/__init__.py42
LOWext/extract/src/docx_template_build.py31
LOWmupdf/scripts/jlib.py17
LOWmupdf/scripts/pipcl.py25
LOWmupdf/scripts/mupdfwrap_test.py9
LOWmupdf/scripts/wrap/rename.py5
LOWmupdf/scripts/wrap/python.py11
LOWmupdf/scripts/wrap/__main__.py905
LOWmupdf/scripts/wrap/__main__.py906
LOWmupdf/scripts/wrap/state.py5
LOWmupdf/scripts/wrap/state.py8
Dead Code10 hits · 20 pts
SeverityFileLineSnippet
MEDIUMmupdf/scripts/wrap/rename.py71
MEDIUMmupdf/scripts/wrap/rename.py73
MEDIUMmupdf/scripts/wrap/rename.py74
MEDIUMmupdf/scripts/wrap/rename.py77
MEDIUMmupdf/scripts/wrap/rename.py120
MEDIUMmupdf/scripts/wrap/rename.py137
MEDIUMmupdf/scripts/wrap/rename.py139
MEDIUMmupdf/scripts/wrap/rename.py140
MEDIUMmupdf/scripts/wrap/rename.py141
MEDIUMmupdf/scripts/wrap/rename.py144
Slop Phrases10 hits · 16 pts
SeverityFileLineSnippet
LOWext/libdjvu/DjVuDocEditor.cpp662 // included child. Don't forget to modify the contents of INCL
MEDIUMext/freetype/include/freetype/fterrors.h78 * Here is a simple example.
MEDIUMext/freetype/include/freetype/freetype.h1385 * for demonstration purposes.
LOWext/freetype/include/freetype/internal/ftrfork.h35 /* Don't forget to increment the number if you add a new guessing rule. */
LOWext/openjpeg/src/lib/openjp2/t2.c584 /* don't forget to release pi */
LOWext/brotli/research/brotlidump.py351 """Don't forget to set either alphabetSize or decodeTable
MEDIUMext/harfbuzz/docs/usermanual-clusters.xml258 As mentioned earlier, client programs using HarfBuzz often
LOWext/libwebp/examples/unicode.h109// Don't forget to free wargv before returning (e.g. from main).
LOWmupdf/include/mupdf/fitz/device.h398 Don't forget to call fz_close_device before dropping the device,
LOWmupdf/include/mupdf/fitz/output.h256 Free an output stream. Don't forget to close it first!
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippet
HIGHext/freetype/tests/scripts/download-test-fonts.py156Extract a file from a given zipfile.ZipFile archive. Args: archive: Input ZipFile objec. archive_name:
HIGHext/brotli/python/brotli.py26Compress a byte string. Args: string (bytes): The input data. mode (int, optional): The compression mod
HIGHmupdf/scripts/wrap/__main__.py3 Support for generating C++ and python wrappers for the mupdf API. Overview: We generate C++, Python and C# wrappe
Verbosity Indicators8 hits · 12 pts
SeverityFileLineSnippet
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 the
LOWext/libdjvu/BSEncodeByteStream.cpp652 // Step 1: Radix sort
LOWext/libdjvu/BSEncodeByteStream.cpp664 // Step 2: Perform presort to depth PRESORT_DEPTH
LOWext/libdjvu/BSEncodeByteStream.cpp676 // Step 3: Perform rank doubling
LOWext/libdjvu/BSEncodeByteStream.cpp720 // Step 4: Permute data
LOWext/libdjvu/DjVuDocEditor.cpp1593 // The purpose of this function is to create files containing
LOWext/synctex/synctex_parser.c4800/* The purpose of this function is to read a string.
LOWsrc/MainWindow.cpp750// could have been destroyed so we need to check if it's still valid
Redundant / Tautological Comments12 hits · 10 pts
SeverityFileLineSnippet
LOWext/lcms2/ltmain.sh379# Check if we can use backslash as IFS='\' separator, and set
LOWext/lcms2/ltmain.sh666# Set func_arith_result to the result of evaluating TERMs.
LOWext/lcms2/ltmain.sh690# Set func_basename_result to FILE with everything up to and including
LOWext/lcms2/ltmain.sh856# Set func_len_result to the length of STRING. STRING may not
LOWext/lcms2/ltmain.sh1074# Set func_relative_path_result to the relative path from SRCDIR to DSTDIR.
LOWext/lcms2/ltmain.sh4153 # Check if any of the arguments is a wrapper script.
LOWext/lcms2/ltmain.sh10148 # Loop over the list of objects to be linked.
LOWext/libjpeg-turbo/ltmain.sh3801 # Loop over the list of objects to be linked.
LOWext/libjpeg-turbo/ltmain.sh5955 # Check if any of the arguments is a wrapper script.
LOWext/zlib/os400/make.sh66# Set LINK to "YES" if the module has been compiled.
LOWmupdf/scripts/wrap/__main__.py969 # Set fz_items to map name to info about function/struct.
LOWmupdf/scripts/wrap/__main__.py995 # Set uses_structs to true if fn returns a fz struct or any
Fake / Example Data2 hits · 3 pts
SeverityFileLineSnippet
LOWmupdf/source/fitz/stext-para.c305 * Lorem ipsum dolor sit
LOWsrc/Menu.cpp1919// We only want the "path.pdf" / "foo@bar.com"
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWext/libwebp/examples/img2webp.c13// Example usage: