Repository Analysis

AcademySoftwareFoundation/OpenImageIO

Reading, writing, and processing images in a wide variety of file formats, using a format-agnostic API, aimed at VFX applications.

4.3 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of AcademySoftwareFoundation/OpenImageIO, a C++ project with 2,324 GitHub stars. SynthScan v2.0 examined 302,289 lines of code across 832 source files, recording 1296 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 4.3 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).

4.3
Adjusted Score
4.3
Raw Score
100%
Time Factor
2026-07-12
Last Push
2.3K
Stars
C++
Language
302.3K
Lines of Code
832
Files
1.3K
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 2MEDIUM 75LOW 1219

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1296 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block1132 hits · 960 pts
SeverityFileLineSnippetContext
LOWpyproject.toml141# [[tool.cibuildwheel.overrides]]COMMENT
LOWconanfile.txt21# pybind11/2.4.3 - conan doesn't have this minimum versionCOMMENT
LOWtestsuite/oiiotool-deep/run.py61# only over A's samples, so if A had no samples in a pixel but B hadCOMMENT
LOWtestsuite/jpeg2000-j2kp4files/run.py41# for f in files:COMMENT
LOW…/docs-examples-python/src/docs-examples-imageoutput.py1#!/usr/bin/env pythonCOMMENT
LOW…/docs-examples-python/src/docs-examples-imageoutput.py21def example1() -> None:COMMENT
LOW…cs-examples-python/src/docs-examples-writingplugins.py1#!/usr/bin/env pythonCOMMENT
LOW…cs-examples-python/src/docs-examples-writingplugins.py21def example1() -> None:COMMENT
LOW…e/docs-examples-python/src/docs-examples-imageinput.py1#!/usr/bin/env pythonCOMMENT
LOW…e/docs-examples-python/src/docs-examples-imageinput.py21def example1() -> None:COMMENT
LOW…e/docs-examples-python/src/docs-examples-texturesys.py1#!/usr/bin/env pythonCOMMENT
LOW…e/docs-examples-python/src/docs-examples-texturesys.py21def example1() -> None:COMMENT
LOW…e/docs-examples-python/src/docs-examples-imageioapi.py1#!/usr/bin/env pythonCOMMENT
LOW…e/docs-examples-python/src/docs-examples-imageioapi.py21def example1() -> None:COMMENT
LOW…e/docs-examples-python/src/docs-examples-imagecache.py1#!/usr/bin/env pythonCOMMENT
LOW…e/docs-examples-python/src/docs-examples-imagecache.py21def example1() -> None:COMMENT
LOW…docs-examples-python/src/docs-examples-imagebufalgo.py1#!/usr/bin/env pythonCOMMENT
LOW…docs-examples-python/src/docs-examples-imagebufalgo.py21COMMENT
LOW…ite/docs-examples-python/src/docs-examples-imagebuf.py1#!/usr/bin/env pythonCOMMENT
LOW…ite/docs-examples-python/src/docs-examples-imagebuf.py21def example1() -> None:COMMENT
LOW…suite/docs-examples-cpp/src/docs-examples-imagebuf.cpp1// Copyright Contributors to the OpenImageIO project.COMMENT
LOW…suite/docs-examples-cpp/src/docs-examples-imagebuf.cpp21 // Example code fragment from the docs goes here.COMMENT
LOW…ite/docs-examples-cpp/src/docs-examples-texturesys.cpp1// Copyright Contributors to the OpenImageIO project.COMMENT
LOW…ite/docs-examples-cpp/src/docs-examples-texturesys.cpp21 // Example code fragment from the docs goes here.COMMENT
LOW…ite/docs-examples-cpp/src/docs-examples-imagecache.cpp1// Copyright Contributors to the OpenImageIO project.COMMENT
LOW…ite/docs-examples-cpp/src/docs-examples-imagecache.cpp21 // Example code fragment from the docs goes here.COMMENT
LOW…docs-examples-cpp/src/docs-examples-writingplugins.cpp1// Copyright Contributors to the OpenImageIO project.COMMENT
LOW…docs-examples-cpp/src/docs-examples-writingplugins.cpp21 // Example code fragment from the docs goes here.COMMENT
LOW…e/docs-examples-cpp/src/docs-examples-imagebufalgo.cpp1// Copyright Contributors to the OpenImageIO project.COMMENT
LOW…e/docs-examples-cpp/src/docs-examples-imagebufalgo.cpp21#include <OpenImageIO/imagebuf.h>COMMENT
LOW…ite/docs-examples-cpp/src/docs-examples-imageioapi.cpp1// Copyright Contributors to the OpenImageIO project.COMMENT
LOW…ite/docs-examples-cpp/src/docs-examples-imageioapi.cpp21 // Example code fragment from the docs goes here.COMMENT
LOW…te/docs-examples-cpp/src/docs-examples-imageoutput.cpp1// Copyright Contributors to the OpenImageIO project.COMMENT
LOW…te/docs-examples-cpp/src/docs-examples-imageoutput.cpp21 // Example code fragment from the docs goes here.COMMENT
LOW…ite/docs-examples-cpp/src/docs-examples-imageinput.cpp1// Copyright Contributors to the OpenImageIO project.COMMENT
LOW…ite/docs-examples-cpp/src/docs-examples-imageinput.cpp21 // Example code fragment from the docs goes here.COMMENT
LOWtestsuite/texture-overscan/run.py1#!/usr/bin/env pythonCOMMENT
LOWtestsuite/maketx/run.py181# --mipimage COMMENT
LOWtestsuite/tiff-suite/run.py1#!/usr/bin/env pythonCOMMENT
LOWtestsuite/tiff-suite/run.py21command += rw_command (OIIO_TESTSUITE_IMAGEDIR, "dscf0013.tif")COMMENT
LOWtestsuite/tiff-suite/run.py41# off_luv24.tif 333x225 8-bit CIE LogLuv (SGILog24) office from " "COMMENT
LOWtestsuite/tiff-suite/run.py81# oxford.tif 601x81 8-bit RGB (lzw) screendump off oxfordCOMMENT
LOWtestsuite/openexr-multires/run.py1#!/usr/bin/env pythonCOMMENT
LOWtestsuite/tiff-misc/run.py1#!/usr/bin/env pythonCOMMENT
LOWtestsuite/oiiotool-color/run.py101command += oiiotool ("--nostderr --colorconfig missing.ocio -echo \"Nonexistent config\"", failureok=True)COMMENT
LOWtestsuite/texture-derivs/run.py1#!/usr/bin/env pythonCOMMENT
LOWtestsuite/openexr-decreasingy/run.py1#!/usr/bin/env pythonCOMMENT
LOWtestsuite/oiiotool-maketx/run.py161# To do: --filter --checknan --fullpixelsCOMMENT
LOWtestsuite/oiiotool-control/run.py1#!/usr/bin/env pythonCOMMENT
LOWtestsuite/texture-filtersize/run.py1#!/usr/bin/env pythonCOMMENT
LOWtestsuite/texture-filtersize/run.py21# we aren't over-filtering or under-filtering.COMMENT
LOW.github/workflows/release-sign.yml1# SPDX-License-Identifier: Apache-2.0COMMENT
LOWsrc/testtex/testtex.cpp1// Copyright Contributors to the OpenImageIO project.COMMENT
LOWsrc/testtex/testtex.cpp561COMMENT
LOWsrc/gif.imageio/gif.h1//COMMENT
LOWsrc/gif.imageio/gif.h61COMMENT
LOWsrc/gif.imageio/gif.h81#include <stdlib.h>COMMENT
LOWsrc/gif.imageio/gifinput.cpp1// Copyright Contributors to the OpenImageIO project.COMMENT
LOWsrc/gif.imageio/gifinput.cpp21COMMENT
LOWsrc/gif.imageio/gifinput.cpp81 /// Indicates what to do with canvasCOMMENT
1072 more matches not shown…
Self-Referential Comments25 hits · 76 pts
SeverityFileLineSnippetContext
MEDIUMtestsuite/python-imagebuf/src/test_imagebuf.py294 # Create a small buffer, do various pixel reads and writesCOMMENT
MEDIUM…/docs-examples-python/src/docs-examples-imageoutput.py10# This file contains code examples from the ImageOutput chapter of theCOMMENT
MEDIUM…/docs-examples-python/src/docs-examples-imageoutput.py116 # Create the output file and copy the imageCOMMENT
MEDIUM…cs-examples-python/src/docs-examples-writingplugins.py10# This file contains code examples from the Writing Plugins chapter of theCOMMENT
MEDIUM…e/docs-examples-python/src/docs-examples-imageinput.py10# This file contains code examples from the ImageInput chapter of theCOMMENT
MEDIUM…e/docs-examples-python/src/docs-examples-texturesys.py10# This file contains code examples from the TextureSystem chapter of theCOMMENT
MEDIUM…e/docs-examples-python/src/docs-examples-imageioapi.py10# This file contains code examples from the ImageIO API chapter of theCOMMENT
MEDIUM…e/docs-examples-python/src/docs-examples-imagecache.py10# This file contains code examples from the ImageCache chapter of theCOMMENT
MEDIUM…docs-examples-python/src/docs-examples-imagebufalgo.py10# This file contains code examples from the ImageBufAlgo chapter of theCOMMENT
MEDIUM…docs-examples-python/src/docs-examples-imagebufalgo.py79 # Create a new 3-channel, 512x512 float image filled with 0.0 values.COMMENT
MEDIUM…docs-examples-python/src/docs-examples-imagebufalgo.py104 # Create a new 640x480 RGB image, with a top-to-bottom gradientCOMMENT
MEDIUM…docs-examples-python/src/docs-examples-imagebufalgo.py121 # Create a new 640x480 RGB image, fill it with a two-toned grayCOMMENT
MEDIUM…docs-examples-python/src/docs-examples-imagebufalgo.py136 # Create a new 256x256 field of grayscale white noise on [0,1)COMMENT
MEDIUM…docs-examples-python/src/docs-examples-imagebufalgo.py140 # Create a new 256x256 field of grayscale blue noise on [0,1)COMMENT
MEDIUM…ite/docs-examples-python/src/docs-examples-imagebuf.py10# This file contains code examples from the ImageBuf chapter of theCOMMENT
MEDIUMtestsuite/missingcolor/src/makepartialexr.py12# Create an exr file with deliberately missing tilesCOMMENT
MEDIUMtestsuite/openexr-decreasingy/run.py24# Create an image in decreasing order (Tests ImageOutput::write_image() logic)COMMENT
MEDIUMtestsuite/openexr-decreasingy/run.py28# Create an image in decreasing order via copying a reference image. (Tests ImageBuf::write() logic)COMMENT
MEDIUMtestsuite/oiiotool-demosaic/run.py13# Create a test image with color gradientCOMMENT
MEDIUMtestsuite/texture-env/run.py9# Create a ramped checkerCOMMENT
MEDIUMtestsuite/python-imageinput/src/test_imageinput.py212 # Create a file that has unassociated alphaCOMMENT
MEDIUMtestsuite/python-imageinput/src/test_imageinput.py236 # Create a file that has unassociated alphaCOMMENT
MEDIUMtestsuite/perchannel/run.py36# Create a file with per-channel data types, make sure that worksCOMMENT
MEDIUMtestsuite/oiiotool-spi/run.py13# Define a handy function that runs an oiiotool command, andCOMMENT
MEDIUMtestsuite/nonwhole-tiles/run.py12# Create a fileCOMMENT
Decorative Section Separators22 hits · 69 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/wheel.yml187 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml189 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml199 # -------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml201 # -------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml54 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml56 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml80 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml82 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml93 # -------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml95 # -------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml289 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml291 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml302 # -------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml304 # -------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml378 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml380 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml391 # -------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml393 # -------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml458 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml460 # ---------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml471 # -------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/wheel.yml473 # -------------------------------------------------------------------COMMENT
Excessive Try-Catch Wrapping28 hits · 52 pts
SeverityFileLineSnippetContext
LOWtestsuite/python-deep/src/test_deep.py324except Exception as detail:CODE
MEDIUMtestsuite/python-imagebuf/src/test_imagebuf.py58 print ("Error writing", filename, ":", image.geterror())CODE
MEDIUMtestsuite/python-imagebuf/src/test_imagebuf.py142 print ("Error on initial open:", out.geterror())CODE
MEDIUMtestsuite/python-imagebuf/src/test_imagebuf.py146 print ("Error on write:", img.geterror())CODE
MEDIUMtestsuite/python-imagebuf/src/test_imagebuf.py149 print ("Error on open for append:", out.geterror())CODE
MEDIUMtestsuite/python-imagebuf/src/test_imagebuf.py153 print ("Error on write:", img.geterror())CODE
LOWtestsuite/python-imagebuf/src/test_imagebuf.py339except Exception as detail:CODE
MEDIUM…e/docs-examples-python/src/docs-examples-imageinput.py128 print("Error closing", filename, ", error =", inp.geterror())CODE
MEDIUMtestsuite/python-imageoutput/src/test_imageoutput.py23 print ("Error reading input pixels in", in_filename)CODE
MEDIUMtestsuite/python-imageoutput/src/test_imageoutput.py29 print ("Error reading input pixels in", in_filename)CODE
MEDIUMtestsuite/python-imageoutput/src/test_imageoutput.py38 print ("Error reading input pixels in", in_filename)CODE
MEDIUMtestsuite/python-imageoutput/src/test_imageoutput.py44 print ("Error reading input pixels in", in_filename)CODE
MEDIUMtestsuite/python-imageoutput/src/test_imageoutput.py56 print ("Error reading input pixels in", in_filename)CODE
LOWtestsuite/python-imageoutput/src/test_imageoutput.py230except Exception as detail:CODE
LOWtestsuite/python-typedesc/src/test_typedesc.py270except Exception as detail:CODE
LOWtestsuite/python-paramlist/src/test_paramlist.py155except Exception as detail:CODE
LOWtestsuite/python-roi/src/test_roi.py93except Exception as detail:CODE
MEDIUMtestsuite/python-imageinput/src/test_imageinput.py151 print ("Error: tiled")CODE
MEDIUMtestsuite/python-imageinput/src/test_imageinput.py181 print ("Error: not tiled")CODE
MEDIUMtestsuite/python-imageinput/src/test_imageinput.py206 print ("Error writing", filename, ":", image.geterror())CODE
LOWtestsuite/python-imageinput/src/test_imageinput.py409except Exception as detail:CODE
LOWtestsuite/python-texturesys/src/test_texture_sys.py227except Exception as detail:CODE
LOWtestsuite/python-colorconfig/src/test_colorconfig.py97except Exception as detail:CODE
LOWtestsuite/python-imagecache/src/test_imagecache.py140except Exception as detail:CODE
LOWtestsuite/python-imagespec/src/test_imagespec.py251except Exception as detail:CODE
MEDIUMtestsuite/python-imagebufalgo/src/test_imagebufalgo.py33 print ("Error writing", filename, ":", image.geterror())CODE
LOWtestsuite/python-imagebufalgo/src/test_imagebufalgo.py654except Exception as detail:CODE
LOWtestsuite/python-oiio/src/test_oiio.py152except Exception as detail:CODE
Unused Imports38 hits · 38 pts
SeverityFileLineSnippetContext
LOWtestsuite/python-deep/src/test_deep.py7CODE
LOWtestsuite/python-imagebuf/src/test_imagebuf.py7CODE
LOW…cs-examples-python/src/docs-examples-writingplugins.py18CODE
LOW…cs-examples-python/src/docs-examples-writingplugins.py19CODE
LOW…e/docs-examples-python/src/docs-examples-imageinput.py19CODE
LOW…e/docs-examples-python/src/docs-examples-imageinput.py110CODE
LOW…e/docs-examples-python/src/docs-examples-texturesys.py18CODE
LOW…e/docs-examples-python/src/docs-examples-texturesys.py19CODE
LOW…e/docs-examples-python/src/docs-examples-imageioapi.py18CODE
LOW…e/docs-examples-python/src/docs-examples-imageioapi.py19CODE
LOW…e/docs-examples-python/src/docs-examples-imagecache.py18CODE
LOW…e/docs-examples-python/src/docs-examples-imagecache.py19CODE
LOW…docs-examples-python/src/docs-examples-imagebufalgo.py19CODE
LOW…docs-examples-python/src/docs-examples-imagebufalgo.py20CODE
LOW…ite/docs-examples-python/src/docs-examples-imagebuf.py18CODE
LOW…ite/docs-examples-python/src/docs-examples-imagebuf.py19CODE
LOWtestsuite/python-imageoutput/src/test_imageoutput.py6CODE
LOWtestsuite/targa-thumbnail/run.py9CODE
LOWtestsuite/oiiotool-color/run.py8CODE
LOWtestsuite/python-typedesc/src/test_typedesc.py7CODE
LOWtestsuite/python-paramlist/src/test_paramlist.py7CODE
LOWtestsuite/openexr-decreasingy/run.py7CODE
LOWtestsuite/openexr-decreasingy/run.py7CODE
LOWtestsuite/python-roi/src/test_roi.py7CODE
LOWtestsuite/python-imageinput/src/test_imageinput.py7CODE
LOWtestsuite/python-texturesys/src/test_texture_sys.py7CODE
LOWtestsuite/python-colorconfig/run.py8CODE
LOWtestsuite/python-colorconfig/src/test_colorconfig.py7CODE
LOWtestsuite/python-colorconfig/src/test_colorconfig.py9CODE
LOWtestsuite/openexr-copy/run.py7CODE
LOWtestsuite/python-imagecache/src/test_imagecache.py7CODE
LOWtestsuite/python-imagecache/src/test_imagecache.py9CODE
LOWtestsuite/python-imagespec/src/test_imagespec.py7CODE
LOWtestsuite/python-imagebufalgo/src/test_imagebufalgo.py7CODE
LOWtestsuite/python-oiio/src/test_oiio.py7CODE
LOWsrc/python/__init__.py33CODE
LOWsrc/python-nanobind/__init__.py35CODE
LOWsrc/doc/conf.py21CODE
AI Slop Vocabulary13 hits · 37 pts
SeverityFileLineSnippetContext
MEDIUMsrc/cineon.imageio/cineoninput.cpp204 // FIXME: making this more robust would require the per-channel transferCOMMENT
MEDIUMsrc/include/OpenImageIO/vecparam.h22/// application that have seamless conversion to and from similar types.COMMENT
MEDIUMsrc/include/OpenImageIO/fmath.h1479// are much faster at the expense of some accuracy and robust handling ofCOMMENT
MEDIUMsrc/include/OpenImageIO/function_view.h64/// callable object. It's more robust, especially with respect to objectCOMMENT
MEDIUMsrc/include/OpenImageIO/imagecache.h137 /// only be able to utilize that single subimage.COMMENT
MEDIUMsrc/include/OpenImageIO/imagecache.h141 /// subimages (that don't really exist). Essentially thisCOMMENT
MEDIUMsrc/include/OpenImageIO/imagecache.h171 /// number (like 3) may help make an application more robust toCOMMENT
MEDIUMsrc/iv/imageviewer.cpp124 // FIXME -- would be nice to have a more nuanced approach to displayCOMMENT
MEDIUMsrc/libutil/xxhash.cpp363 if ((((size_t)input) & 3) == 0) // Input is aligned, let's leverage the speed advantageCODE
MEDIUMsrc/libutil/xxhash.cpp503 if ((((size_t)input) & 7)==0) // Input is aligned, let's leverage the speed advantageCODE
MEDIUMsrc/libtexture/texturesys.cpp1865 // Tiny dx and dy: Essentially point sampling. Substitute aCOMMENT
MEDIUMsrc/libtexture/texturesys.cpp2713 // To utilize SIMD ops in an inherently scalar loop, every fourthCOMMENT
MEDIUMsrc/libtexture/texturesys.cpp3068 // To utilize SIMD ops in an inherently scalar loop, every fourthCOMMENT
Redundant / Tautological Comments7 hits · 10 pts
SeverityFileLineSnippetContext
LOWtestsuite/jpeg-metadata/run.py13# Check if the comments are correctly decoded as attributes, and that writingCOMMENT
LOW…e/docs-examples-python/src/docs-examples-imageinput.py97 # Open the file, passing in the config.COMMENT
LOW…docs-examples-python/src/docs-examples-imagebufalgo.py288 # Set B to be a copy of A, but converted to floatCOMMENT
LOW…docs-examples-python/src/docs-examples-imagebufalgo.py299 # Set B to be a 200x100 region of A starting at (50,50), trimmingCOMMENT
LOW…docs-examples-python/src/docs-examples-imagebufalgo.py311 # Set B to be a 200x100 region of A starting at (50,50), butCOMMENT
LOWsrc/build-scripts/build_ninja.bash19# Check if the tar exist, download it if notCOMMENT
LOWsrc/build-scripts/ninjatracing.py104 # Check if any event duration is greater than the duration from ninja.COMMENT
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHtestsuite/oiiotool/run.py248command += oiiotool ("--missingfile black box.tif missing.tif --over -o box_over_missing2.tif || true")CODE
HIGHtestsuite/oiiotool/run.py250command += oiiotool ("--missingfile checker box.tif missing.tif --over -o box_over_missing3.tif || true")CODE
Structural Annotation Overuse6 hits · 9 pts
SeverityFileLineSnippetContext
LOWsrc/libOpenImageIO/imagebufalgo_flip.cpp487 // Step 1: Convert both images to YCxCz, clamping to [0,1] first.COMMENT
LOWsrc/libOpenImageIO/imagebufalgo_flip.cpp520 // Step 2: Spatial CSF filter — separable, two kernel variants.COMMENT
LOWsrc/libOpenImageIO/imagebufalgo_flip.cpp576 // Step 3: y-direction pass + compute color difference.COMMENT
LOWsrc/libOpenImageIO/imagebufalgo_flip.cpp641 // Step 4: Feature (edge/point) filter — x-direction pass.COMMENT
LOWsrc/libOpenImageIO/imagebufalgo_flip.cpp691 // Step 5: Feature filter y-direction pass + final combine.COMMENT
LOWsrc/dds.imageio/ddsinput.cpp683// NOTE: This function has no sanity checks! It's a private method and reliesCOMMENT
Verbosity Indicators5 hits · 8 pts
SeverityFileLineSnippetContext
LOWsrc/libOpenImageIO/imagebufalgo_flip.cpp487 // Step 1: Convert both images to YCxCz, clamping to [0,1] first.COMMENT
LOWsrc/libOpenImageIO/imagebufalgo_flip.cpp520 // Step 2: Spatial CSF filter — separable, two kernel variants.COMMENT
LOWsrc/libOpenImageIO/imagebufalgo_flip.cpp576 // Step 3: y-direction pass + compute color difference.COMMENT
LOWsrc/libOpenImageIO/imagebufalgo_flip.cpp641 // Step 4: Feature (edge/point) filter — x-direction pass.COMMENT
LOWsrc/libOpenImageIO/imagebufalgo_flip.cpp691 // Step 5: Feature filter y-direction pass + final combine.COMMENT
Deep Nesting7 hits · 7 pts
SeverityFileLineSnippetContext
LOWtestsuite/runtest.py358CODE
LOWtestsuite/runtest.py400CODE
LOWtestsuite/python-deep/src/test_deep.py49CODE
LOWtestsuite/python-imagebuf/src/test_imagebuf.py88CODE
LOWtestsuite/python-imageoutput/src/test_imageoutput.py17CODE
LOWtestsuite/python-imagebufalgo/src/test_imagebufalgo.py35CODE
LOWsrc/build-scripts/ninjatracing.py120CODE
Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…e/psd-colormodes/src/make-indexed-transparency-psds.py29def find_transparency_index_resource(data):CODE
LOWtestsuite/python-imagebuf/src/test_imagebuf.py211def test_outofrange_subimage_miplevel() :CODE
LOW…docs-examples-python/src/docs-examples-imagebufalgo.py346def example_flip_flop_transpose() -> None:CODE
LOW…docs-examples-python/src/docs-examples-imagebufalgo.py544def example_fillholes_pushpull() -> None:CODE
LOWtestsuite/python-imageinput/src/test_imageinput.py211def test_tiff_remembering_config() :CODE
LOWtestsuite/python-oiio/src/test_oiio.py12def version_string_looks_valid(version: str) -> bool:CODE
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOWsrc/jpeg.imageio/jpeginput.cpp631 // Don't forget to save and restore any configuration settings.COMMENT
LOWsrc/r3d.imageio/r3dinput.cpp354 // Don't forget to save and restore any configuration settings.COMMENT
LOWsrc/png.imageio/pnginput.cpp331 // Don't forget to save and restore any configuration settings.COMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtestsuite/runtest.py221CODE
LOWtestsuite/runtest.py290CODE