openFrameworks is a community-developed cross platform toolkit for creative coding in C++.
This report presents the forensic synthetic code analysis of openframeworks/openFrameworks, a C++ project with 10,407 GitHub stars. SynthScan v2.0 examined 334,731 lines of code across 1755 source files, recording 1307 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 3.6 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 1307 distinct pattern matches across 11 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 | .travis.yml | 21 | - ubuntu-toolchain-r-test | COMMENT |
| LOW | addons/ofxKinect/libs/libfreenect/include/libfreenect.h | 41 | COMMENT | |
| LOW | addons/ofxKinect/libs/libfreenect/include/libfreenect.h | 181 | COMMENT | |
| LOW | addons/ofxKinect/libs/libfreenect/src/cameras.c | 21 | * of the CONTRIB file. | COMMENT |
| LOW | addons/ofxKinect/libs/libfreenect/src/usb_libusb10.h | 21 | * of the CONTRIB file. | COMMENT |
| LOW | …ons/ofxKinect/libs/libfreenect/src/freenect_internal.h | 61 | unsigned int fn_fw_k4w_size; | COMMENT |
| LOW | …ons/ofxKinect/libs/libfreenect/src/freenect_internal.h | 121 | conversion_union.u = fn_le32(conversion_union.u); | COMMENT |
| LOW | addons/ofxKinect/libs/libfreenect/src/tilt.c | 21 | * of the CONTRIB file. | COMMENT |
| LOW | addons/ofxKinect/libs/libfreenect/src/registration.c | 41 | #define DEPTH_SENSOR_X_RES 1280 | COMMENT |
| LOW | addons/ofxKinect/src/ofxKinect.h | 41 | // mac and linux need this | COMMENT |
| LOW | addons/ofxKinect/src/ofxKinect.h | 61 | COMMENT | |
| LOW | addons/ofxKinect/src/ofxKinect.h | 81 | /// call this before open(), has no effect while the connection is running | COMMENT |
| LOW | addons/ofxKinect/src/ofxKinect.h | 201 | COMMENT | |
| LOW | addons/ofxKinect/src/ofxKinect.h | 221 | COMMENT | |
| LOW | addons/ofxGui/src/ofxGui.h | 1 | #pragma once | COMMENT |
| LOW | addons/ofxGui/src/ofxColorPicker.h | 1 | // | COMMENT |
| LOW | addons/ofxNetwork/docs/Instructions.txt | 21 | COMMENT | |
| LOW | addons/ofxNetwork/src/ofxTCPManager.h | 41 | SetTimeoutAccept() | COMMENT |
| LOW | addons/ofxNetwork/src/ofxTCPManager.h | 61 | #include <arpa/inet.h> | COMMENT |
| LOW | addons/ofxNetwork/src/ofxTCPClient.h | 41 | bool sendRawMsg(const char * msg, int size); | COMMENT |
| LOW | addons/ofxNetwork/src/ofxNetwork.h | 1 | #pragma once | COMMENT |
| LOW | addons/ofxNetwork/src/ofxUDPManager.h | 61 | ... | COMMENT |
| LOW | addons/ofxNetwork/src/ofxUDPManager.h | 81 | #include <netinet/in.h> | COMMENT |
| LOW | addons/ofxNetwork/src/ofxTCPServer.h | 61 | //if you are trying to send something other than just ascii strings | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvShortImage.h | 21 | COMMENT | |
| LOW | addons/ofxOpenCv/src/ofxCvShortImage.h | 61 | void addWeighted( ofxCvGrayscaleImage& mom, float f ); | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvShortImage.h | 81 | COMMENT | |
| LOW | addons/ofxOpenCv/src/ofxCvShortImage.h | 101 | // virtual void scale( float scaleX, float sclaeY ); //in base class | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvConstants.h | 1 | #pragma once | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvColorImage.h | 21 | ofxCvColorImage(); | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvColorImage.h | 61 | using ofxCvImage::operator-=; //force inheritance | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvColorImage.h | 81 | //virtual void draw( float x, float y ); //in base class | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvColorImage.h | 101 | // Image Transformation Operations | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxOpenCv.h | 1 | #pragma once | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvImage.cpp | 161 | //-------------------------------------------------------------------------------- | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvFloatImage.h | 41 | virtual float getNativeScaleMax() {return scaleMax;}; | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvFloatImage.h | 81 | COMMENT | |
| LOW | addons/ofxOpenCv/src/ofxCvFloatImage.h | 101 | //virtual void resetAnchor(); //in base class | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvFloatImage.h | 121 | // virtual void rotate( float angle, float centerX, float centerY ); //in base class | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvGrayscaleImage.h | 21 | using ofxCvImage::setFromPixels; | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvGrayscaleImage.h | 61 | // virtual void operator *= ( ofxCvImage& mom ); //in base class | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvGrayscaleImage.h | 101 | // virtual void invert(); //in base class | COMMENT |
| LOW | addons/ofxOpenCv/src/ofxCvGrayscaleImage.h | 121 | // ofPoint& C, ofPoint& D ); //in base class | COMMENT |
| LOW | addons/ofxPoco/src/ofxXmlPoco.h | 1 | #pragma once | COMMENT |
| LOW | addons/ofxVectorGraphics/libs/CreEPS.cpp | 41 | // umlauts. If you plan to use umlauts only with LaTeX font output, | COMMENT |
| LOW | addons/ofxVectorGraphics/src/ofxVectorGraphics.cpp | 381 | //by finding the approrpriate control points | COMMENT |
| LOW | addons/ofxXmlSettings/libs/tinyxml.h | 21 | 3. This notice may not be removed or altered from any source | COMMENT |
| LOW | addons/ofxXmlSettings/libs/tinyxml.h | 41 | // Help out windows: | COMMENT |
| LOW | addons/ofxXmlSettings/libs/tinyxml.h | 61 | // test. If you get compilation troubles, undefine TIXML_SAFE | COMMENT |
| LOW | addons/ofxXmlSettings/libs/tinyxmlparser.cpp | 21 | 3. This notice may not be removed or altered from any source | COMMENT |
| LOW | addons/ofxXmlSettings/libs/tinyxmlparser.cpp | 41 | // is less flexible than it appears. Changing the entries | COMMENT |
| LOW | addons/ofxXmlSettings/libs/tinyxmlparser.cpp | 141 | return 1; // What else to do? The unicode set is huge...get the english ones right. | COMMENT |
| LOW | addons/ofxXmlSettings/libs/tinyxml.cpp | 1001 | data.reserve( length ); | COMMENT |
| LOW | addons/ofxXmlSettings/src/ofxXmlSettings.h | 101 | //-- numTags | COMMENT |
| LOW | addons/ofxSvg/src/ofxSvgElements.cpp | 761 | } | COMMENT |
| LOW | addons/ofxSvg/src/ofxSvg.cpp | 781 | // ofxSvgCssClass::sGetFloat(ryAttr.getValue())) | COMMENT |
| LOW | addons/ofxSvg/src/ofxSvg.cpp | 2341 | COMMENT | |
| LOW | addons/ofxSvg/src/ofxSvgGroup.h | 121 | std::vector< std::shared_ptr<ofxSvgElement> >& getChildren(); | COMMENT |
| LOW | addons/ofxSvg/src/ofxSvgGroup.h | 141 | /// For example: "*:MyElement" will recursively search for the element "MyElement". | COMMENT |
| LOW | addons/ofxSvg/src/ofxSvgGroup.h | 281 | std::shared_ptr<ofxSvgElement> getElement( std::string aPath, bool bStrict = false ); | COMMENT |
| 1206 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | addons/ofxSvg/src/ofxSvgElements.cpp | 93 | // Step 2: Replace known patterns from Illustrator | COMMENT |
| LOW⚡ | addons/ofxSvg/src/ofxSvg.cpp | 1026 | // Step 1: Compute (x1', y1') - the coordinates of the start point in the transformed coordinate system | COMMENT |
| LOW⚡ | addons/ofxSvg/src/ofxSvg.cpp | 1030 | // Step 2: Correct radii if necessary | COMMENT |
| LOW | addons/ofxSvg/src/ofxSvg.cpp | 1045 | // Step 3: Compute (cx', cy') - the center point in the transformed coordinate system | COMMENT |
| LOW | addons/ofxSvg/src/ofxSvg.cpp | 1059 | // Step 4: Compute the center point in the original coordinate system | COMMENT |
| LOW⚡ | addons/ofxSvg/src/ofxSvg.cpp | 1834 | // Step 1: Translate to pivot (move pivot to origin) | COMMENT |
| LOW⚡ | addons/ofxSvg/src/ofxSvg.cpp | 1837 | // Step 2: Apply rotation | COMMENT |
| LOW⚡ | addons/ofxSvg/src/ofxSvg.cpp | 1840 | // Step 3: Translate back to original position | COMMENT |
| LOW | libs/openFrameworks/utils/ofSystemUtils.cpp | 655 | //Step 1: Registering the Window Class | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | addons/ofxSvg/src/ofxSvgElements.cpp | 93 | // Step 2: Replace known patterns from Illustrator | COMMENT |
| LOW⚡ | addons/ofxSvg/src/ofxSvg.cpp | 1026 | // Step 1: Compute (x1', y1') - the coordinates of the start point in the transformed coordinate system | COMMENT |
| LOW⚡ | addons/ofxSvg/src/ofxSvg.cpp | 1030 | // Step 2: Correct radii if necessary | COMMENT |
| LOW | addons/ofxSvg/src/ofxSvg.cpp | 1045 | // Step 3: Compute (cx', cy') - the center point in the transformed coordinate system | COMMENT |
| LOW | addons/ofxSvg/src/ofxSvg.cpp | 1059 | // Step 4: Compute the center point in the original coordinate system | COMMENT |
| LOW⚡ | addons/ofxSvg/src/ofxSvg.cpp | 1834 | // Step 1: Translate to pivot (move pivot to origin) | COMMENT |
| LOW⚡ | addons/ofxSvg/src/ofxSvg.cpp | 1837 | // Step 2: Apply rotation | COMMENT |
| LOW⚡ | addons/ofxSvg/src/ofxSvg.cpp | 1840 | // Step 3: Translate back to original position | COMMENT |
| LOW | libs/openFrameworks/utils/ofSystemUtils.cpp | 655 | //Step 1: Registering the Window Class | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/osx/xcode_project.sh | 226 | # Check if the .app file exists | COMMENT |
| LOW | scripts/ci/package_builds.sh | 7 | # Check if ROOT is empty | COMMENT |
| LOW | scripts/ci/package_builds.sh | 9 | # Set ROOT to ../../../ if it's empty | COMMENT |
| LOW | scripts/ci/emscripten/examples_to_build.sh | 184 | # Check if the folder exists | COMMENT |
| LOW | scripts/ci/emscripten/examples_to_build.sh | 209 | # Check if the file is a regular file | COMMENT |
| LOW | scripts/ci/emscripten/examples_to_build.sh | 247 | # Check if a file was found | COMMENT |
| LOW | scripts/emscripten/download_libs_via_vcpkg.sh | 15 | # Check if vcpkg is installed | COMMENT |
| LOW | scripts/dev/download_libs.sh | 340 | # # Check if the file exists | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/of.sh | 54 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/of.sh | 242 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/of.sh | 695 | # ----------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | libs/openFrameworks/utils/ofLog.h | 409 | /// and can be used as a direct replacement. Essentially, the second | COMMENT |
| MEDIUM | libs/openFrameworks/gl/ofShader.cpp | 639 | // We need to find a robust way of extracing this information from | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/utils/buffer/src/main.cpp | 146 | lines.push_back("Lorem ipsum dolor sit amet,"); | CODE |
| LOW | tests/utils/buffer/src/main.cpp | 146 | lines.push_back("Lorem ipsum dolor sit amet,"); | CODE |
| LOW | tests/utils/buffer/src/main.cpp | 183 | lines.push_back("Lorem ipsum dolor sit amet,"); | CODE |
| LOW | tests/utils/buffer/src/main.cpp | 183 | lines.push_back("Lorem ipsum dolor sit amet,"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/osx/snapshotAllExamples.sh | 6 | # Define the directory to the examples/graphics | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/ci/linuxarmv7l/arch-bootstrap_downloadonly.sh | 12 | # Usage: | COMMENT |
| LOW | scripts/ci/linuxarmv7l/arch-bootstrap.sh | 12 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | examples/android/androidGuiExample/src/ofApp.cpp | 18 | gui.setup("panel"); // most of the time you don't need a name but don't forget to call setup | CODE |
| LOW | examples/gui/guiFromParametersExample/src/ofApp.cpp | 12 | gui.setup("panel"); // most of the time you don't need a name but don't forget to call setup | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ons/ofxKinect/libs/libfreenect/src/freenect_internal.h | 178 | freenect_sample_51* audio_out_ring; // TODO: implement sending user-provided data in callbacks | CODE |