MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
This report summarizes scanner evidence for KhronosGroup/MoltenVK, a Objective-C++ project with 5,911 GitHub stars. SynthScan examined 70,599 lines of code across 181 source files, recording 40 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 0.6 (Low 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 40 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? 40 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 40 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 | MoltenVK/MoltenVK/GPUObjects/MVKSwapchain.mm | 21 | #include "MVKImage.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/GPUObjects/MVKDevice.h | 21 | #include "MVKFoundation.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/GPUObjects/MVKSurface.mm | 21 | #include "MVKInstance.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/GPUObjects/MVKPipeline.mm | 21 | #include "MVKInlineObjectConstructor.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/GPUObjects/MVKPixelFormats.mm | 21 | #include "MVKFoundation.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/GPUObjects/MVKPixelFormats.mm | 41 | COMMENT | |
| LOW | MoltenVK/MoltenVK/GPUObjects/MVKQueue.mm | 21 | #include "MVKSurface.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/GPUObjects/MVKPipeline.h | 21 | #include "MVKDevice.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm | 21 | #include "MVKQueue.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm | 2221 | } | COMMENT |
| LOW | MoltenVK/MoltenVK/GPUObjects/MVKInstance.mm | 401 | #define ADD_ENTRY_POINT(func, api, ext, api2, ext2, isDev) ADD_ENTRY_POINT_MAP(func, func, api, ext, api2, ext2, isDev, | COMMENT |
| LOW | MoltenVK/MoltenVK/Vulkan/mvk_api.mm | 21 | #include "mvk_deprecated_api.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/Vulkan/vulkan.mm | 21 | #include "MVKInstance.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/Commands/MVKCommandBuffer.mm | 21 | #include "MVKCommandPool.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/Commands/MVKCommandEncodingPool.mm | 21 | #include "MVKImage.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/Commands/MVKCommandPool.h | 21 | #include "MVKDevice.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/Commands/MVKCmdTransfer.mm | 21 | #include "MVKCommandPool.h" | COMMENT |
| LOW | MoltenVK/MoltenVK/Utility/MVKSmallVectorAllocator.h | 301 | // _re_allocate( const size_t num_elements_to_reserve ) | COMMENT |
| LOW | MoltenVK/MoltenVK/Utility/MVKLogging.h | 121 | #ifndef MVK_LOG_LEVEL_ERROR | COMMENT |
| LOW | MoltenVK/MoltenVK/Utility/MVKLogging.h | 141 | #if MVK_LOG_LEVEL_ERROR | COMMENT |
| LOW | MoltenVK/MoltenVK/Utility/MVKLogging.h | 161 | # define MVKLogInfoIf(cond, fmt, ...) if(cond) { MVKLogInfoImpl(fmt, ##__VA_ARGS__); } | COMMENT |
| LOW | MoltenVK/MoltenVK/Utility/MVKLogging.h | 181 | # define MVKLogTrace(...) | COMMENT |
| LOW | MoltenVK/MoltenVK/Utility/MVKEnvironment.h | 21 | COMMENT | |
| LOW | MoltenVK/MoltenVK/Utility/MVKEnvironment.h | 121 | /** Support more than 8192 or 32768 occlusion queries per device. Always enabled. */ | COMMENT |
| LOW | MoltenVK/MoltenVK/Utility/MVKEnvironment.h | 141 | # define MVK_CONFIG_METAL_COMPILE_TIMEOUT INT64_MAX | COMMENT |
| LOW | MoltenVK/MoltenVK/Utility/MVKEnvironment.h | 161 | COMMENT | |
| LOW | MoltenVK/MoltenVK/Utility/MVKEnvironment.h | 241 | * By default, use Metal events, if availalble, on most platforms. | COMMENT |
| LOW | MoltenVK/MoltenVK/Utility/MVKEnvironment.h | 261 | # define MVK_CONFIG_TEXTURE_1D_AS_2D 1 | COMMENT |
| LOW | MoltenVK/MoltenVK/Utility/MVKEnvironment.h | 281 | COMMENT | |
| LOW | MoltenVK/MoltenVK/Utility/MVKFoundation.h | 21 | COMMENT | |
| LOW | MoltenVK/MoltenVK/Utility/MVKSmallVector.h | 21 | // In case MVKSmallVector should use just std::vector instead | COMMENT |
| LOW | MoltenVK/MoltenVK/Utility/MVKSmallVector.h | 41 | // sv.push_back( 3 ); // adding another element now reserves memory from heap and copies from pre-allocated memory | COMMENT |
| LOW | Common/MVKCommonEnvironment.h | 41 | # define MVK_DEBUG 0 | COMMENT |
| LOW | Common/MVKCommonEnvironment.h | 61 | #endif | COMMENT |
| LOW | Common/MVKCommonEnvironment.h | 121 | COMMENT | |
| LOW | Scripts/package_dylibs.sh | 41 | copy_dylib "" "macOS" | COMMENT |
| LOW | Scripts/copy_to_staging.sh | 1 | #!/bin/bash | COMMENT |
| LOW | Demos/Cube/VisionOS/cube_runner.c | 1 | #include <MoltenVK/mvk_vulkan.h> | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Scripts/package_ext_libs_finish.sh | 9 | # Assign symlink to Latest | COMMENT |
| LOW | Scripts/package_update_latest.sh | 8 | # Assign symlink to Latest | COMMENT |