Safe and rich Rust wrapper around the Vulkan API
This report presents the forensic synthetic code analysis of vulkano-rs/vulkano, a Rust project with 5,111 GitHub stars. SynthScan v2.0 examined 276,291 lines of code across 300 source files, recording 1159 pattern matches distributed across 5 syntactic categories. The overall adjusted score of 4.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 1159 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 | vulkano-shaders/src/lib.rs | 1 | //! The procedural macro for vulkano's shader system. | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 21 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 41 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 61 | //! this: | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 81 | //! # | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 101 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 121 | //! - `intersection` | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 141 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 161 | //! shaders. The macro checks that the source structs with the same names between different shaders | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 181 | //! ## `lang: "..."` | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 201 | //! | COMMENT |
| LOW | vulkano-shaders/src/lib.rs | 221 | //! chosen crate doesn't have a type that represents a certain linear algebra type (e.g. `mat3`, or | COMMENT |
| LOW | vulkano-shaders/src/codegen.rs | 1481 | COMMENT | |
| LOW | vulkano-shaders/src/codegen.rs | 1501 | /// layout(input_attachment_index = 0, set = 0, binding = 4) uniform subpassInput inputAttachment; | COMMENT |
| LOW | vulkano-shaders/src/codegen.rs | 1521 | /// | COMMENT |
| LOW | vulkano-shaders/src/structs.rs | 1081 | // | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 1 | // This file is auto-generated by vulkano autogen from vk.xml header version 1.3.281. | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 21 | ///- Promoted to Vulkan 1.1 | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 41 | pub khr_get_physical_device_properties2: bool, | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 61 | /// - Instance extension [`khr_surface`](InstanceExtensions::khr_surface) | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 81 | pub ext_debug_report: bool, | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 101 | pub ext_layer_settings: bool, | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 121 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_FUCHSIA_imagepipe_s | COMMENT |
| LOW | vulkano/autogen-out/instance_extensions.rs | 141 | ///- Deprecated by [`ext_metal_surface`](InstanceExtensions::ext_metal_surface) | COMMENT |
| LOW | vulkano/autogen-out/version.rs | 1 | // This file is auto-generated by vulkano autogen from vk.xml header version 1.3.281. | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 1 | // This file is auto-generated by vulkano autogen from vk.xml header version 1.3.281. | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 21 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_acceleration_st | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 41 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_cooperative_mat | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 61 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_deferred_host_o | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 81 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_draw_indirect_c | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 101 | ///- Requires: | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 121 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_external_memory | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 141 | /// - Vulkan API version 1.1 or instance extension [`khr_get_physical_device_properties2`](InstanceExtensions::khr_ | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 161 | pub khr_image_format_list: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 181 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_load_store_op_n | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 201 | /// - Vulkan API version 1.1 | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 221 | /// - Vulkan API version 1.1 or instance extension [`khr_get_physical_device_properties2`](InstanceExtensions::khr_ | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 241 | ///- Requires: | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 261 | pub khr_ray_tracing_position_fetch: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 281 | pub khr_separate_depth_stencil_layouts: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 301 | /// - Vulkan API version 1.1 or instance extension [`khr_get_physical_device_properties2`](InstanceExtensions::khr_ | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 321 | pub khr_shader_maximal_reconvergence: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 341 | pub khr_shader_subgroup_uniform_control_flow: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 361 | pub khr_storage_buffer_storage_class: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 381 | pub khr_timeline_semaphore: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 401 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_video_decode_h2 | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 421 | pub khr_video_encode_h265: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 441 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_win32_keyed_mut | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 461 | /// - Vulkan API version 1.1 or instance extension [`khr_get_physical_device_properties2`](InstanceExtensions::khr_ | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 481 | ///- Deprecated by [`khr_buffer_device_address`](DeviceExtensions::khr_buffer_device_address) | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 501 | pub ext_conservative_rasterization: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 521 | /// - Vulkan API version 1.1 or instance extension [`khr_get_physical_device_properties2`](InstanceExtensions::khr_ | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 541 | pub ext_descriptor_indexing: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 561 | /// - Instance extension [`ext_display_surface_counter`](InstanceExtensions::ext_display_surface_counter) | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 581 | /// - Vulkan API version 1.1 or instance extension [`khr_get_physical_device_properties2`](InstanceExtensions::khr_ | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 601 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_fragment_densit | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 621 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_global_priority | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 641 | pub ext_host_image_copy: bool, | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 661 | ///- Requires all of: | COMMENT |
| LOW | vulkano/autogen-out/device_extensions.rs | 681 | ///- [Vulkan documentation](https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_EXT_index_type_uint | COMMENT |
| 1076 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 1891 | // ┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 1895 | // │ └──────┘┌►│ │ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 1896 | // └──────────────┘ └───┘ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 2025 | // ┌─────┐ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 2027 | // ││ A ├┬►│ B ├─►│ C ├┬──────┐ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 2029 | // │┄┄┄┄┄│┄┄┄┄┄┄│┄┄┄┄┄┄│┄┄┄┄┄┄│┄ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 2033 | // │ └────────────────────┘│ | COMMENT |
| MEDIUM⚡ | vulkano-taskgraph/src/graph/compile.rs | 2034 | // └───────────────────────────┘ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 1817 | // ┄┄┄┄┄ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 1850 | // ┄┄┄┄┄││┄┄┄┄┄┄ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 1945 | // └────────────────────┘ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 1978 | // │┄┄┄┄┄┄│┄┄┄┄┄┄┄┄┄┄┄┄┄│┄┄┄┄┄┄┄ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 1982 | // └───────────────────────────┘ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 2324 | // ┄┄┄┄┄││┄┄┄┄┄┄ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 2390 | // ┄┄┄┄┄│┄┄┄┄┄┄ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 2457 | // │ A ├───────┬───────►│ E │ | COMMENT |
| MEDIUM | vulkano-taskgraph/src/graph/compile.rs | 2462 | // ┄┄┄┄┄│┄┄┄┄┄┄│┄┄┄┄┄┄│┄┄┄┄┄┄ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | vulkano/src/swapchain/mod.rs | 23 | //! ## Creating a surface from a window | COMMENT |
| MEDIUM | vulkano/src/swapchain/mod.rs | 130 | //! ## Creating a swapchain | COMMENT |
| MEDIUM | vulkano/src/descriptor_set/mod.rs | 29 | //! ## Creating a descriptor set | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | vulkano/src/pipeline/layout.rs | 176 | /// - Creating a manual pipeline layout makes your code more robust against changes in the | COMMENT |
| MEDIUM | vulkano/src/pipeline/layout.rs | 223 | /// - Creating a manual pipeline layout makes your code more robust against changes in the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | examples/triangle/main.rs | 691 | // As mentioned earlier, the pipeline depends on the subpass, which is only created once | COMMENT |