A multi core friendly rigid body physics and collision detection library. Written in C++. Suitable for games and VR applications. Used by Horizon Forbidden West and Death Stranding 2.
This report presents the forensic synthetic code analysis of jrouwe/JoltPhysics, a C++ project with 10,898 GitHub stars. SynthScan v2.0 examined 193,839 lines of code across 1098 source files, recording 637 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 3.1 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 637 distinct pattern matches across 5 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 | HelloWorld/HelloWorld.cpp | 1 | // Jolt Physics Library (https://github.com/jrouwe/JoltPhysics) | COMMENT |
| LOW | HelloWorld/HelloWorld.cpp | 221 | COMMENT | |
| LOW | HelloWorld/HelloWorld.cpp | 261 | // Create mapping table from object layer to broadphase layer | COMMENT |
| LOW | UnitTests/doctest.h | 1 | // ============================================================= | COMMENT |
| LOW | UnitTests/doctest.h | 21 | // which uses the Boost Software License - Version 1.0 | COMMENT |
| LOW | UnitTests/doctest.h | 41 | COMMENT | |
| LOW | UnitTests/doctest.h | 61 | COMMENT | |
| LOW | UnitTests/doctest.h | 81 | #ifdef _MSC_VER | COMMENT |
| LOW | UnitTests/doctest.h | 101 | #endif // GCC | COMMENT |
| LOW | UnitTests/doctest.h | 121 | // == COMPILER WARNINGS HELPERS ==================================================================== | COMMENT |
| LOW | UnitTests/doctest.h | 141 | COMMENT | |
| LOW | UnitTests/doctest.h | 161 | #define DOCTEST_MSVC_SUPPRESS_WARNING_PUSH | COMMENT |
| LOW | UnitTests/doctest.h | 321 | #ifndef DOCTEST_PARTS_PUBLIC_PLATFORM | COMMENT |
| LOW | UnitTests/doctest.h | 341 | COMMENT | |
| LOW | UnitTests/doctest.h | 361 | // MSVC++ 8.0 _MSC_VER == 1400 (Visual Studio 2005) | COMMENT |
| LOW | UnitTests/doctest.h | 381 | COMMENT | |
| LOW | UnitTests/doctest.h | 401 | COMMENT | |
| LOW | UnitTests/doctest.h | 421 | #define DOCTEST_INTERFACE DOCTEST_SYMBOL_EXPORT | COMMENT |
| LOW | UnitTests/doctest.h | 441 | #if DOCTEST_MSVC | COMMENT |
| LOW | UnitTests/doctest.h | 461 | #ifndef DOCTEST_NORETURN | COMMENT |
| LOW | UnitTests/doctest.h | 481 | #else // DOCTEST_MSVC | COMMENT |
| LOW | UnitTests/doctest.h | 501 | COMMENT | |
| LOW | UnitTests/doctest.h | 521 | #endif // _LIBCPP_VERSION | COMMENT |
| LOW | UnitTests/doctest.h | 561 | #else | COMMENT |
| LOW | UnitTests/doctest.h | 601 | // should probably take a look at https://github.com/scottt/debugbreak | COMMENT |
| LOW | UnitTests/doctest.h | 621 | #define DOCTEST_BREAK_INTO_DEBUGGER() /* NOLINTNEXTLINE(hicpp-no-assembler) */ \ | COMMENT |
| LOW | UnitTests/doctest.h | 881 | // - if small - acts as a null terminator if strlen() is 23 (24 including the null terminator) | COMMENT |
| LOW | UnitTests/doctest.h | 2901 | #define DOCTEST_FUNC_SCOPE_END () | COMMENT |
| LOW | UnitTests/doctest.h | 3221 | doctest::assertType::assert_type, __FILE__, __LINE__, #__VA_ARGS__, __VA_ARGS__ \ | COMMENT |
| LOW | UnitTests/doctest.h | 3241 | #define DOCTEST_CHECK_FALSE_MESSAGE(cond, ...) DOCTEST_FUNC_SCOPE_BEGIN { DOCTEST_INFO(__VA_ARGS__); DOCTEST_ASSERT_IMPL | COMMENT |
| LOW | UnitTests/doctest.h | 3321 | #define DOCTEST_CHECK_THROWS(...) DOCTEST_ASSERT_THROWS_WITH((__VA_ARGS__), #__VA_ARGS__, DT_CHECK_THROWS, "") | COMMENT |
| LOW | UnitTests/doctest.h | 3341 | #define DOCTEST_CHECK_THROWS_MESSAGE(expr, ...) DOCTEST_FUNC_SCOPE_BEGIN { DOCTEST_INFO(__VA_ARGS__); DOCTEST_CHECK_THRO | COMMENT |
| LOW | UnitTests/doctest.h | 3401 | COMMENT | |
| LOW | UnitTests/doctest.h | 3421 | #define DOCTEST_REGISTER_EXCEPTION_TRANSLATOR(signature) \ | COMMENT |
| LOW | UnitTests/doctest.h | 3441 | #define DOCTEST_REQUIRE(...) [&] { return __VA_ARGS__; }() | COMMENT |
| LOW | UnitTests/doctest.h | 3461 | DOCTEST_RELATIONAL_OP(eq, ==) | COMMENT |
| LOW | UnitTests/doctest.h | 3481 | #define DOCTEST_REQUIRE_GT(...) [&] { return doctest::detail::gt(__VA_ARGS__); }() | COMMENT |
| LOW | UnitTests/doctest.h | 3501 | }() | COMMENT |
| LOW | UnitTests/doctest.h | 3521 | #define DOCTEST_REQUIRE_THROWS_AS(expr, ...) [&] { try { expr; } catch (__VA_ARGS__) { return true; } catch (...) { } re | COMMENT |
| LOW | UnitTests/doctest.h | 3541 | #define DOCTEST_WARN(...) DOCTEST_FUNC_EMPTY | COMMENT |
| LOW | UnitTests/doctest.h | 3561 | #define DOCTEST_WARN_GT(...) DOCTEST_FUNC_EMPTY | COMMENT |
| LOW | UnitTests/doctest.h | 3581 | #ifndef DOCTEST_CONFIG_NO_EXCEPTIONS | COMMENT |
| LOW | UnitTests/doctest.h | 3601 | #define DOCTEST_REQUIRE_THROWS_MESSAGE(expr, ...) DOCTEST_FUNC_EMPTY | COMMENT |
| LOW | UnitTests/doctest.h | 3641 | #undef DOCTEST_REQUIRE_EQ | COMMENT |
| LOW | UnitTests/doctest.h | 3661 | #define DOCTEST_REQUIRE_UNARY_FALSE DOCTEST_EXCEPTION_EMPTY_FUNC | COMMENT |
| LOW | UnitTests/doctest.h | 3681 | #define DOCTEST_WARN_THROWS_MESSAGE(expr, ...) DOCTEST_EXCEPTION_EMPTY_FUNC | COMMENT |
| LOW | UnitTests/doctest.h | 3701 | #define DOCTEST_FAST_CHECK_EQ DOCTEST_CHECK_EQ | COMMENT |
| LOW | UnitTests/doctest.h | 3721 | #define DOCTEST_FAST_REQUIRE_UNARY DOCTEST_REQUIRE_UNARY | COMMENT |
| LOW | UnitTests/doctest.h | 3741 | #define DOCTEST_AND_THEN(name) DOCTEST_SUBCASE(" And: " name) | COMMENT |
| LOW | UnitTests/doctest.h | 3761 | #define REGISTER_EXCEPTION_TRANSLATOR(signature) DOCTEST_REGISTER_EXCEPTION_TRANSLATOR(signature) | COMMENT |
| LOW | UnitTests/doctest.h | 3781 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) | COMMENT |
| LOW | UnitTests/doctest.h | 3801 | #define WARN_THROWS_WITH_MESSAGE(expr, with, ...) DOCTEST_WARN_THROWS_WITH_MESSAGE(expr, with, __VA_ARGS__) | COMMENT |
| LOW | UnitTests/doctest.h | 3821 | #define SCENARIO_METHOD(x, name) DOCTEST_SCENARIO_METHOD(x, name) | COMMENT |
| LOW | UnitTests/doctest.h | 3841 | #define WARN_LT(...) DOCTEST_WARN_LT(__VA_ARGS__) | COMMENT |
| LOW | UnitTests/doctest.h | 3861 | #define FAST_WARN_NE(...) DOCTEST_FAST_WARN_NE(__VA_ARGS__) | COMMENT |
| LOW | UnitTests/doctest.h | 3901 | COMMENT | |
| LOW | UnitTests/doctest.h | 3921 | #include <cstdlib> | COMMENT |
| LOW | UnitTests/doctest.h | 3941 | #define DOCTEST_DECLARE_STATIC_MUTEX(name) | COMMENT |
| LOW | UnitTests/doctest.h | 3961 | #endif // DOCTEST_PLATFORM_MAC | COMMENT |
| LOW | UnitTests/doctest.h | 3981 | #include <io.h> | COMMENT |
| 571 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | TestFramework/Renderer/VK/RendererVK.cpp | 572 | // Test and utilize support for transient memory for the depth buffer | COMMENT |
| MEDIUM | TestFramework/Renderer/VK/RendererVK.cpp | 579 | // Test and utilize lazily allocated memory for the depth buffer | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Jolt/Physics/Vehicle/VehicleConstraint.h | 44 | /// Note: Don't forget to register the constraint as a StepListener with the PhysicsSystem! | COMMENT |
| LOW | Jolt/Physics/Collision/PhysicsMaterial.h | 21 | /// If you inherit from this material, don't forget to create a suitable default material in sDefault | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Assets/export_face.py | 22 | def export_scene_meshes_to_bin(filepath): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Assets/export_face.py | 22 | CODE |