The fastest and most memory efficient lattice Boltzmann CFD software, running on all GPUs and CPUs via OpenCL. Free for non-commercial use.
This report summarizes scanner evidence for ProjectPhysX/FluidX3D, a C++ project with 5,310 GitHub stars. SynthScan examined 57,326 lines of code across 45 source files, recording 354 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 5.0 (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? 354 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 354 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 354 distinct pattern matches across 2 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 | src/defines.hpp | 1 | #pragma once | COMMENT |
| LOW | src/defines.hpp | 21 | //#define MOVING_BOUNDARIES // enables moving solids: set solid cells to TYPE_S and set their velocity u unequal to zero | COMMENT |
| LOW | src/defines.hpp | 41 | #define GRAPHICS_RAYTRACING_TRANSMITTANCE 0.25f // transmitted light fraction in raytracing graphics ("0.25f" = 1/4 of l | COMMENT |
| LOW | src/defines.hpp | 61 | COMMENT | |
| LOW | src/defines.hpp | 81 | #undef MOVING_BOUNDARIES | COMMENT |
| LOW | src/defines.hpp | 101 | #define UPDATE_FIELDS // update (rho, u, T) in every LBM step | COMMENT |
| LOW | src/setup.cpp | 1 | #include "setup.hpp" | COMMENT |
| LOW | src/graphics.cpp | 401 | //case 'C': key_C = !key_C; break; | COMMENT |
| LOW | src/lodepng.hpp | 61 | #ifndef LODEPNG_NO_COMPILE_ENCODER | COMMENT |
| LOW | src/lodepng.hpp | 81 | you can define the functions lodepng_free, lodepng_malloc and lodepng_realloc in your | COMMENT |
| LOW | src/setup.hpp | 1 | #pragma once | COMMENT |
| LOW | src/utilities.hpp | 1 | #pragma once | COMMENT |
| LOW | src/utilities.hpp | 21 | #include <iostream> | COMMENT |
| LOW | src/utilities.hpp | 41 | #define max_short ((short)32767) | COMMENT |
| LOW | src/utilities.hpp | 3161 | } | COMMENT |
| LOW | src/utilities.hpp | 3181 | #define UTILITIES_CONSOLE_COLOR | COMMENT |
| LOW | src/opencl.hpp | 1 | #pragma once | COMMENT |
| LOW | src/lbm.cpp | 801 | } | COMMENT |
| LOW | src/lbm.cpp | 821 | #endif // SURFACE | COMMENT |
| LOW | src/lbm.cpp | 861 | #ifndef MOVING_BOUNDARIES | COMMENT |
| LOW | src/kernel.hpp | 21 | // full catalogue: https://www.khronos.org/files/opencl30-reference-guide.pdf | COMMENT |
| LOW | src/kernel.hpp | 41 | #define kernel | COMMENT |
| LOW | src/kernel.hpp | 61 | #define atomic_or(p,x) // (*p)=(*p)|x | COMMENT |
| LOW | src/kernel.hpp | 81 | #define max(x,y) | COMMENT |
| LOW | src/kernel.hpp | 101 | #define copysign(x,y) // x with sign changed to sign of y | COMMENT |
| LOW | src/kernel.hpp | 121 | #define isinf(x) // test for infinity | COMMENT |
| LOW | src/kernel.hpp | 141 | #define signbit(x) // test for sign bit | COMMENT |
| LOW | src/kernel.hpp | 161 | #define fast_distance(x,y) // |y-x| | COMMENT |
| LOW | src/kernel.hpp | 181 | #define double16 | COMMENT |
| LOW | src/kernel.hpp | 201 | #define long16 | COMMENT |
| LOW | src/kernel.hpp | 221 | #define ulong2 | COMMENT |
| LOW | src/kernel.hpp | 241 | #define as_double2(x) | COMMENT |
| LOW | src/kernel.hpp | 261 | #define as_int8(x) | COMMENT |
| LOW | src/kernel.hpp | 281 | #define as_uint(x) | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 21 | COMMENT | |
| LOW | src/OpenCL/include/CL/cl_platform.h | 61 | #define CL_API_PREFIX_USER | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 81 | #define CL_API_SUFFIX_DEPRECATED | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 101 | #define CL_API_PREFIX__VERSION_1_1_DEPRECATED CL_API_PREFIX_COMMON CL_API_PREFIX_DEPRECATED | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 121 | #define CL_API_SUFFIX__VERSION_2_1_DEPRECATED CL_API_SUFFIX_COMMON | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 161 | typedef double cl_double; | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 181 | #define CL_LONG_MIN ((cl_long) -0x7FFFFFFFFFFFFFFFLL - 1LL) | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 201 | #define CL_HALF_RADIX 2 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 221 | #define CL_M_LN10 2.30258509299404568402 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 261 | typedef uint32_t cl_uint; | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 281 | #define CL_UINT_MAX 0xffffffffU | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 301 | #define CL_HALF_MIN_10_EXP -4 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 321 | #define CL_M_LOG10E 0.43429448190325182765 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 341 | #define CL_M_1_PI_F 0.318309886f | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 381 | #if defined( __VEC__ ) | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 401 | #if defined( __SSE__ ) | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 441 | #endif | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 481 | #define __CL_UINT2__ 1 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 501 | #define __CL_DOUBLE4__ 1 | COMMENT |
| LOW | src/OpenCL/include/CL/cl_platform.h | 521 | COMMENT | |
| LOW | src/OpenCL/include/CL/cl_platform.h | 1401 | #endif | COMMENT |
| LOW | src/OpenCL/include/CL/cl_version.h | 21 | #if !defined(CL_TARGET_OPENCL_VERSION) | COMMENT |
| LOW | src/OpenCL/include/CL/cl_version.h | 41 | #endif | COMMENT |
| LOW | src/OpenCL/include/CL/cl_version.h | 61 | /* Allow deprecated APIs for older OpenCL versions. */ | COMMENT |
| LOW | src/OpenCL/include/CL/opencl.h | 21 | extern "C" { | COMMENT |
| LOW | src/OpenCL/include/CL/cl_ext.h | 81 | #define CL_COMMAND_BUFFER_SIMULTANEOUS_USE_KHR (1 << 0) | COMMENT |
| 292 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/lodepng.cpp | 69 | lodepng source code. Don't forget to remove "static" if you copypaste them | CODE |
| LOW | src/opencl.hpp | 27 | | Don't forget to reboot after installation! Press Enter to exit. | | CODE |