SumatraPDF reader
This report presents the forensic synthetic code analysis of sumatrapdfreader/sumatrapdf, a C project with 17,092 GitHub stars. SynthScan v2.0 examined 2,411,122 lines of code across 4933 source files, recording 5499 pattern matches distributed across 24 syntactic categories. The overall adjusted score of 2.7 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 5499 distinct pattern matches across 24 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/bin2coff.c | 61 | #define IMAGE_FILE_MACHINE_I386 0x014c | COMMENT |
| LOW | tools/bin2coff.c | 81 | #define IMAGE_FILE_BYTES_REVERSED_HI 0x8000 /* Obsolete */ | COMMENT |
| LOW | tools/bin2coff.c | 101 | #define IMAGE_SCN_MEM_LOCKED 0x00040000 /* Reserved */ | COMMENT |
| LOW | tools/bin2coff.c | 121 | #define IMAGE_SCN_MEM_NOT_PAGED 0x08000000 | COMMENT |
| LOW | tools/bin2coff.c | 141 | #define IMAGE_SYM_TYPE_UNION 0x0009 | COMMENT |
| LOW | tools/bin2coff.c | 161 | #define IMAGE_SYM_CLASS_EXTERNAL_DEF 0x05 | COMMENT |
| LOW | tools/sizer/pdbfile.cpp | 1 | // Executable size report utility. | COMMENT |
| LOW | tools/sizer/debuginfo.hpp | 1 | // Executable size report utility. | COMMENT |
| LOW | tools/sizer/types.hpp | 1 | // Executable size report utility. | COMMENT |
| LOW | ext/mupdf_load_system_font.c | 1 | // this file is compiled as part of mupdf library and ends up | COMMENT |
| LOW | ext/libheif/libheif/error.h | 21 | #ifndef LIBHEIF_ERROR_H | COMMENT |
| LOW | ext/libheif/libheif/box.h | 21 | #ifndef LIBHEIF_BOX_H | COMMENT |
| LOW | ext/libheif/libheif/common_utils.h | 21 | #ifndef LIBHEIF_COMMON_UTILS_H | COMMENT |
| LOW | ext/libheif/libheif/file.h | 21 | #ifndef LIBHEIF_FILE_H | COMMENT |
| LOW | ext/libheif/libheif/security_limits.h | 41 | COMMENT | |
| LOW | ext/libheif/libheif/context.h | 21 | #ifndef LIBHEIF_CONTEXT_H | COMMENT |
| LOW | ext/libheif/libheif/bitstream.h | 21 | #ifndef LIBHEIF_BITSTREAM_H | COMMENT |
| LOW | ext/libheif/libheif/brands.h | 21 | #ifndef LIBHEIF_BRANDS_H | COMMENT |
| LOW | ext/libheif/libheif/codecs/avif_boxes.h | 21 | #ifndef HEIF_AVIF_BOXES_H | COMMENT |
| LOW | ext/libheif/libheif/codecs/jpeg2000_enc.h | 21 | #ifndef HEIF_ENCODER_JPEG2000_H | COMMENT |
| LOW | ext/libheif/libheif/codecs/avc_enc.h | 21 | #ifndef HEIF_ENCODER_AVC_H | COMMENT |
| LOW | ext/libheif/libheif/codecs/decoder.h | 21 | #ifndef HEIF_DECODER_H | COMMENT |
| LOW | ext/libheif/libheif/codecs/decoder.h | 101 | COMMENT | |
| LOW | ext/libheif/libheif/codecs/vvc_enc.h | 21 | #ifndef HEIF_ENCODER_VVC_H | COMMENT |
| LOW | ext/libheif/libheif/codecs/jpeg2000_dec.h | 21 | #ifndef HEIF_JPEG2000_DEC_H | COMMENT |
| LOW | ext/libheif/libheif/codecs/avif_enc.h | 21 | #ifndef HEIF_ENCODER_AVIF_H | COMMENT |
| LOW | ext/libheif/libheif/codecs/jpeg_enc.h | 21 | #ifndef HEIF_ENCODER_JPEG_H | COMMENT |
| LOW | ext/libheif/libheif/codecs/hevc_enc.h | 21 | #ifndef HEIF_ENCODER_HEVC_H | COMMENT |
| LOW | ext/libheif/libheif/codecs/uncompressed/unc_enc.h | 21 | #ifndef HEIF_ENCODER_UNCOMPRESSED_H | COMMENT |
| LOW | ext/libheif/libheif/codecs/uncompressed/unc_codec.h | 21 | COMMENT | |
| LOW | ext/libheif/libheif/codecs/uncompressed/unc_boxes.h | 21 | COMMENT | |
| LOW | …f/libheif/codecs/uncompressed/unc_decoder_legacybase.h | 21 | #ifndef LIBHEIF_UNC_DECODER_LEGACYBASE_H | COMMENT |
| LOW | ext/libheif/libheif/image/pixelimage.h | 201 | // auto-minted ids via the public C API (heif_image_add_plane_safe), but | COMMENT |
| LOW | ext/libheif/libheif/image/image_description.h | 21 | #ifndef LIBHEIF_IMAGE_DESCRIPTION_H | COMMENT |
| LOW | ext/libheif/libheif/image/image_description.h | 441 | return m_omaf_image_projection; | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_export.h | 21 | #ifndef LIBHEIF_HEIF_EXPORT_H | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_export.h | 41 | #else | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_plugin.h | 21 | #ifndef LIBHEIF_HEIF_PLUGIN_H | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_plugin.h | 41 | // 1.1 1 1 1 | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif.h | 21 | #ifndef LIBHEIF_HEIF_H | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_omaf.h | 21 | COMMENT | |
| LOW | ext/libheif/libheif/api/libheif/heif_color.h | 281 | // target brightness light level of the pictures. The bounds are defined | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_color.h | 321 | // --- mastering display colour volume --- | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_color.h | 341 | uint16_t display_primaries_y[3]; | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_emscripten.h | 1 | #ifndef LIBHEIF_BOX_EMSCRIPTEN_H | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_components.h | 121 | heif_component_datatype heif_image_get_component_datatype(const heif_image*, uint32_t component_id); | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_brands.h | 301 | // Returns one of these MIME types: | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_encoding.h | 21 | #ifndef LIBHEIF_HEIF_ENCODING_H | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_library.h | 21 | #ifndef LIBHEIF_HEIF_LIBRARY_H | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_library.h | 41 | // 1.9.2 2 2 1 1 1 1 | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_decoding.h | 21 | #ifndef LIBHEIF_HEIF_DECODING_H | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_decoding.h | 121 | // | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_decoding.h | 141 | // | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_properties.h | 221 | uint32_t bayer_component_id, | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_properties.h | 261 | COMMENT | |
| LOW | ext/libheif/libheif/api/libheif/heif_image.h | 21 | #ifndef LIBHEIF_HEIF_IMAGE_H | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_image.h | 41 | // - heif_colorspace_filter_array (single CFA mosaic plane) | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_image.h | 81 | COMMENT | |
| LOW | ext/libheif/libheif/api/libheif/heif_image_handle.h | 21 | #ifndef LIBHEIF_HEIF_IMAGE_HANDLE_H | COMMENT |
| LOW | ext/libheif/libheif/api/libheif/heif_image_handle.h | 81 | // Returns -1 on error, e.g. if this information is not present in the image. | COMMENT |
| 4664 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | cmd/build-with-mingw.ts | 346 | // ── System libraries for final link ───────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/build-with-mingw.ts | 377 | // ── Build SumatraPDF main executable sources ──────────────────────────────── | COMMENT |
| MEDIUM | cmd/build-with-mingw.ts | 454 | // ── Compile _com_util stub (mingw doesn't ship comsuppw.lib) ───────── | COMMENT |
| MEDIUM | cmd/build-with-mingw.ts | 533 | // ── Embed font files ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/build-with-mingw.ts | 548 | // ── Compile .rc resource file ───────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/build-with-mingw.ts | 577 | // ── Link ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/build-with-mingw.ts | 608 | // ── Top-level build functions ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/build-with-mingw.ts | 698 | // ── Main ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | cmd/build-lib-defs.ts | 3 | // ── Library definitions ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 157 | # -------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 183 | # ---------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 192 | # -------------------------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 378 | # --------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 523 | # ------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 572 | # --------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 618 | # ---------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 641 | # -------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 665 | # ------------------ | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 689 | # ------------------ | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 722 | # ------------------------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 734 | # -------------------------------------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 755 | # ---------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 774 | # -------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 783 | # ------------------------------ | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 819 | # ----------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 832 | # ----------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 844 | # ----------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 855 | # --------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 881 | # --------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 929 | # ------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 967 | # ------------------------ | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1057 | # -------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1073 | # -------------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1138 | # ---------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1218 | # ----------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1253 | # ------------------------ | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1264 | # ---------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1317 | # ------------------------ | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1338 | # --------------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1368 | # ----------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1393 | # ------------------------------------ | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1422 | # ---------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1443 | # ------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1456 | # ----------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1469 | # ---------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1494 | # ----------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1511 | # --------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1640 | # ----------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1652 | # --------------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1669 | # ------------------------------------ | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1681 | # --------------------------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1699 | # --------------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1810 | # ---------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1822 | # --------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1855 | # -------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1876 | # --------------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1993 | # ------------------------------ | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 2022 | # ---------------------- | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 2050 | # ------------------------ | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 2063 | # ------------------------ | COMMENT |
| 116 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/issue-5665.js | 5 | print("got1:[" + a + "]"); | CODE |
| HIGH | tests/issue-5665.js | 6 | print("got2:[" + b + "]"); | CODE |
| HIGH | mupdf/docs/examples/pdf-extract-rich-media.js | 4 | print("usage: mutool run pdf-extract-rich-media.js input.pdf [index filename]"); | CODE |
| HIGH | 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⚡ | mupdf/docs/examples/pdf-extract-rich-media.js | 54 | print(idx, name.asString()); | CODE |
| HIGH⚡ | mupdf/docs/examples/pdf-extract-rich-media.js | 55 | print("\tFilename:", fileNameFromFS(fs)); | CODE |
| HIGH⚡ | mupdf/docs/examples/pdf-extract-rich-media.js | 57 | print("\tDescription:", fs.Desc.asString()); | CODE |
| HIGH⚡ | mupdf/docs/examples/pdf-extract-rich-media.js | 66 | print("Saving embedded file", idx, "as:", scriptArgs[2]); | CODE |
| HIGH | mupdf/docs/examples/copy-outline.js | 6 | print("usage: mutool run copy-outline.js a.xps b.pdf output.pdf"); | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 14 | print("beginSpan",f,m,wmode,bidi,dir,repr(lang)); | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 22 | print("fillPath", evenOdd, ctm, colorSpace, color, alpha) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 26 | print("clipPath", evenOdd, ctm) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 30 | print("strokePath", Q(stroke), ctm, colorSpace, color, alpha) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 34 | print("clipStrokePath", Q(stroke), ctm) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 39 | print("fillText", ctm, colorSpace, color, alpha) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 43 | print("clipText", ctm) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 47 | print("strokeText", Q(stroke), ctm, colorSpace, color, alpha) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 51 | print("clipStrokeText", Q(stroke), ctm) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 55 | print("ignoreText", ctm) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 60 | print("fillShade", shade, ctm, alpha) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 63 | print("fillImage", image, ctm, alpha) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 66 | print("fillImageMask", image, ctm, colorSpace, color, alpha) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 69 | print("clipImageMask", image, ctm) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 73 | print("beginMask", area, luminosity, colorspace, color) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 76 | print("endMask") | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 80 | print("popClip") | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 84 | print("beginGroup", area, isolated, knockout, blendmode, alpha) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 87 | print("endGroup") | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 90 | print("beginTile", area, view, xstep, ystep, ctm, id) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 94 | print("endTile") | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 97 | print("beginLayer", name) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 100 | print("endLayer") | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 103 | print("beginStructure", structure, raw, uiw) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 106 | print("endStructure") | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 109 | print("beginMetatext", meta, metatext) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 112 | print("endMetatext") | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 116 | print("renderFlags", set, clear) | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 119 | print("setDefaultColorSpaces", colorSpaces.getDefaultGray(), | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 125 | print("close") | CODE |
| HIGH⚡ | mupdf/docs/examples/trace-device.js | 130 | print("usage: mutool run trace-device.js document.pdf pageNumber") | CODE |
| HIGH | mupdf/docs/examples/pdf-merge.js | 36 | print("usage: mutool run pdf-merge.js output.pdf input1.pdf input2.pdf ...") | CODE |
| HIGH | mupdf/docs/examples/pdf-trace.js | 39 | print("/"+name, "gs"); | CODE |
| HIGH | mupdf/docs/examples/pdf-trace.js | 41 | print("%", k, v); | CODE |
| HIGH | mupdf/docs/examples/pdf-trace.js | 93 | print("[" + showArray(text) + "] TJ") | CODE |
| HIGH | mupdf/docs/examples/jpx-to-pdf.js | 32 | print("usage: mutool run jpx-to-pdf.js file.jpx ..."); | CODE |
| HIGH | mupdf/docs/examples/pdf-dejpx.js | 28 | print("Loading JPX image:", i) | CODE |
| HIGH | mupdf/docs/examples/pdf-dejpx.js | 43 | print("Decompressed image:", i); | CODE |
| HIGH | mupdf/docs/examples/import-fdf.js | 10 | print("usage: mutool run import-fdf.js file.pdf data.fdf output.pdf") | CODE |
| HIGH⚡ | mupdf/docs/examples/pdf-portfolio.js | 4 | print("usage: mutool run pdf-portfolio.js input.pdf [index filename]"); | CODE |
| HIGH⚡ | mupdf/docs/examples/pdf-portfolio.js | 5 | print(" List embedded files, or extract an embedded file from a PDF document.") | CODE |
| HIGH⚡ | mupdf/docs/examples/pdf-portfolio.js | 12 | print("Document has no embedded files!"); | CODE |
| HIGH⚡ | mupdf/docs/examples/pdf-portfolio.js | 45 | print(idx, name.asString()); | CODE |
| HIGH⚡ | mupdf/docs/examples/pdf-portfolio.js | 46 | print("\tFilename:", fileNameFromFS(fs)); | CODE |
| HIGH⚡ | mupdf/docs/examples/pdf-portfolio.js | 48 | print("\tDescription:", fs.Desc.asString()); | CODE |
| HIGH⚡ | mupdf/docs/examples/pdf-portfolio.js | 57 | print("Saving embedded file", idx, "as:", scriptArgs[2]); | CODE |
| HIGH | mupdf/docs/examples/fix-s22pdf.js | 4 | print("usage: mutool run fix-s22pdf.js input.pdf output.pdf"); | CODE |
| HIGH | mupdf/docs/examples/reconvert-cmyk.js | 7 | print("usage: mutool run recolor-cmyk.js input.png output.png") | CODE |
| HIGH⚡ | mupdf/docs/examples/bbox-device.js | 83 | print("usage: mutool run bbox-device.js document.pdf pageNumber") | CODE |
| HIGH⚡ | mupdf/docs/examples/bbox-device.js | 89 | print("original bbox:", page.getBounds()); | CODE |
| HIGH⚡ | mupdf/docs/examples/bbox-device.js | 90 | print("computed bbox:", bbox.map(function (x) { return Math.round(x); })); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ext/libdjvu/MMRDecoder.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/IFFByteStream.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuErrorList.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuGlobal.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GIFFManager.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuToPS.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVmNav.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GRect.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/JB2EncodeCodec.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuFileCache.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/XMLTags.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuDocEditor.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GContainer.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuGlobal.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/IW44EncodeCodec.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuPalette.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/debug.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuErrorList.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GScaler.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuImage.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/XMLParser.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVmDoc.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GScaler.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuImage.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GURL.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuDumpHelper.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuMessageLite.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVmNav.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/MMX.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVmDir0.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/ddjvuapi.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/IW44Image.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GUnicode.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/JPEGDecoder.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/MMX.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GMapAreas.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuNavDir.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVmDir0.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVmDir.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GThreads.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DataPool.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVmDir.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/JB2Image.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/BSByteStream.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuAnno.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuAnno.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GException.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuMessage.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/JPEGDecoder.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/XMLTags.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GIFFManager.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuInfo.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuDocument.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuText.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuDumpHelper.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/BSEncodeByteStream.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DataPool.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuInfo.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/GThreads.h | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| MEDIUM | ext/libdjvu/DjVuPort.cpp | 47 | //C- | any greater extent that may be necessary to utilize further | COMMENT |
| 66 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | cmd/scripts/gen_htmlparserlookup.py | 106 | output.append(' if (%d == len && CS%d(%s) == STR%di(name + 4)) return %s;' % | STRING |
| HIGH | cmd/scripts/gen_htmlparserlookup.py | 109 | output.append(' if (%d == len && str::EqNI(name + 4, "%s", %d)) return %s;' % | STRING |
| HIGH | ext/freetype/src/tools/glnames.py | 5387 | if ( name == 0 || name >= limit ) | CODE |
| HIGH | ext/harfbuzz/src/gen-tag-table.py | 978 | print (' tags.push(%s); // %s' % (hb_tag_rust (tags[0]), ot.names[tags[0]])) | CODE |
| HIGH | ext/harfbuzz/src/gen-tag-table.py | 1019 | print (' tags.push(%s); // %s' % (hb_tag_rust (tags[0]), ot.names[tags[0]])) | CODE |
| HIGH | ext/harfbuzz/src/gen-tag-table.py | 1235 | print (" if (!p || p >= limit || limit - p < %i) goto out;" % min_subtag_len) | CODE |
| HIGH | ext/harfbuzz/src/gen-tag-table.py | 1263 | print (' for (i = 0; i < %s && i < *count; i++)' % len (tags)) | CODE |
| HIGH | ext/harfbuzz/src/gen-tag-table.py | 1315 | print (' for (i = 0; i < %s && i < *count; i++)' % len (tags)) | CODE |
| HIGH | ext/harfbuzz/src/gen-vowel-constraints.py | 308 | print (' for (buffer->idx = 0; buffer->idx + 1 < count && buffer->successful;)') | CODE |
| HIGH | mupdf/scripts/jlib.py | 1532 | >>> system('echo hello c && false', prefix='foo:', out='return', env_extra=dict(FOO='bar qwerty')) | STRING |
| HIGH | mupdf/scripts/jlib.py | 1534 | Exception: Command failed: FOO='bar qwerty' echo hello c && false | STRING |
| HIGH | mupdf/scripts/jlib.py | 1808 | f'cd {directory} && git show --pretty=oneline|head -n 1 && git diff', | CODE |
| HIGH | mupdf/scripts/pipcl.py | 252 | ... f'. pipcl_test/pylocal/bin/activate && pip install pipcl_test/dist/*.whl', | STRING |
| HIGH | mupdf/scripts/pipcl.py | 257 | ... f'. pipcl_test/pylocal/bin/activate && foo_cli', | STRING |
| HIGH | mupdf/scripts/wrap/make_cppyy.py | 561 | # (where fz_parse_page_range() returns null). | STRING |
| HIGH | mupdf/scripts/wrap/make_cppyy.py | 564 | # returns null, so we can detect whether null was returned by | STRING |
| HIGH | mupdf/scripts/wrap/cpp.py | 5189 | assert(offset >= 0 && offset < 1000); | CODE |
| HIGH | mupdf/scripts/wrap/cpp.py | 5190 | assert(m_size == 32 || m_size == 16 || m_size == 8 || m_size == -1); | CODE |
| HIGH | mupdf/scripts/wrap/cpp.py | 5263 | if ( n && refs < n) | CODE |
| HIGH | mupdf/scripts/wrap/classes.py | 1404 | return true | CODE |
| HIGH | mupdf/scripts/wrap/classes.py | 1915 | comment = '/* Default constructor sets .text to null, .type to PDF_LAYER_UI_LABEL, and other fie | STRING |
| HIGH | mupdf/scripts/wrap/parse.py | 330 | # .up member is null, so we don't attempt to | COMMENT |
| HIGH | mupdf/scripts/wrap/swig.py | 1571 | # text) does not work - results in "(null)" being output.) | COMMENT |
| HIGH | mupdf/scripts/wrap/swig.py | 795 | if (1 || g_mupdf_trace_director) | CODE |
| HIGH⚡ | mupdf/scripts/wrap/__main__.py | 2642 | system( 'rm pyproject.toml || true') | STRING |
| HIGH⚡ | mupdf/scripts/wrap/__main__.py | 2643 | system( 'ls -l pyproject.toml || true') | STRING |
| HIGH⚡ | mupdf/scripts/wrap/__main__.py | 2645 | '(rm -r pylocal-multi wheels || true)' | STRING |
| HIGH⚡ | mupdf/scripts/wrap/__main__.py | 2652 | system( '. pylocal-multi/bin/activate && pip install --upgrade pip') | STRING |
| HIGH⚡ | mupdf/scripts/wrap/__main__.py | 2654 | system( '. pylocal-multi/bin/activate && pip install check-wheel-contents') | STRING |
| HIGH⚡ | mupdf/scripts/wrap/__main__.py | 2655 | system( '. pylocal-multi/bin/activate && pip wheel --wheel-dir wheels dist/* | STRING |
| HIGH⚡ | mupdf/scripts/wrap/__main__.py | 2656 | system( '. pylocal-multi/bin/activate && check-wheel-contents wheels/*') | STRING |
| HIGH⚡ | mupdf/scripts/wrap/__main__.py | 2657 | system( '. pylocal-multi/bin/activate && pip install wheels/*') | STRING |
| HIGH⚡ | mupdf/scripts/wrap/__main__.py | 2659 | system( '. pylocal-multi/bin/activate && pip install dist/*') | STRING |
| HIGH⚡ | mupdf/scripts/wrap/__main__.py | 2661 | system( '. pylocal-multi/bin/activate && python -m mupdf') | STRING |
| HIGH | mupdf/scripts/wrap/__main__.py | 2351 | f'cd {out_dir}/python && python -m pydoc -w {input_relpath}', | STRING |
| HIGH | mupdf/scripts/wrap/__main__.py | 2624 | system( '(rm -r pylocal-multi dist || true)') | STRING |
| HIGH | mupdf/scripts/wrap/__main__.py | 2994 | f'cd ../PyMuPDF/tests && py.test-3 {opts}', | STRING |
| HIGH | mupdf/scripts/wrap/__main__.py | 3004 | f'cd ../PyMuPDF/tests && py.test-3 {opts} {script}', | STRING |
| HIGH | mupdf/scripts/wrap/__main__.py | 3018 | f'cd ../PyMuPDF/tests && py.test-3 {opts} {tests}', | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/scripts/SquareTree.py | 33 | CODE | |
| LOW | cmd/scripts/gen_htmlparserlookup.py | 89 | CODE | |
| LOW | cmd/scripts/metadata/gen_txt.py | 164 | CODE | |
| LOW | tools/gen_caption_glyphs.py | 49 | CODE | |
| LOW | tools/efi/efiparse.py | 390 | CODE | |
| LOW | ext/freetype/src/tools/make_distribution_archives.py | 33 | CODE | |
| LOW | ext/brotli/research/brotlidump.py | 24 | CODE | |
| LOW | ext/brotli/research/brotlidump.py | 1216 | CODE | |
| LOW | ext/brotli/research/brotlidump.py | 1387 | CODE | |
| LOW | ext/brotli/research/brotlidump.py | 1460 | CODE | |
| LOW | ext/brotli/research/brotlidump.py | 1783 | CODE | |
| LOW | ext/brotli/python/tests/decompressor_test.py | 43 | CODE | |
| LOW | …i/scripts/dictionary/step-04-generate-java-literals.py | 56 | CODE | |
| LOW | ext/harfbuzz/src/justify.py | 164 | CODE | |
| LOW | ext/harfbuzz/src/gen-arabic-table.py | 150 | CODE | |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 1345 | CODE | |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 360 | CODE | |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 424 | CODE | |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 473 | CODE | |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 571 | CODE | |
| LOW | ext/harfbuzz/src/gen-vowel-constraints.py | 92 | CODE | |
| LOW | ext/harfbuzz/src/gen-vowel-constraints.py | 134 | CODE | |
| LOW | ext/gumbo-parser/python/gumbo/html5lib_adapter.py | 100 | CODE | |
| LOW | ext/extract/src/memento.py | 24 | CODE | |
| LOW | ext/extract/src/docx_template_build.py | 104 | CODE | |
| LOW | mupdf/scripts/cmapclean.py | 10 | CODE | |
| LOW | mupdf/scripts/jlib.py | 41 | CODE | |
| LOW | mupdf/scripts/jlib.py | 499 | CODE | |
| LOW | mupdf/scripts/jlib.py | 1285 | CODE | |
| LOW | mupdf/scripts/jlib.py | 1410 | CODE | |
| LOW | mupdf/scripts/jlib.py | 1937 | CODE | |
| LOW | mupdf/scripts/jlib.py | 2125 | CODE | |
| LOW | mupdf/scripts/jlib.py | 2264 | CODE | |
| LOW | mupdf/scripts/jlib.py | 98 | CODE | |
| LOW | mupdf/scripts/glyphdump.py | 15 | CODE | |
| LOW | mupdf/scripts/mutool.py | 69 | CODE | |
| LOW | mupdf/scripts/mutool.py | 187 | CODE | |
| LOW | mupdf/scripts/mutool.py | 301 | CODE | |
| LOW | mupdf/scripts/makesubset.py | 27 | CODE | |
| LOW | mupdf/scripts/pipcl.py | 1301 | CODE | |
| LOW | mupdf/scripts/pipcl.py | 2045 | CODE | |
| LOW | mupdf/scripts/pipcl.py | 2186 | CODE | |
| LOW | mupdf/scripts/pipcl.py | 2305 | CODE | |
| LOW | mupdf/scripts/pipcl.py | 702 | CODE | |
| LOW | mupdf/scripts/pipcl.py | 947 | CODE | |
| LOW | mupdf/scripts/pipcl.py | 1877 | CODE | |
| LOW | mupdf/scripts/mupdfwrap_test.py | 41 | CODE | |
| LOW | mupdf/scripts/mupdfwrap_test.py | 211 | CODE | |
| LOW | mupdf/scripts/cmapflatten.py | 10 | CODE | |
| LOW | mupdf/scripts/truetype_to_unicode.py | 49 | CODE | |
| LOW | mupdf/scripts/mupdfwrap_gui.py | 241 | CODE | |
| LOW | mupdf/scripts/mupdfwrap_gui.py | 122 | CODE | |
| LOW | mupdf/scripts/mutool_draw.py | 422 | CODE | |
| LOW | mupdf/scripts/mutool_draw.py | 729 | CODE | |
| LOW | mupdf/scripts/mutool_draw.py | 895 | CODE | |
| LOW | mupdf/scripts/wdev.py | 35 | CODE | |
| LOW | mupdf/scripts/wdev.py | 255 | CODE | |
| LOW | mupdf/scripts/cmapdump.py | 10 | CODE | |
| LOW | mupdf/scripts/wrap/cpp.py | 181 | CODE | |
| LOW | mupdf/scripts/wrap/cpp.py | 275 | CODE | |
| 34 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/trans-dl.ts | 38 | function extractStringsFromCFilesNoPaths(): string[] { | CODE |
| LOW | cmd/trans-dl.ts | 53 | function extractStringsToTranslate(): string[] { | CODE |
| LOW | cmd/trans-dl.ts | 206 | function autoAddNoPrefixTranslations(pt: ParsedTranslations): void { | CODE |
| LOW | cmd/build-ci.ts | 389 | async function extractClassesAndGlobalsFromPDB(): Promise<void> { | CODE |
| LOW | cmd/a-gumbo.ts | 317 | function removeObsoleteSystemIncludes(text: string): string { | CODE |
| LOW | cmd/gen-docs.ts | 598 | function extractCommandsFromMarkdown(): string[] { | CODE |
| LOW | cmd/gen-docs.ts | 619 | function checkCommandsAreDocumented(): void { | CODE |
| LOW | cmd/check-access-keys.ts | 80 | function extractTranslationStrings(s: string): string[] { | 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 | tools/efi/efiparse.py | 101 | def get_objname_by_sec_no_off(self, sec_no, sec_off): | STRING |
| LOW | ext/freetype/tests/scripts/download-test-fonts.py | 150 | def extract_file_from_zip_archive( | CODE |
| LOW | ext/freetype/tests/scripts/download-test-fonts.py | 200 | def download_and_install_item( | CODE |
| LOW | ext/brotli/python/tests/decompressor_test.py | 61 | def _test_decompress_with_limit(self, test_data): | CODE |
| LOW | ext/brotli/python/tests/_test_utils.py | 71 | def get_temp_uncompressed_name(filename): | CODE |
| LOW | ext/brotli/python/tests/compressor_test.py | 53 | def _test_multiple_process_and_flush(self, test_data): | CODE |
| LOW | ext/brotli/js/decode.ts | 39 | function calculateDistanceAlphabetSize(npostfix: number, ndirect: number, maxndistbits: number): number { | CODE |
| LOW | ext/brotli/js/decode.ts | 42 | function calculateDistanceAlphabetLimit(maxDistance: number, npostfix: number, ndirect: number): number { | CODE |
| LOW | ext/brotli/js/decode.ts | 268 | function inverseMoveToFrontTransform(v: Int8Array, vLen: number): void { | CODE |
| LOW | ext/brotli/js/decode.ts | 548 | function decodeDistanceBlockSwitch(s: State): void { | CODE |
| LOW | ext/brotli/js/decode.ts | 552 | function maybeReallocateRingBuffer(s: State): void { | CODE |
| LOW | ext/brotli/js/decode.ts | 648 | function readMetablockHuffmanCodesAndContextMaps(s: State): void { | CODE |
| LOW | ext/brotli/js/decode.ts | 802 | function initializeCompoundDictionary(s: State): void { | CODE |
| LOW | ext/brotli/js/decode.ts | 820 | function initializeCompoundDictionaryCopy(s: State, address: number, length: number): void { | CODE |
| LOW | ext/brotli/js/decode.ts | 839 | function copyFromCompoundDictionary(s: State, fence: number): number { | CODE |
| LOW | ext/brotli/js/decode.js | 67 | function calculateDistanceAlphabetSize(npostfix, ndirect, maxndistbits) { | CODE |
| LOW | ext/brotli/js/decode.js | 76 | function calculateDistanceAlphabetLimit(maxDistance, npostfix, ndirect) { | CODE |
| LOW | ext/brotli/js/decode.js | 361 | function inverseMoveToFrontTransform(v, vLen) { | CODE |
| LOW | ext/brotli/js/decode.js | 701 | function decodeDistanceBlockSwitch(s) { | CODE |
| LOW | ext/brotli/js/decode.js | 709 | function maybeReallocateRingBuffer(s) { | CODE |
| LOW | ext/brotli/js/decode.js | 824 | function readMetablockHuffmanCodesAndContextMaps(s) { | CODE |
| LOW | ext/brotli/js/decode.js | 1006 | function initializeCompoundDictionary(s) { | CODE |
| LOW | ext/brotli/js/decode.js | 1030 | function initializeCompoundDictionaryCopy(s, address, length) { | CODE |
| LOW | ext/brotli/js/decode.js | 1054 | function copyFromCompoundDictionary(s, fence) { | CODE |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 473 | def inherit_from_macrolanguages (self): | CODE |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 654 | def remove_extra_macrolanguages (self): | CODE |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 900 | def language_name_intersection_rust (a, b): | CODE |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 903 | def get_matching_language_name_rust (intersection, candidates): | CODE |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 947 | def print_subtag_matches_rust (subtag, new_line): | CODE |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 1082 | def language_name_intersection (a, b): | CODE |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 1096 | def get_matching_language_name (intersection, candidates): | CODE |
| LOW | ext/harfbuzz/src/gen-tag-table.py | 1345 | def verify_disambiguation_dict (): | CODE |
| LOW | ext/harfbuzz/src/hb-unicode.h | 354 | typedef hb_unicode_combining_class_t (*hb_unicode_combining_class_func_t) (hb_unicode_funcs_t *ufuncs, | CODE |
| LOW | ext/harfbuzz/src/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 | tests/ad-hoc-synctex-wsl.ts | 106 | function windowsPathToWslMountPath(winPath: string): string | null { | CODE |
| LOW | tests/ad-hoc-selection-translate.ts | 186 | async function translatePhraseWithRetries( | CODE |
| LOW | docs/gen_docs.render.js | 307 | function replaceCommandsSearchPlaceholder(html) { | CODE |
| LOW | mupdf/setup.py | 532 | def get_requires_for_build_wheel(config_settings=None): | STRING |
| LOW | mupdf/docs/conf.py | 18 | def get_mupdf_version_from_header(): | CODE |
| LOW | mupdf/docs/conf.py | 35 | def get_mupdf_version_from_git(): | CODE |
| LOW | mupdf/scripts/mupdfwrap_test.py | 146 | def test_install_load_system_font(path): | CODE |
| LOW | mupdf/scripts/wrap/cpp.py | 578 | def make_python_class_method_outparam_override( | CODE |
| LOW | mupdf/scripts/wrap/cpp.py | 2660 | def class_find_constructor_fns( tu, classname, struct_name, base_name, extras): | STRING |
| LOW | mupdf/scripts/wrap/cpp.py | 2754 | def class_find_destructor_fns( tu, struct_name, base_name): | STRING |
| LOW | mupdf/scripts/wrap/cpp.py | 2803 | def class_constructor_default( | STRING |
| LOW | mupdf/scripts/wrap/cpp.py | 2982 | def function_name_implies_kept_references( fnname): | STRING |
| LOW | mupdf/scripts/wrap/cpp.py | 3018 | def function_wrapper_class_aware_body( | STRING |
| LOW | mupdf/scripts/wrap/cpp.py | 3265 | def function_wrapper_class_aware( | STRING |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ext/lcms2/ltmain.sh | 77 | # This file is dual licensed under the terms of the MIT license | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1541 | # This file is dual licensed under the terms of the MIT license | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 1559 | # This file is a library for parsing options in your shell scripts along | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 2741 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 2751 | # This function implements the same check as func_lalib_p without | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 2774 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 2784 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 2809 | # This function is only a basic sanity check; it will hardly flush out | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 2949 | # Create a libtool object file (analogous to a ".la" file), | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 7746 | # Create the object directory. | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 10425 | # Create the old-style object. | COMMENT |
| MEDIUM | ext/lcms2/ltmain.sh | 10445 | # Create an invalid libtool object if no PIC, so that we don't | COMMENT |
| MEDIUM | ext/freetype/modules.cfg | 6 | # This file is part of the FreeType project, and may only be used, modified, | COMMENT |
| MEDIUM | ext/freetype/autogen.sh | 6 | # This file is part of the FreeType project, and may only be used, modified, | COMMENT |
| MEDIUM | ext/freetype/src/tools/afblue.pl | 11 | # This file is part of the FreeType project, and may only be used, | COMMENT |
| MEDIUM | ext/freetype/src/tools/make_distribution_archives.py | 113 | # Create a temporary directory, and ensure it is removed on exit. | COMMENT |
| MEDIUM | ext/freetype/src/tools/glnames.py | 9 | # This file is part of the FreeType project, and may only be used, modified, | COMMENT |
| MEDIUM | ext/zlib/os400/make.sh | 164 | # Create the OS/400 library if it does not exist. | COMMENT |
| MEDIUM | ext/zlib/os400/make.sh | 172 | # Create the DOCS source file if it does not exist. | COMMENT |
| MEDIUM | ext/zlib/os400/make.sh | 194 | # Create the OS/400 source program file for the C header files. | COMMENT |
| MEDIUM | ext/zlib/os400/make.sh | 205 | # Create the IFS directory for the C header files. | COMMENT |
| MEDIUM | ext/libwebp/xcframeworkbuild.sh | 231 | # Create a temporary target directory for each <platform>[-<variant>]. | COMMENT |
| MEDIUM | ext/libwebp/infra/compile_android.sh | 116 | # Create a fresh build directory | COMMENT |
| MEDIUM | ext/libwebp/swig/libwebp.py | 233 | # This file is compatible with both classic and new-style classes. | COMMENT |
| MEDIUM | ext/bzip2/xmlproc.sh | 5 | # This file is part of bzip2/libbzip2, a program and library for | COMMENT |
| MEDIUM | ext/bzip2/format.pl | 4 | # This file is part of bzip2/libbzip2, a program and library for | COMMENT |
| MEDIUM | mupdf/scripts/zip.py | 2 | # Create a reproducible build ZIP archive. | COMMENT |
| MEDIUM | mupdf/scripts/wrap/cpp.py | 612 | # Define an internal Python function that will become the class method. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ext/libwebp/imageio/webpdec.c | 218 | // Need to wipe out the alpha value, as requested. | COMMENT |
| HIGH | ext/extract/src/docx_template.c | 1 | /* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */ | COMMENT |
| HIGH | ext/extract/src/docx_template_build.py | 155 | out_c.write(f'/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */\n') | CODE |
| HIGH | ext/extract/src/docx_template_build.py | 242 | out_h.write(f'/* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */\n') | CODE |
| HIGH | ext/extract/src/odt_template.h | 4 | /* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */ | COMMENT |
| HIGH | ext/extract/src/docx_template.h | 4 | /* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */ | COMMENT |
| HIGH | ext/extract/src/odt_template.c | 1 | /* THIS IS AUTO-GENERATED CODE, DO NOT EDIT. */ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/libdjvu/DjVuDocEditor.cpp | 662 | // included child. Don't forget to modify the contents of INCL | COMMENT |
| MEDIUM | ext/freetype/include/freetype/fterrors.h | 78 | * Here is a simple example. | COMMENT |
| MEDIUM | ext/freetype/include/freetype/freetype.h | 1385 | * for demonstration purposes. | COMMENT |
| LOW | ext/freetype/include/freetype/internal/ftrfork.h | 35 | /* Don't forget to increment the number if you add a new guessing rule. */ | COMMENT |
| LOW | ext/skcms/src/Transform_inl.h | 642 | // TODO: don't forget to optimize gather_32(). | COMMENT |
| LOW | ext/openjpeg/src/lib/openjp2/t2.c | 584 | /* don't forget to release pi */ | COMMENT |
| LOW | ext/brotli/research/brotlidump.py | 351 | """Don't forget to set either alphabetSize or decodeTable | STRING |
| 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 |
| MEDIUM | ext/harfbuzz/docs/usermanual-clusters.xml | 258 | As mentioned earlier, client programs using HarfBuzz often | CODE |
| LOW⚡ | ext/libjxl/lib/jxl/cms/color_encoding_cms.h | 54 | // NB: don't forget to update EnumBits! | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/cms/color_encoding_cms.h | 63 | // NB: don't forget to update EnumBits! | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/cms/color_encoding_cms.h | 72 | // NB: don't forget to update EnumBits! | COMMENT |
| LOW | ext/libjxl/lib/jxl/cms/color_encoding_cms.h | 84 | // NB: don't forget to update EnumBits! | COMMENT |
| LOW | ext/libjxl/lib/jxl/cms/color_encoding_cms.h | 93 | // NB: don't forget to update EnumBits! | COMMENT |
| LOW | ext/zopfli/src/zopflipng/lodepng/lodepng.cpp | 70 | lodepng source code. Don't forget to remove "static" if you copypaste them | CODE |
| LOW | ext/libwebp/examples/unicode.h | 109 | // Don't forget to free wargv before returning (e.g. from main). | COMMENT |
| LOW | mupdf/include/mupdf/fitz/device.h | 416 | Don't forget to call fz_close_device before dropping the device, | CODE |
| LOW | mupdf/include/mupdf/fitz/output.h | 256 | Free an output stream. Don't forget to close it first! | 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/libdjvu/BSEncodeByteStream.cpp | 652 | // Step 1: Radix sort | COMMENT |
| LOW | ext/libdjvu/BSEncodeByteStream.cpp | 664 | // Step 2: Perform presort to depth PRESORT_DEPTH | COMMENT |
| LOW | ext/libdjvu/BSEncodeByteStream.cpp | 676 | // Step 3: Perform rank doubling | COMMENT |
| LOW | ext/libdjvu/BSEncodeByteStream.cpp | 720 | // Step 4: Permute data | COMMENT |
| LOW | ext/brotli/scripts/dictionary/step-01-download-rfc.py | 1 | # Step 01 - download RFC7932. | COMMENT |
| LOW | …i/scripts/dictionary/step-04-generate-java-literals.py | 1 | # Step 04 - generate Java literals. | COMMENT |
| LOW | ext/brotli/scripts/dictionary/step-02-rfc-to-bin.py | 1 | # Step 02 - parse RFC. | COMMENT |
| LOW | ext/brotli/scripts/dictionary/step-03-validate-bin.py | 1 | # Step 03 - validate raw dictionary file. | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 96 | // Step 1: range reduction to [0, 2pi) | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 101 | // Step 2: range reduction to [0, pi] | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 103 | // Step 3: range reduction to [0, pi/2] | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 106 | // Step 4: Taylor-like approximation, scaled by 2**0.75 to make angle | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 114 | // Step 5: angle duplication. | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 118 | // Step 6: change sign if needed. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ext/freetype/src/sdf/ftsdf.c | 2955 | #error "corruption. If required I will add this later." | COMMENT |
| HIGH | ext/zlib/contrib/dotzlib/DotZLib/GZipStream.cs | 263 | /// <remarks>In this implementation, this method does nothing. This is because excessive | COMMENT |
| HIGH | ext/zlib/contrib/dotzlib/DotZLib/GZipStream.cs | 273 | /// <remarks>In this implementation this property is not supported</remarks> | COMMENT |
| HIGH | ext/zlib/contrib/dotzlib/DotZLib/GZipStream.cs | 290 | /// <remarks>In this implementation this property is not supported</remarks> | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/extract/src/docx_template_build.py | 94 | except Exception: | CODE |
| LOW | mupdf/scripts/jlib.py | 153 | except Exception as e: | CODE |
| LOW | mupdf/scripts/jlib.py | 1610 | except Exception as e: | CODE |
| LOW | mupdf/scripts/jlib.py | 1984 | except Exception: | CODE |
| LOW | mupdf/scripts/jlib.py | 2008 | except Exception: | CODE |
| LOW | mupdf/scripts/jlib.py | 2215 | except Exception: | CODE |
| MEDIUM | mupdf/scripts/jlib.py | 1930 | def fs_filesize( filename, default=0): | CODE |
| LOW | mupdf/scripts/mutool.py | 110 | except Exception as e: | STRING |
| LOW | mupdf/scripts/mutool.py | 378 | except Exception as e: | STRING |
| LOW | mupdf/scripts/pipcl.py | 1933 | except Exception as e: | STRING |
| LOW | mupdf/scripts/pipcl.py | 2167 | except Exception: | STRING |
| LOW | mupdf/scripts/mupdfwrap_test.py | 135 | except Exception as e: | CODE |
| LOW | mupdf/scripts/mupdfwrap_test.py | 246 | except Exception as e: | CODE |
| LOW | mupdf/scripts/mupdfwrap_test.py | 422 | except Exception: | CODE |
| LOW | mupdf/scripts/mupdfwrap_gui.py | 176 | except Exception as e: | CODE |
| LOW | mupdf/scripts/mupdfwrap_gui.py | 225 | except Exception as e: | CODE |
| LOW | mupdf/scripts/mutool_draw.py | 165 | except Exception: | CODE |
| LOW | mupdf/scripts/mutool_draw.py | 1056 | except Exception as e: | STRING |
| LOW | mupdf/scripts/mutool_draw.py | 1216 | except Exception as e: | STRING |
| LOW | mupdf/scripts/mutool_draw.py | 1222 | except Exception as e: | STRING |
| MEDIUM | mupdf/scripts/mutool_draw.py | 162 | def stat_mtime(path): | CODE |
| LOW | mupdf/scripts/wdev.py | 167 | except Exception as e: | STRING |
| LOW | mupdf/scripts/wrap/make_cppyy.py | 136 | except Exception as e: | STRING |
| LOW | mupdf/scripts/wrap/make_cppyy.py | 151 | except Exception as e: | STRING |
| LOW | mupdf/scripts/wrap/make_cppyy.py | 157 | except Exception as e: | STRING |
| LOW | mupdf/scripts/wrap/cpp.py | 5514 | except Exception as e: | STRING |
| LOW | mupdf/scripts/wrap/parse.py | 412 | except Exception: | CODE |
| MEDIUM | mupdf/scripts/wrap/parse.py | 409 | def or_none(f): | CODE |
| LOW | mupdf/scripts/wrap/swig.py | 1113 | except Exception: | CODE |
| LOW | mupdf/scripts/wrap/swig.py | 1125 | except Exception: | CODE |
| LOW | mupdf/scripts/wrap/swig.py | 1516 | except Exception as e: | CODE |
| LOW⚡ | mupdf/scripts/wrap/__main__.py | 2662 | except Exception as ee: | STRING |
| LOW | mupdf/scripts/wrap/__main__.py | 1297 | except Exception as e: | STRING |
| LOW | mupdf/scripts/wrap/__main__.py | 3134 | except Exception: | STRING |
| LOW | mupdf/scripts/wrap/state.py | 17 | except Exception as e: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/libheif/libheif/api/libheif/heif_context.h | 201 | // The purpose of this function is that libheif will usually read very small chunks of data with the | COMMENT |
| LOW | ext/libdjvu/BSEncodeByteStream.cpp | 652 | // Step 1: Radix sort | COMMENT |
| LOW | ext/libdjvu/BSEncodeByteStream.cpp | 664 | // Step 2: Perform presort to depth PRESORT_DEPTH | COMMENT |
| LOW | ext/libdjvu/BSEncodeByteStream.cpp | 676 | // Step 3: Perform rank doubling | COMMENT |
| LOW | ext/libdjvu/BSEncodeByteStream.cpp | 720 | // Step 4: Permute data | COMMENT |
| LOW | ext/libdjvu/DjVuDocEditor.cpp | 1593 | // The purpose of this function is to create files containing | COMMENT |
| LOW | ext/libjxl/lib/jxl/modular/transform/palette.h | 49 | // The purpose of this function is solely to extend the interpretation of | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 96 | // Step 1: range reduction to [0, 2pi) | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 101 | // Step 2: range reduction to [0, pi] | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 103 | // Step 3: range reduction to [0, pi/2] | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 106 | // Step 4: Taylor-like approximation, scaled by 2**0.75 to make angle | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 114 | // Step 5: angle duplication. | COMMENT |
| LOW⚡ | ext/libjxl/lib/jxl/base/fast_math-inl.h | 118 | // Step 6: change sign if needed. | COMMENT |
| LOW | ext/synctex/synctex_parser.c | 4800 | /* The purpose of this function is to read a string. | COMMENT |
| LOW | src/MainWindow.cpp | 834 | // could have been destroyed so we need to check if it's still valid | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/gen_caption_glyphs.py | 8 | CODE | |
| LOW | ext/freetype/tests/scripts/download-test-fonts.py | 7 | CODE | |
| LOW | ext/freetype/src/tools/make_distribution_archives.py | 4 | CODE | |
| LOW | ext/brotli/research/brotlidump.py | 11 | CODE | |
| LOW | ext/brotli/research/brotlidump.py | 12 | CODE | |
| LOW | ext/brotli/research/brotlidump.py | 12 | CODE | |
| LOW | ext/brotli/research/brotlidump.py | 13 | CODE | |
| LOW | ext/brotli/python/bro.py | 7 | CODE | |
| LOW | ext/brotli/python/tests/_test_utils.py | 1 | CODE | |
| LOW | ext/harfbuzz/src/gen-arabic-joining-list.py | 10 | CODE | |
| LOW | ext/gumbo-parser/python/gumbo/__init__.py | 33 | CODE | |
| LOW | ext/gumbo-parser/python/gumbo/__init__.py | 36 | CODE | |
| LOW | ext/gumbo-parser/python/gumbo/__init__.py | 42 | CODE | |
| LOW | ext/extract/src/docx_template_build.py | 31 | CODE | |
| LOW | mupdf/scripts/jlib.py | 17 | CODE | |
| LOW | mupdf/scripts/pipcl.py | 25 | CODE | |
| LOW | mupdf/scripts/mupdfwrap_test.py | 9 | CODE | |
| LOW | mupdf/scripts/wrap/rename.py | 5 | CODE | |
| LOW | mupdf/scripts/wrap/python.py | 11 | CODE | |
| LOW | mupdf/scripts/wrap/__main__.py | 917 | CODE | |
| LOW | mupdf/scripts/wrap/state.py | 5 | CODE | |
| LOW | mupdf/scripts/wrap/state.py | 8 | CODE |
| 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⚡ | src/HtmlFormatter.cpp | 1384 | // TODO: implement me | COMMENT |
| LOW⚡ | src/HtmlFormatter.cpp | 1387 | // TODO: implement me | COMMENT |
| LOW⚡ | src/HtmlFormatter.cpp | 1392 | // TODO: implement me | COMMENT |
| LOW⚡ | src/HtmlFormatter.cpp | 1394 | // TODO: implement me | COMMENT |
| LOW⚡ | src/HtmlFormatter.cpp | 1396 | // TODO: implement me | COMMENT |
| LOW | src/HtmlFormatter.cpp | 1440 | // TODO: implement me | COMMENT |
| LOW | src/EditAnnotations.cpp | 1052 | // TODO: implement me | COMMENT |
| LOW | src/EbookDoc.cpp | 634 | // TODO: implement proper namespace support | COMMENT |
| LOW | src/mui/TextRender.h | 9 | // TODO: implement TextRenderDirectDraw | COMMENT |
| LOW | src/wingui/Button.cpp | 36 | // TODO: implement me | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | ext/brotli/csharp/org/brotli/dec/Dictionary.cs | 61 | string[] chunks = new string[] { Org.Brotli.Dec.Dictionary.DataHolder0.GetData(), Org.Brotli.Dec.Dictionary.DataHold | CODE |
| CRITICAL | ext/marked/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 |
|---|---|---|---|---|
| MEDIUM | mupdf/scripts/wrap/rename.py | 71 | CODE | |
| MEDIUM | mupdf/scripts/wrap/rename.py | 73 | CODE | |
| MEDIUM | mupdf/scripts/wrap/rename.py | 74 | CODE | |
| MEDIUM | mupdf/scripts/wrap/rename.py | 77 | CODE | |
| MEDIUM | mupdf/scripts/wrap/rename.py | 120 | CODE | |
| MEDIUM | mupdf/scripts/wrap/rename.py | 137 | CODE | |
| MEDIUM | mupdf/scripts/wrap/rename.py | 139 | CODE | |
| MEDIUM | mupdf/scripts/wrap/rename.py | 140 | CODE | |
| MEDIUM | mupdf/scripts/wrap/rename.py | 141 | CODE | |
| MEDIUM | mupdf/scripts/wrap/rename.py | 144 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | ext/freetype/tests/scripts/download-test-fonts.py | 156 | Extract a file from a given zipfile.ZipFile archive. Args: archive: Input ZipFile objec. archive_name: | STRING |
| HIGH | ext/brotli/python/brotli.py | 26 | Compress a byte string. Args: string (bytes): The input data. mode (int, optional): The compression mod | STRING |
| HIGH | 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 | mupdf/scripts/jlib.py | 1410 | CODE | |
| LOW | mupdf/scripts/jlib.py | 1722 | CODE | |
| LOW | mupdf/scripts/pipcl.py | 1301 | CODE | |
| LOW | mupdf/scripts/pipcl.py | 279 | CODE | |
| LOW | mupdf/scripts/wrap/classes.py | 70 | CODE | |
| LOW | mupdf/scripts/wrap/parse.py | 203 | CODE | |
| LOW | mupdf/scripts/wrap/__main__.py | 1384 | CODE | |
| LOW | mupdf/scripts/wrap/state.py | 198 | CODE | |
| LOW | mupdf/scripts/wrap/state.py | 249 | CODE | |
| LOW | mupdf/scripts/wrap/state.py | 257 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/lcms2/ltmain.sh | 379 | # Check if we can use backslash as IFS='\' separator, and set | COMMENT |
| LOW | ext/lcms2/ltmain.sh | 666 | # Set func_arith_result to the result of evaluating TERMs. | COMMENT |
| LOW | ext/lcms2/ltmain.sh | 690 | # Set func_basename_result to FILE with everything up to and including | COMMENT |
| LOW | ext/lcms2/ltmain.sh | 856 | # Set func_len_result to the length of STRING. STRING may not | COMMENT |
| LOW | ext/lcms2/ltmain.sh | 1074 | # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. | COMMENT |
| LOW | ext/lcms2/ltmain.sh | 4153 | # Check if any of the arguments is a wrapper script. | COMMENT |
| LOW | ext/lcms2/ltmain.sh | 10148 | # Loop over the list of objects to be linked. | COMMENT |
| LOW | ext/zlib/os400/make.sh | 66 | # Set LINK to "YES" if the module has been compiled. | COMMENT |
| LOW | mupdf/scripts/wrap/__main__.py | 980 | # Set fz_items to map name to info about function/struct. | STRING |
| LOW | mupdf/scripts/wrap/__main__.py | 1006 | # Set uses_structs to true if fn returns a fz struct or any | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/md/Tool-run-javascript-reference.md | 5228 | annotation.setAuthor("Jane Doe") | CODE |
| LOW | mupdf/source/fitz/stext-para.c | 305 | * Lorem ipsum dolor sit | COMMENT |
| LOW | src/Menu.cpp | 1798 | // We only want the "path.pdf" / "foo@bar.com" | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/libwebp/examples/img2webp.c | 13 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ext/gumbo-parser/python/gumbo/gumboc.py | 420 | __all__ = ['StringPiece', 'SourcePosition', 'AttributeNamespace', 'Attribute', | CODE |