SumatraPDF reader
This report summarizes scanner evidence for sumatrapdfreader/sumatrapdf, a C project with 17,895 GitHub stars. SynthScan examined 2,102,693 lines of code across 4441 source files, recording 4019 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 2.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 3803 finding(s).
Are imports declared and package/API names verified? 151 finding(s).
Are wrappers, guards, and repeated structures necessary? 134 finding(s).
Which changes need focused human review? 4019 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 4019 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/ng-deb.ts | 1 | // Builds the ng release and packs it as a .deb for the Ubuntu / Debian it | COMMENT |
| LOW | cmd/fedora-run.ts | 1 | // Builds SumatraPDF ng under Fedora (from Windows: in the Fedora WSL distro) | COMMENT |
| LOW | cmd/ng-crashes.ts | 1 | // List, download and symbolicate crash reports of the ng macOS build. | COMMENT |
| LOW | cmd/ng-update-gpui.ts | 1 | // Vendor gpui-kit-cpp-dist into ext/gpui. | COMMENT |
| LOW | cmd/trans-gen.ts | 141 | struct LangInfo { | COMMENT |
| LOW | cmd/ng-build.ts | 1 | // The single build entry point. Compiles and links targets from | COMMENT |
| LOW | cmd/crashes.ts | 1 | // List minidumps from the crash server, download missing dumps, run cdb. | COMMENT |
| LOW | cmd/dbg.ts | 1 | import { existsSync, readdirSync } from "node:fs"; | COMMENT |
| LOW | cmd/check-access-keys.ts | 1 | // Looks for access key collisions in menus and dialogs, in every translation. | COMMENT |
| LOW | cmd/fedora-install.ts | 1 | // Builds SumatraPDF ng under Fedora (from Windows: in the Fedora WSL distro) | COMMENT |
| LOW | cmd/upload-fonts.ts | 1 | // Upload ext/mupdf/resources/fonts to R2 and write src/shared/mupdf/fonts_map.c. | COMMENT |
| LOW | cmd/ng-dbg-control.ts | 1 | // Command-line client for the app's automation channel (`-dbg-control <pipe>`, | COMMENT |
| LOW | cmd/helper/ng-targets.ts | 221 | COMMENT | |
| LOW | cmd/helper/ng-targets.ts | 241 | #ifdef __APPLE__ | COMMENT |
| LOW | cmd/helper/ng-targets.ts | 261 | #define HAVE_DIRENT_H 1 | COMMENT |
| LOW | cmd/helper/ng-targets.ts | 281 | #define HAVE_STRERROR 1 | COMMENT |
| LOW | cmd/helper/ng-targets.ts | 301 | #define HAVE_OPENAT 1 | COMMENT |
| LOW | cmd/helper/ng-targets.ts | 321 | #define HAVE_DECL_SSIZE_MAX 1 | COMMENT |
| LOW | cmd/helper/ng-targets.ts | 341 | #endif | COMMENT |
| LOW | cmd/helper/ng-targets.ts | 521 | ].map((n) => `ext/dav1d/src/x86/${n}.asm`); | COMMENT |
| LOW | .zed/tasks.json | 1 | // Project tasks configuration. See https://zed.dev/docs/tasks for documentation. | COMMENT |
| LOW | .zed/tasks.json | 21 | "reveal": "always", | COMMENT |
| LOW | .zed/tasks.json | 41 | // "with_arguments": { | COMMENT |
| LOW | ext/darkmodelib/include/Darkmodelib.h | 21 | COMMENT | |
| LOW | ext/darkmodelib/dmlib_demo/resource.h | 1 | //{{NO_DEPENDENCIES}} | COMMENT |
| LOW | ext/darkmodelib/dmlib_demo/resource.h | 21 | #define IDM_CLASSIC 32777 | COMMENT |
| LOW | ext/darkmodelib/dmlib_demo/demo.cpp | 21 | #include <array> | COMMENT |
| LOW | ext/darkmodelib/src/IatHook.h | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | ext/darkmodelib/src/IatHook.h | 21 | #include <cstring> | COMMENT |
| LOW | ext/darkmodelib/src/DmlibIni.cpp | 21 | #include <algorithm> | COMMENT |
| LOW | ext/darkmodelib/src/DmlibSubclassControl.cpp | 21 | #include <vssym32.h> | COMMENT |
| LOW | ext/darkmodelib/src/Version.h | 21 | #define DM_VERSION "Darkmodelib v0.76.0" | COMMENT |
| LOW | ext/darkmodelib/src/StdAfx.h | 41 | DWMSBT_TABBEDWINDOW = 4, | COMMENT |
| LOW | ext/darkmodelib/src/Darkmodelib.cpp | 21 | COMMENT | |
| LOW | ext/darkmodelib/src/Darkmodelib.cpp | 41 | #include "DmlibColor.h" | COMMENT |
| LOW | ext/darkmodelib/src/MemoryHelperDef.h | 21 | #else | COMMENT |
| LOW | ext/darkmodelib/src/MemoryHelper.h | 61 | #pragma warning(push) | COMMENT |
| LOW | ext/darkmodelib/src/DmlibDpi.h | 21 | COMMENT | |
| LOW | ext/darkmodelib/src/DmlibSubclassWindow.cpp | 21 | #include <vssym32.h> | COMMENT |
| LOW | ext/darkmodelib/src/UAHMenuBar.h | 1 | // SPDX-License-Identifier: MIT | COMMENT |
| LOW | ext/liblzma/config.h | 21 | /* Decoders needed for 7zip support */ | COMMENT |
| LOW | ext/liblzma/validate_map.sh | 1 | #!/bin/sh | COMMENT |
| LOW | ext/liblzma/validate_map.sh | 21 | # In 5.1.2alpha these symbols are under XZ_5.1.2alpha in liblzma.map. | COMMENT |
| LOW | ext/liblzma/validate_map.sh | 41 | # symbols that were listed under XZ_5.2 before the patch. | COMMENT |
| LOW | ext/liblzma/validate_map.sh | 61 | # using new APIs can be compiled without an extra #define. However, | COMMENT |
| LOW | ext/liblzma/validate_map.sh | 101 | *alpha | *beta) | COMMENT |
| LOW | ext/liblzma/config_linux.h | 1 | /* config.h for building bundled liblzma on Linux (decoder subset). */ | COMMENT |
| LOW | ext/liblzma/config_macos.h | 1 | /* config.h for building bundled liblzma on macOS (decoder subset). */ | COMMENT |
| LOW | ext/liblzma/delta/delta_decoder.c | 1 | // SPDX-License-Identifier: 0BSD | COMMENT |
| LOW | ext/liblzma/delta/delta_common.h | 1 | // SPDX-License-Identifier: 0BSD | COMMENT |
| LOW | ext/liblzma/delta/delta_encoder.h | 1 | // SPDX-License-Identifier: 0BSD | COMMENT |
| LOW | ext/liblzma/delta/delta_decoder.h | 1 | // SPDX-License-Identifier: 0BSD | COMMENT |
| LOW | ext/liblzma/delta/delta_private.h | 1 | // SPDX-License-Identifier: 0BSD | COMMENT |
| LOW | ext/liblzma/delta/delta_common.c | 1 | // SPDX-License-Identifier: 0BSD | COMMENT |
| LOW | ext/liblzma/delta/delta_encoder.c | 1 | // SPDX-License-Identifier: 0BSD | COMMENT |
| LOW | ext/liblzma/rangecoder/range_decoder.h | 1 | // SPDX-License-Identifier: 0BSD | COMMENT |
| LOW | ext/liblzma/rangecoder/range_decoder.h | 21 | // If more than one version is selected for the same feature, | COMMENT |
| LOW | ext/liblzma/rangecoder/range_decoder.h | 41 | // - Brancless C (0x003) can be better than basic on x86-64 but often it's | COMMENT |
| LOW | ext/liblzma/rangecoder/range_decoder.h | 421 | // It should be tested on other archs for which there isn't assembly code | COMMENT |
| LOW | ext/liblzma/rangecoder/range_decoder.h | 481 | // This is the smallest variant which is also used by LZMA SDK. | COMMENT |
| 3561 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ext/mupdf/docs/examples/pdf-extract-rich-media.js | 4 | print("usage: mutool run pdf-extract-rich-media.js input.pdf [index filename]"); | CODE |
| HIGH | ext/mupdf/docs/examples/pdf-extract-rich-media.js | 5 | print(" List embedded rich media, or extract an embedded rich media file from a PDF document.") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/pdf-extract-rich-media.js | 54 | print(idx, name.asString()); | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/pdf-extract-rich-media.js | 55 | print("\tFilename:", fileNameFromFS(fs)); | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/pdf-extract-rich-media.js | 57 | print("\tDescription:", fs.Desc.asString()); | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/pdf-extract-rich-media.js | 66 | print("Saving embedded file", idx, "as:", scriptArgs[2]); | CODE |
| HIGH | ext/mupdf/docs/examples/copy-outline.js | 6 | print("usage: mutool run copy-outline.js a.xps b.pdf output.pdf"); | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 14 | print("beginSpan",f,m,wmode,bidi,dir,repr(lang)); | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 22 | print("fillPath", evenOdd, ctm, colorSpace, color, alpha) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 26 | print("clipPath", evenOdd, ctm) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 30 | print("strokePath", Q(stroke), ctm, colorSpace, color, alpha) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 34 | print("clipStrokePath", Q(stroke), ctm) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 39 | print("fillText", ctm, colorSpace, color, alpha) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 43 | print("clipText", ctm) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 47 | print("strokeText", Q(stroke), ctm, colorSpace, color, alpha) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 51 | print("clipStrokeText", Q(stroke), ctm) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 55 | print("ignoreText", ctm) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 60 | print("fillShade", shade, ctm, alpha) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 63 | print("fillImage", image, ctm, alpha) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 66 | print("fillImageMask", image, ctm, colorSpace, color, alpha) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 69 | print("clipImageMask", image, ctm) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 73 | print("beginMask", area, luminosity, colorspace, color) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 76 | print("endMask") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 80 | print("popClip") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 84 | print("beginGroup", area, isolated, knockout, blendmode, alpha) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 87 | print("endGroup") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 90 | print("beginTile", area, view, xstep, ystep, ctm, id) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 94 | print("endTile") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 97 | print("beginLayer", name) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 100 | print("endLayer") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 103 | print("beginStructure", structure, raw, uiw) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 106 | print("endStructure") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 109 | print("beginMetatext", meta, metatext) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 112 | print("endMetatext") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 116 | print("renderFlags", set, clear) | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 119 | print("setDefaultColorSpaces", colorSpaces.getDefaultGray(), | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 125 | print("close") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/trace-device.js | 130 | print("usage: mutool run trace-device.js document.pdf pageNumber") | CODE |
| HIGH | ext/mupdf/docs/examples/pdf-merge.js | 36 | print("usage: mutool run pdf-merge.js output.pdf input1.pdf input2.pdf ...") | CODE |
| HIGH | ext/mupdf/docs/examples/pdf-trace.js | 39 | print("/"+name, "gs"); | CODE |
| HIGH | ext/mupdf/docs/examples/pdf-trace.js | 41 | print("%", k, v); | CODE |
| HIGH | ext/mupdf/docs/examples/pdf-trace.js | 93 | print("[" + showArray(text) + "] TJ") | CODE |
| HIGH | ext/mupdf/docs/examples/jpx-to-pdf.js | 32 | print("usage: mutool run jpx-to-pdf.js file.jpx ..."); | CODE |
| HIGH | ext/mupdf/docs/examples/pdf-dejpx.js | 28 | print("Loading JPX image:", i) | CODE |
| HIGH | ext/mupdf/docs/examples/pdf-dejpx.js | 43 | print("Decompressed image:", i); | CODE |
| HIGH | ext/mupdf/docs/examples/import-fdf.js | 10 | print("usage: mutool run import-fdf.js file.pdf data.fdf output.pdf") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/pdf-portfolio.js | 4 | print("usage: mutool run pdf-portfolio.js input.pdf [index filename]"); | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/pdf-portfolio.js | 5 | print(" List embedded files, or extract an embedded file from a PDF document.") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/pdf-portfolio.js | 12 | print("Document has no embedded files!"); | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/pdf-portfolio.js | 45 | print(idx, name.asString()); | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/pdf-portfolio.js | 46 | print("\tFilename:", fileNameFromFS(fs)); | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/pdf-portfolio.js | 48 | print("\tDescription:", fs.Desc.asString()); | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/pdf-portfolio.js | 57 | print("Saving embedded file", idx, "as:", scriptArgs[2]); | CODE |
| HIGH | ext/mupdf/docs/examples/fix-s22pdf.js | 4 | print("usage: mutool run fix-s22pdf.js input.pdf output.pdf"); | CODE |
| HIGH | ext/mupdf/docs/examples/reconvert-cmyk.js | 7 | print("usage: mutool run recolor-cmyk.js input.png output.png") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/bbox-device.js | 83 | print("usage: mutool run bbox-device.js document.pdf pageNumber") | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/bbox-device.js | 89 | print("original bbox:", page.getBounds()); | CODE |
| HIGH⚡ | ext/mupdf/docs/examples/bbox-device.js | 90 | print("computed bbox:", bbox.map(function (x) { return Math.round(x); })); | CODE |
| HIGH | tests/pdf-save-dedup-stream.ts | 37 | print("ok"); | CODE |
| HIGH | tests/issue-5665.js | 5 | print("got1:[" + a + "]"); | CODE |
| 45 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cmd/scripts/gen_htmlparserlookup.py | 132 | return tag >= Tag_H1 && tag <= Tag_H6; | CODE |
| HIGH | ext/mupdf/scripts/jlib.py | 1808 | f'cd {directory} && git show --pretty=oneline|head -n 1 && git diff', | CODE |
| HIGH | ext/mupdf/scripts/jlib.py | 1532 | >>> system('echo hello c && false', prefix='foo:', out='return', env_extra=dict(FOO='bar qwerty')) | STRING |
| HIGH | ext/mupdf/scripts/jlib.py | 1534 | Exception: Command failed: FOO='bar qwerty' echo hello c && false | STRING |
| HIGH | ext/mupdf/scripts/wrap/make_cppyy.py | 561 | # (where fz_parse_page_range() returns null). | STRING |
| HIGH | ext/mupdf/scripts/wrap/make_cppyy.py | 564 | # returns null, so we can detect whether null was returned by | STRING |
| HIGH | ext/mupdf/scripts/wrap/cpp.py | 5188 | assert(offset >= 0 && offset < 1000); | CODE |
| HIGH | ext/mupdf/scripts/wrap/cpp.py | 5189 | assert(m_size == 32 || m_size == 16 || m_size == 8 || m_size == -1); | CODE |
| HIGH | ext/mupdf/scripts/wrap/cpp.py | 5262 | if ( n && refs < n) | CODE |
| HIGH | ext/mupdf/scripts/wrap/classes.py | 1404 | return true | CODE |
| HIGH | ext/mupdf/scripts/wrap/classes.py | 1930 | comment = '/* Default constructor sets .text to null, .type to PDF_LAYER_UI_LABEL, and other fie | STRING |
| HIGH | ext/mupdf/scripts/wrap/parse.py | 330 | # .up member is null, so we don't attempt to | COMMENT |
| HIGH | ext/mupdf/scripts/wrap/swig.py | 1573 | # text) does not work - results in "(null)" being output.) | COMMENT |
| HIGH | ext/mupdf/scripts/wrap/swig.py | 797 | if (1 || g_mupdf_trace_director) | CODE |
| HIGH⚡ | ext/mupdf/scripts/wrap/__main__.py | 2662 | system( 'rm pyproject.toml || true') | STRING |
| HIGH⚡ | ext/mupdf/scripts/wrap/__main__.py | 2663 | system( 'ls -l pyproject.toml || true') | STRING |
| HIGH⚡ | ext/mupdf/scripts/wrap/__main__.py | 2665 | '(rm -r pylocal-multi wheels || true)' | STRING |
| HIGH⚡ | ext/mupdf/scripts/wrap/__main__.py | 2672 | system( '. pylocal-multi/bin/activate && pip install --upgrade pip') | STRING |
| HIGH⚡ | ext/mupdf/scripts/wrap/__main__.py | 2674 | system( '. pylocal-multi/bin/activate && pip install check-wheel-contents') | STRING |
| HIGH⚡ | ext/mupdf/scripts/wrap/__main__.py | 2675 | system( '. pylocal-multi/bin/activate && pip wheel --wheel-dir wheels dist/* | STRING |
| HIGH⚡ | ext/mupdf/scripts/wrap/__main__.py | 2676 | system( '. pylocal-multi/bin/activate && check-wheel-contents wheels/*') | STRING |
| HIGH⚡ | ext/mupdf/scripts/wrap/__main__.py | 2677 | system( '. pylocal-multi/bin/activate && pip install wheels/*') | STRING |
| HIGH⚡ | ext/mupdf/scripts/wrap/__main__.py | 2679 | system( '. pylocal-multi/bin/activate && pip install dist/*') | STRING |
| HIGH⚡ | ext/mupdf/scripts/wrap/__main__.py | 2681 | system( '. pylocal-multi/bin/activate && python -m mupdf') | STRING |
| HIGH | ext/mupdf/scripts/wrap/__main__.py | 2371 | f'cd {out_dir}/python && python -m pydoc -w {input_relpath}', | STRING |
| HIGH | ext/mupdf/scripts/wrap/__main__.py | 2644 | system( '(rm -r pylocal-multi dist || true)') | STRING |
| HIGH | ext/mupdf/scripts/wrap/__main__.py | 3019 | f'cd ../PyMuPDF/tests && py.test-3 {opts}', | STRING |
| HIGH | ext/mupdf/scripts/wrap/__main__.py | 3029 | f'cd ../PyMuPDF/tests && py.test-3 {opts} {script}', | STRING |
| HIGH | ext/mupdf/scripts/wrap/__main__.py | 3043 | f'cd ../PyMuPDF/tests && py.test-3 {opts} {tests}', | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmd/deps-build-defs.ts | 3 | // ── Library definitions ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-targets.ts | 742 | // ── third-party, group A: mupdf and its dependencies ────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-targets.ts | 1049 | // ── third-party, group B: archives, image codecs, misc ──────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-compile.ts | 74 | // ─── output layout ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-compile.ts | 116 | // ─── sources ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-compile.ts | 190 | // ─── flags ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-compile.ts | 381 | // ─── Linux pkg-config ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-compile.ts | 412 | // ─── dependency tracking ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-compile.ts | 468 | // ─── spawning ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-compile.ts | 519 | // ─── compile one target ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-compile.ts | 635 | // ─── Windows resources ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-compile.ts | 707 | // ─── archive and link ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-compile.ts | 935 | // ─── build a target and its dependencies ────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-toolchain.ts | 56 | // ─── Windows ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-toolchain.ts | 266 | // ─── Linux / macOS ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/helper/ng-toolchain.ts | 299 | // ─── wasm ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | ext/zlib-ng/CMakeLists.txt | 842 | #============================================================================ | COMMENT |
| MEDIUM | ext/zlib-ng/CMakeLists.txt | 844 | #============================================================================ | COMMENT |
| MEDIUM | ext/zlib-ng/CMakeLists.txt | 896 | #============================================================================ | COMMENT |
| MEDIUM | ext/zlib-ng/CMakeLists.txt | 898 | #============================================================================ | COMMENT |
| MEDIUM | ext/zlib-ng/CMakeLists.txt | 1112 | #============================================================================ | COMMENT |
| MEDIUM | ext/zlib-ng/CMakeLists.txt | 1114 | #============================================================================ | COMMENT |
| MEDIUM | src/ng/SumatraPDF.cpp | 6681 | // ─── single instance / reuse instance (orig's, Windows only) ────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/scripts/SquareTree.py | 33 | CODE | |
| LOW | cmd/scripts/metadata/gen_txt.py | 164 | CODE | |
| LOW | ext/mupdf/scripts/cmapclean.py | 10 | CODE | |
| LOW | ext/mupdf/scripts/jlib.py | 41 | CODE | |
| LOW | ext/mupdf/scripts/jlib.py | 499 | CODE | |
| LOW | ext/mupdf/scripts/jlib.py | 1285 | CODE | |
| LOW | ext/mupdf/scripts/jlib.py | 1410 | CODE | |
| LOW | ext/mupdf/scripts/jlib.py | 1937 | CODE | |
| LOW | ext/mupdf/scripts/jlib.py | 2125 | CODE | |
| LOW | ext/mupdf/scripts/jlib.py | 2264 | CODE | |
| LOW | ext/mupdf/scripts/jlib.py | 98 | CODE | |
| LOW | ext/mupdf/scripts/glyphdump.py | 15 | CODE | |
| LOW | ext/mupdf/scripts/mutool.py | 69 | CODE | |
| LOW | ext/mupdf/scripts/mutool.py | 187 | CODE | |
| LOW | ext/mupdf/scripts/mutool.py | 301 | CODE | |
| LOW | ext/mupdf/scripts/makesubset.py | 27 | CODE | |
| LOW | ext/mupdf/scripts/mupdfwrap_test.py | 41 | CODE | |
| LOW | ext/mupdf/scripts/mupdfwrap_test.py | 211 | CODE | |
| LOW | ext/mupdf/scripts/cmapflatten.py | 10 | CODE | |
| LOW | ext/mupdf/scripts/truetype_to_unicode.py | 49 | CODE | |
| LOW | ext/mupdf/scripts/mupdfwrap_gui.py | 241 | CODE | |
| LOW | ext/mupdf/scripts/mupdfwrap_gui.py | 122 | CODE | |
| LOW | ext/mupdf/scripts/mutool_draw.py | 422 | CODE | |
| LOW | ext/mupdf/scripts/mutool_draw.py | 729 | CODE | |
| LOW | ext/mupdf/scripts/mutool_draw.py | 895 | CODE | |
| LOW | ext/mupdf/scripts/cmapdump.py | 10 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 181 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 275 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 578 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 1940 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 2655 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 2749 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 2798 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 2850 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 3013 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 3260 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 3773 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 3895 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 4281 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 4586 | CODE | |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 5311 | CODE | |
| LOW | ext/mupdf/scripts/wrap/csharp.py | 19 | CODE | |
| LOW | ext/mupdf/scripts/wrap/csharp.py | 300 | CODE | |
| LOW | ext/mupdf/scripts/wrap/csharp.py | 151 | CODE | |
| LOW | ext/mupdf/scripts/wrap/python.py | 69 | CODE | |
| LOW | ext/mupdf/scripts/wrap/python.py | 79 | CODE | |
| LOW | ext/mupdf/scripts/wrap/classes.py | 355 | CODE | |
| LOW | ext/mupdf/scripts/wrap/parse.py | 65 | CODE | |
| LOW | ext/mupdf/scripts/wrap/parse.py | 216 | CODE | |
| LOW | ext/mupdf/scripts/wrap/parse.py | 496 | CODE | |
| LOW | ext/mupdf/scripts/wrap/parse.py | 744 | CODE | |
| LOW | ext/mupdf/scripts/wrap/parse.py | 910 | CODE | |
| LOW | ext/mupdf/scripts/wrap/swig.py | 96 | CODE | |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 980 | CODE | |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 1130 | CODE | |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 1210 | CODE | |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 1488 | CODE | |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 2310 | CODE | |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 2472 | CODE | |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 3129 | CODE | |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/trans-dl.ts | 156 | function extractStringsFromCFilesNoPaths(): string[] { | CODE |
| LOW | cmd/trans-dl.ts | 191 | export function extractStringsToTranslate(): string[] { | CODE |
| LOW | cmd/trans-dl.ts | 1248 | async function fillMissingWithAiAndSubmit( | CODE |
| LOW | cmd/trans-dl.ts | 1343 | function writeTranslationsForBinary(pt: ParsedTranslations, downloadSha1: string): void { | CODE |
| LOW | cmd/dbg.ts | 86 | function findWinDbgFromWindowsApps(): string | null { | CODE |
| LOW | cmd/gen-docs.ts | 250 | function extractCommandsFromMarkdown(): string[] { | CODE |
| LOW | cmd/gen-docs.ts | 270 | function checkCommandsAreDocumented(): void { | CODE |
| LOW | cmd/check-access-keys.ts | 135 | function extractTranslationStrings(s: string): string[] { | CODE |
| LOW | cmd/deps-build-common.ts | 46 | export function invalidateObjsIfBuildChanged( | CODE |
| LOW | cmd/scripts/metadata/gen_txt.py | 319 | def structs_from_top_level_value_rec(struct, structs): | CODE |
| LOW | cmd/scripts/metadata/gen_txt.py | 369 | def gen_txt_for_top_level_val(top_level_val, file_path): | CODE |
| LOW | cmd/helper/ci-build.ts | 301 | async function extractClassesAndGlobalsFromPDB(): Promise<void> { | CODE |
| LOW | ext/a-harfbuzz/hb-unicode.h | 354 | typedef hb_unicode_combining_class_t (*hb_unicode_combining_class_func_t) (hb_unicode_funcs_t *ufuncs, | CODE |
| LOW | ext/a-harfbuzz/hb-unicode.h | 372 | typedef hb_unicode_general_category_t (*hb_unicode_general_category_func_t) (hb_unicode_funcs_t *ufuncs, | CODE |
| LOW | ext/dav1d/src/recon.h | 54 | typedef decl_backup_ipred_edge_fn(*backup_ipred_edge_fn); | CODE |
| LOW | ext/dav1d/src/filmgrain.h | 55 | typedef decl_generate_grain_uv_fn(*generate_grain_uv_fn); | CODE |
| LOW | ext/mupdf/setup.py | 531 | def get_requires_for_build_wheel(config_settings=None): | STRING |
| LOW | ext/mupdf/docs/conf.py | 18 | def get_mupdf_version_from_header(): | CODE |
| LOW | ext/mupdf/docs/conf.py | 35 | def get_mupdf_version_from_git(): | CODE |
| LOW | ext/mupdf/scripts/mupdfwrap_test.py | 146 | def test_install_load_system_font(path): | CODE |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 578 | def make_python_class_method_outparam_override( | CODE |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 2655 | def class_find_constructor_fns( tu, classname, struct_name, base_name, extras): | STRING |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 2749 | def class_find_destructor_fns( tu, struct_name, base_name): | STRING |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 2798 | def class_constructor_default( | STRING |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 2977 | def function_name_implies_kept_references( fnname): | STRING |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 3013 | def function_wrapper_class_aware_body( | STRING |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 3260 | def function_wrapper_class_aware( | STRING |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 4331 | def class_wrapper_virtual_fnptrs( | STRING |
| LOW | ext/mupdf/scripts/wrap/csharp.py | 19 | def make_outparam_helper_csharp( | CODE |
| LOW | ext/mupdf/scripts/wrap/python.py | 14 | def make_outparam_helper_python( | CODE |
| LOW | ext/mupdf/scripts/wrap/python.py | 69 | def cppyy_add_outparams_wrapper( | CODE |
| LOW | ext/mupdf/scripts/wrap/parse.py | 900 | def find_class_for_wrappable_function( fn_name): | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1261 | def ll_fz_buffer_extract_copy( buffer): | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1278 | def fz_buffer_storage_memoryview( buffer, writable=False): | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1292 | def ll_fz_new_buffer_from_copied_data(data): | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1299 | def fz_new_buffer_from_copied_data(data): | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1407 | def ll_pdf_set_annot_interior_color(annot, color): | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1424 | def pdf_set_annot_interior_color(self, color): | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1553 | def ll_fz_pixmap_samples_memoryview( pixmap): | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1564 | def fz_pixmap_samples_memoryview( pixmap): | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1694 | def fz_install_load_system_font_funcs(f=None, f_cjk=None, f_fallback=None): | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 2039 | def test_swig_csharp_internal(name, code_i, code_test, x32): | STRING |
| LOW | ext/mupdf/scripts/wrap/swig.py | 2148 | def test_swig_csharp_unicode_internal(x32, fix): | STRING |
| LOW | ext/mupdf/scripts/wrap/swig.py | 2326 | def test_swig_charp_exceptions(x32): | STRING |
| LOW | ext/mupdf/scripts/wrap/state.py | 148 | def find_functions_starting_with( self, tu, name_prefix, method): | CODE |
| LOW | ext/mupdf/scripts/wrap/state.py | 172 | def find_global_data_starting_with( self, tu, prefix): | CODE |
| LOW | tests/drag-out-attachment-tab.ts | 36 | function makePdfWithImageAttachment(): string { | CODE |
| LOW | tests/ad-hoc-synctex-wsl.ts | 105 | function windowsPathToWslMountPath(winPath: string): string | null { | CODE |
| LOW | tests/embedded-image-attachment.ts | 16 | function makePdfWithImageAttachment(): string { | CODE |
| LOW | tests/issue-2629.ts | 284 | async function testRecomputeAfterNavigation(): Promise<void> { | CODE |
| LOW | tests/winapi.ts | 1768 | export function captureWindowDCRegionPixels( | CODE |
| LOW | tests/winapi.ts | 1924 | export function captureWindowDCRegionToPng( | CODE |
| LOW | tests/winapi.ts | 2445 | export function getWindowVirtualDesktopId(hwnd: number): string { | CODE |
| LOW | tests/layout-callback.ts | 48 | async function sampleStableFullscreenTop(frame: number): Promise<Uint8Array> { | CODE |
| LOW | tests/issue-6001.ts | 109 | async function openScreenshotFromPalette(pid: number, frame: number, client: Client): Promise<void> { | CODE |
| LOW | tests/issue-5792.ts | 26 | function assertSoftJoinedParagraphs(text: string, label: string): void { | CODE |
| LOW | tests/ad-hoc-selection-translate.ts | 173 | async function translatePhraseWithRetries( | CODE |
| LOW | tests/util.ts | 383 | export function writePdfWithEmptySigField(path: string): void { | CODE |
| LOW | tests/win-automation.ts | 123 | export function beginSharedControlledSession(): void { | CODE |
| LOW | tests/win-automation.ts | 134 | export async function endSharedControlledSession(): Promise<void> { | CODE |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ext/tesseract/src/wordrec/language_model.h | 3 | // Description: Functions that utilize the knowledge about the properties, | COMMENT |
| MEDIUM | ext/tesseract/src/wordrec/lm_pain_points.h | 3 | // Description: Functions that utilize the knowledge about the properties | COMMENT |
| MEDIUM | ext/zxing-cpp/core/src/GlobalHistogramBinarizer.cpp | 147 | // more robust on the blackbox tests than sampling a diagonal as we used to do. | COMMENT |
| MEDIUM | ext/a-lcms2/extra_xform.h | 414 | // Certainly, out of gamut | COMMENT |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 3101 | # fixme: maybe instead simply call <arg.name>'s destructor directly? | STRING |
| MEDIUM | tests/ad-hoc-synctex-chinese.ts | 11 | // - lualatex writes UTF-8 synctex -> robust for any script, incl. Chinese. | COMMENT |
| MEDIUM | src/Installer.cpp | 1934 | // a robust-write .tmp of the largest file + FS margin). During upgrade, *.copy | COMMENT |
| MEDIUM | src/Installer.cpp | 1957 | need += largest; // possible concurrent .tmp during robust write | CODE |
| MEDIUM | src/SumatraPDF.cpp | 15091 | // Portable / single-exe: extract + robust load from build data dir, then | COMMENT |
| MEDIUM | src/SumatraTest.cpp | 688 | // by glyph index, not screen coords: robust regardless of page layout. | COMMENT |
| MEDIUM | src/shared/ChmModel.cpp | 147 | // A more robust solution would try to match with the actual | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ext/mupdf/scripts/jlib.py | 1930 | def fs_filesize( filename, default=0): | CODE |
| LOW | ext/mupdf/scripts/jlib.py | 153 | except Exception as e: | CODE |
| LOW | ext/mupdf/scripts/jlib.py | 1610 | except Exception as e: | CODE |
| LOW | ext/mupdf/scripts/jlib.py | 1984 | except Exception: | CODE |
| LOW | ext/mupdf/scripts/jlib.py | 2008 | except Exception: | CODE |
| LOW | ext/mupdf/scripts/jlib.py | 2215 | except Exception: | CODE |
| LOW | ext/mupdf/scripts/mutool.py | 110 | except Exception as e: | STRING |
| LOW | ext/mupdf/scripts/mutool.py | 378 | except Exception as e: | STRING |
| LOW | ext/mupdf/scripts/mupdfwrap_test.py | 135 | except Exception as e: | CODE |
| LOW | ext/mupdf/scripts/mupdfwrap_test.py | 246 | except Exception as e: | CODE |
| LOW | ext/mupdf/scripts/mupdfwrap_test.py | 422 | except Exception: | CODE |
| LOW | ext/mupdf/scripts/mupdfwrap_gui.py | 176 | except Exception as e: | CODE |
| LOW | ext/mupdf/scripts/mupdfwrap_gui.py | 225 | except Exception as e: | CODE |
| LOW | ext/mupdf/scripts/mutool_draw.py | 165 | except Exception: | CODE |
| LOW | ext/mupdf/scripts/mutool_draw.py | 1056 | except Exception as e: | STRING |
| LOW | ext/mupdf/scripts/mutool_draw.py | 1216 | except Exception as e: | STRING |
| LOW | ext/mupdf/scripts/mutool_draw.py | 1222 | except Exception as e: | STRING |
| MEDIUM | ext/mupdf/scripts/mutool_draw.py | 162 | def stat_mtime(path): | CODE |
| LOW | ext/mupdf/scripts/wrap/make_cppyy.py | 136 | except Exception as e: | STRING |
| LOW | ext/mupdf/scripts/wrap/make_cppyy.py | 151 | except Exception as e: | STRING |
| LOW | ext/mupdf/scripts/wrap/make_cppyy.py | 157 | except Exception as e: | STRING |
| LOW | ext/mupdf/scripts/wrap/cpp.py | 5513 | except Exception as e: | STRING |
| LOW | ext/mupdf/scripts/wrap/parse.py | 412 | except Exception: | CODE |
| MEDIUM | ext/mupdf/scripts/wrap/parse.py | 409 | def or_none(f): | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1115 | except Exception: | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1127 | except Exception: | CODE |
| LOW | ext/mupdf/scripts/wrap/swig.py | 1518 | except Exception as e: | CODE |
| LOW⚡ | ext/mupdf/scripts/wrap/__main__.py | 2682 | except Exception as ee: | STRING |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 1315 | except Exception as e: | STRING |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 3159 | except Exception: | STRING |
| LOW | ext/mupdf/scripts/wrap/state.py | 19 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ext/a-freetype/include/freetype/fterrors.h | 78 | * Here is a simple example. | COMMENT |
| MEDIUM | ext/a-freetype/include/freetype/freetype.h | 1385 | * for demonstration purposes. | COMMENT |
| LOW | ext/a-freetype/include/freetype/internal/ftrfork.h | 35 | /* Don't forget to increment the number if you add a new guessing rule. */ | COMMENT |
| MEDIUM | ext/libjpeg-turbo/src/turbojpeg.h | 1484 | * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use this | COMMENT |
| MEDIUM | ext/libjpeg-turbo/src/turbojpeg.h | 1544 | * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use this | COMMENT |
| MEDIUM | ext/libjpeg-turbo/src/turbojpeg.h | 1605 | * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use this | COMMENT |
| MEDIUM | ext/libjpeg-turbo/src/turbojpeg.h | 1795 | * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use this | COMMENT |
| MEDIUM | ext/libjpeg-turbo/src/turbojpeg.h | 1850 | * <tt>width * #tjPixelSize[pixelFormat]</tt>.) However, you can also use this | COMMENT |
| LOW | ext/tesseract/include/tesseract/ltrresultiterator.h | 72 | // versions, but if new data members are added, don't forget to add them! | COMMENT |
| LOW | ext/mupdf/include/mupdf/fitz/device.h | 416 | Don't forget to call fz_close_device before dropping the device, | CODE |
| LOW | ext/mupdf/include/mupdf/fitz/output.h | 256 | Free an output stream. Don't forget to close it first! | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ext/mupdf/scripts/wrap/rename.py | 71 | CODE | |
| MEDIUM | ext/mupdf/scripts/wrap/rename.py | 73 | CODE | |
| MEDIUM | ext/mupdf/scripts/wrap/rename.py | 74 | CODE | |
| MEDIUM | ext/mupdf/scripts/wrap/rename.py | 77 | CODE | |
| MEDIUM | ext/mupdf/scripts/wrap/rename.py | 120 | CODE | |
| MEDIUM | ext/mupdf/scripts/wrap/rename.py | 137 | CODE | |
| MEDIUM | ext/mupdf/scripts/wrap/rename.py | 139 | CODE | |
| MEDIUM | ext/mupdf/scripts/wrap/rename.py | 140 | CODE | |
| MEDIUM | ext/mupdf/scripts/wrap/rename.py | 141 | CODE | |
| MEDIUM | ext/mupdf/scripts/wrap/rename.py | 144 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/liblzma/common/stream_decoder_mt.c | 1811 | // NOTE: This function gets/sets memlimit_stop. For now, | COMMENT |
| LOW | ext/liblzma/common/index_hash.c | 182 | // NOTE: This function has many similarities to index_encode() and | COMMENT |
| LOW | ext/liblzma/common/block_util.c | 50 | // NOTE: This function is used for validation too, so it is | COMMENT |
| LOW | ext/tesseract/src/textord/tablerecog.cpp | 629 | // NOTE: This function assumes the lists are sorted! | COMMENT |
| LOW | ext/tesseract/src/ccmain/resultiterator.cpp | 146 | // Step 1: Scan for and mark European Number sequences | COMMENT |
| LOW | ext/tesseract/src/ccmain/resultiterator.cpp | 186 | // Step 2: Convert all remaining types to either L or R. | COMMENT |
| LOW⚡ | ext/tesseract/src/arch/intsimdmatrix.h | 43 | // Step 1: 8x4=32 results are computed, | COMMENT |
| LOW⚡ | ext/tesseract/src/arch/intsimdmatrix.h | 44 | // Step 2: 8x4=32 again, total 64, | COMMENT |
| LOW⚡ | ext/tesseract/src/arch/intsimdmatrix.h | 45 | // Step 3: 2x4=8 (since 8x4 is too many, so is 4x4), total 72, | COMMENT |
| LOW⚡ | ext/tesseract/src/arch/intsimdmatrix.h | 46 | // Step 4: 1x3, total 75. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/tesseract/src/ccmain/resultiterator.cpp | 146 | // Step 1: Scan for and mark European Number sequences | COMMENT |
| LOW | ext/tesseract/src/ccmain/resultiterator.cpp | 186 | // Step 2: Convert all remaining types to either L or R. | COMMENT |
| LOW⚡ | ext/tesseract/src/arch/intsimdmatrix.h | 43 | // Step 1: 8x4=32 results are computed, | COMMENT |
| LOW⚡ | ext/tesseract/src/arch/intsimdmatrix.h | 44 | // Step 2: 8x4=32 again, total 64, | COMMENT |
| LOW⚡ | ext/tesseract/src/arch/intsimdmatrix.h | 45 | // Step 3: 2x4=8 (since 8x4 is too many, so is 4x4), total 72, | COMMENT |
| LOW⚡ | ext/tesseract/src/arch/intsimdmatrix.h | 46 | // Step 4: 1x3, total 75. | COMMENT |
| LOW | ext/synctex/synctex_parser.c | 4800 | /* The purpose of this function is to read a string. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | ext/marked.min.js | 47 | `+s.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(s);continue}if(e){let r="Infinite loop on byt | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/mupdf/source/fitz/stext-para.c | 305 | * Lorem ipsum dolor sit | COMMENT |
| LOW | tests/ad-hoc-annot-edit-race.ts | 49 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore " + | CODE |
| LOW | tests/ad-hoc-annot-edit-race.ts | 49 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore " + | CODE |
| LOW | tests/issue-6230.ts | 46 | const filler = "Lorem ipsum dolor sit amet ".repeat(4); | CODE |
| LOW | tests/issue-6230.ts | 46 | const filler = "Lorem ipsum dolor sit amet ".repeat(4); | CODE |
| LOW | tests/issue-5918.ts | 48 | const filler = "lorem ipsum dolor sit amet ".repeat(200); | CODE |
| LOW | tests/issue-5918.ts | 48 | const filler = "lorem ipsum dolor sit amet ".repeat(200); | CODE |
| LOW | src/shared/MenuCommon.cpp | 69 | // We only want the "path.pdf" / "foo@bar.com" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/mupdf/scripts/jlib.py | 17 | CODE | |
| LOW | ext/mupdf/scripts/mupdfwrap_test.py | 9 | CODE | |
| LOW | ext/mupdf/scripts/wrap/rename.py | 5 | CODE | |
| LOW | ext/mupdf/scripts/wrap/python.py | 11 | CODE | |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 918 | CODE | |
| LOW | ext/mupdf/scripts/wrap/state.py | 5 | CODE | |
| LOW | ext/mupdf/scripts/wrap/state.py | 8 | CODE | |
| LOW | src/tools/gen_caption_glyphs.py | 8 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/mupdf/scripts/jlib.py | 1410 | CODE | |
| LOW | ext/mupdf/scripts/jlib.py | 1722 | CODE | |
| LOW | ext/mupdf/scripts/wrap/classes.py | 70 | CODE | |
| LOW | ext/mupdf/scripts/wrap/parse.py | 203 | CODE | |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 1402 | CODE | |
| LOW | ext/mupdf/scripts/wrap/state.py | 200 | CODE | |
| LOW | ext/mupdf/scripts/wrap/state.py | 209 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ext/mupdf/scripts/zip.py | 2 | # Create a reproducible build ZIP archive. | COMMENT |
| MEDIUM | ext/mupdf/scripts/wrap/cpp.py | 612 | # Define an internal Python function that will become the class method. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/scripts/metadata/metadata.py | 116 | # TODO: implement struct inheritance i.e. a subclass should inherit all | COMMENT |
| LOW | ext/zxing-cpp/core/src/qrcode/QRFormatInformation.cpp | 154 | fi.isMirrored = false; // TODO: implement mirrored format bit reading | CODE |
| LOW | ext/zxing-cpp/core/src/datamatrix/DMDetector.cpp | 964 | // TODO: implement a tryRotate version of DetectPure, see #590. | COMMENT |
| LOW | src/shared/EbookDoc.cpp | 502 | // TODO: implement proper namespace support | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ext/mupdf/scripts/jlib.py | 1984 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ext/mupdf/scripts/wrap/__main__.py | 3 | Support for generating C++ and python wrappers for the mupdf API. Overview: We generate C++, Python and C# wrappe | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/mupdf/scripts/wrap/__main__.py | 998 | # Set fz_items to map name to info about function/struct. | STRING |
| LOW | ext/mupdf/scripts/wrap/__main__.py | 1024 | # Set uses_structs to true if fn returns a fz struct or any | STRING |