JPEG XL image format reference implementation
This report summarizes scanner evidence for libjxl/libjxl, a C++ project with 3,703 GitHub stars. SynthScan examined 56,188 lines of code across 463 source files, recording 374 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 7.1 (Moderate 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.
Can maintainers explain intent, assumptions, and trade-offs? 361 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 4 finding(s).
Which changes need focused human review? 374 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 374 distinct pattern matches across 10 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 | CMakeLists.txt | 281 | endif() | COMMENT |
| LOW | CMakeLists.txt | 301 | # to pass -lstdc++ explicitly before -lpthread. For pure C programs -lstdc++ | COMMENT |
| LOW | ci.sh | 221 | COMMENT | |
| LOW | tools/tracking_memory_manager.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/file_io.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/cmdline.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/ssimulacra.txt | 81 | COMMENT | |
| LOW | tools/args.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/codec_config.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/gauss_blur.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/thread_pool_internal.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/benchmark/benchmark_codec.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/benchmark/benchmark_codec_custom.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/benchmark/benchmark_codec_custom.h | 21 | // | COMMENT |
| LOW | tools/benchmark/benchmark_stats.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/benchmark/benchmark_codec_jxl.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/benchmark/benchmark_file_io.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/benchmark/benchmark_codec_webp.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/benchmark/benchmark_args.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/hdr/image_utils.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/hdr/image_utils.h | 21 | #include "lib/extras/dec/decode.h" // Codec enum | COMMENT |
| LOW | tools/comparison_viewer/codec_comparison_window.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/comparison_viewer/image_loading.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/comparison_viewer/split_image_renderer.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/flicker_test/split_view.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/flicker_test/test_window.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | tools/jni/org/jpeg/jpegxl/wrapper/decoder_jni.h | 41 | #endif | COMMENT |
| LOW | plugins/gdk-pixbuf/pixbufloader-jxl.c | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | plugins/mime/CMakeLists.txt | 1 | # Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | third_party/CMakeLists.txt | 1 | # Copyright (c) the JPEG XL Project | COMMENT |
| LOW | third_party/dirent.h | 1 | // Copyright (c) the JPEG XL Project | COMMENT |
| LOW | .github/workflows/codeql.yml | 1 | # Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | .github/workflows/dependency-review.yml | 1 | # Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | .github/workflows/release.yaml | 1 | # Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | .github/workflows/scorecard.yml | 1 | # Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/testing.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/testing.h | 21 | #if JPEGXL_ENABLE_TRANSCODE_JPEG | COMMENT |
| LOW | lib/jxl/testing.h | 41 | // googletest before 1.10 didn't define INSTANTIATE_TEST_SUITE_P() but instead | COMMENT |
| LOW | lib/jxl/convolve-inl.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_patch_dictionary.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_ans_params.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_photon_noise.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_comparator.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_comparator.h | 21 | COMMENT | |
| LOW | lib/jxl/enc_entropy_coder.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_dot_dictionary.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/noise.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_modular_simd.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/dec_patch_dictionary.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/dec_patch_dictionary.h | 41 | // The new values (in the crop) get multiplied by the old ones: | COMMENT |
| LOW | lib/jxl/dec_external_image.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/dec_external_image.h | 41 | jxl::Orientation undo_orientation); | COMMENT |
| LOW | lib/jxl/dec_transforms-inl.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_frame.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_frame.h | 21 | #include "lib/jxl/enc_cache.h" | COMMENT |
| LOW | lib/jxl/enc_frame.h | 41 | // colorspace (as deduced by cparams). | COMMENT |
| LOW | lib/jxl/enc_splines.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_lz77.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_modular.h | 1 | // Copyright (c) the JPEG XL Project Authors. All rights reserved. | COMMENT |
| LOW | lib/jxl/enc_modular.h | 21 | #include "lib/jxl/dec_modular.h" | COMMENT |
| 271 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | lib/jxl/modular/transform/palette.h | 49 | // The purpose of this function is solely to extend the interpretation of | COMMENT |
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 98 | // Step 1: range reduction to [0, 2pi) | COMMENT |
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 103 | // Step 2: range reduction to [0, pi] | COMMENT |
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 105 | // Step 3: range reduction to [0, pi/2] | COMMENT |
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 108 | // Step 4: Taylor-like approximation, scaled by 2**0.75 to make angle | COMMENT |
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 116 | // Step 5: angle duplication. | COMMENT |
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 120 | // Step 6: change sign if needed. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 98 | // Step 1: range reduction to [0, 2pi) | COMMENT |
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 103 | // Step 2: range reduction to [0, pi] | COMMENT |
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 105 | // Step 3: range reduction to [0, pi/2] | COMMENT |
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 108 | // Step 4: Taylor-like approximation, scaled by 2**0.75 to make angle | COMMENT |
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 116 | // Step 5: angle duplication. | COMMENT |
| LOW⚡ | lib/jxl/base/fast_math-inl.h | 120 | // Step 6: change sign if needed. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/benchmark/metrics/plots.py | 57 | CODE | |
| LOW | …caling_coefficients/generate_upscaling_coefficients.py | 169 | CODE | |
| LOW | tools/optimizer/apply_simplex.py | 52 | CODE | |
| LOW | tools/scripts/check_author.py | 17 | CODE | |
| LOW | tools/scripts/demo_progressive_saliency_encoding.py | 53 | CODE | |
| LOW | tools/scripts/demo_progressive_saliency_encoding.py | 77 | CODE | |
| LOW | tools/scripts/build_stats.py | 291 | CODE | |
| LOW | tools/conformance/generator.py | 21 | CODE | |
| LOW | tools/conformance/conformance.py | 84 | CODE | |
| LOW | tools/conformance/conformance.py | 229 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/benchmark/metrics/iqa.py | 18 | CODE | |
| LOW | tools/optimizer/simplex_fork.py | 19 | CODE | |
| LOW | tools/optimizer/simplex_fork.py | 20 | CODE | |
| LOW | tools/optimizer/simplex_fork.py | 21 | CODE | |
| LOW | tools/optimizer/simplex_fork.py | 23 | CODE | |
| LOW | tools/optimizer/simplex_fork.py | 26 | CODE | |
| LOW | tools/scripts/demo_progressive_saliency_encoding.py | 29 | CODE | |
| LOW | tools/scripts/demo_progressive_saliency_encoding.py | 30 | CODE | |
| LOW | tools/scripts/demo_progressive_saliency_encoding.py | 31 | CODE | |
| LOW | tools/conformance/generator.py | 18 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | lib/jxl/cms/color_encoding_cms.h | 54 | // NB: don't forget to update EnumBits! | COMMENT |
| LOW⚡ | lib/jxl/cms/color_encoding_cms.h | 63 | // NB: don't forget to update EnumBits! | COMMENT |
| LOW⚡ | lib/jxl/cms/color_encoding_cms.h | 72 | // NB: don't forget to update EnumBits! | COMMENT |
| LOW | lib/jxl/cms/color_encoding_cms.h | 84 | // NB: don't forget to update EnumBits! | COMMENT |
| LOW | lib/jxl/cms/color_encoding_cms.h | 93 | // NB: don't forget to update EnumBits! | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/scripts/demo_progressive_saliency_encoding.py | 160 | except OSError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/scripts/demo_progressive_saliency_encoding.py | 68 | except Exception as exn: | CODE |
| MEDIUM | tools/scripts/build_stats.py | 410 | print('Error: %s exceeds stack limit: %d vs %d' % ( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/conformance/generator.py | 89 | # Create the test descriptor file. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/conformance/lcms2.py | 59 | CODE |