一个用于安装/更新 NS 模拟器的工具
This report summarizes scanner evidence for triwinds/ns-emu-tools, a Rust project with 4,979 GitHub stars. SynthScan examined 190,224 lines of code across 429 source files, recording 64 pattern matches distributed across 9 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? 60 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 14 finding(s).
Which changes need focused human review? 64 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 64 distinct pattern matches across 9 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 | .github/workflows/codeql.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | src-tauri/tools/xess-fg-diagnostics/bridge.cpp | 1 | #define WIN32_LEAN_AND_MEAN | COMMENT |
| LOW | src-tauri/crates/streamline-fg/src/lib.rs | 41 | #[cfg(all(windows, feature = "hybrid-xess-fg"))] | COMMENT |
| LOW | src-tauri/crates/streamline-fg/src/lib.rs | 61 | *b"NS_EMU_XESS_NATIVE_AA_V1"; | COMMENT |
| LOW | src-tauri/crates/streamline-fg/src/lib.rs | 81 | pub static nsEmuOpticalFlowV1: [u8; b"NS_EMU_OPTICAL_FLOW_V1".len()] = *b"NS_EMU_OPTICAL_FLOW_V1"; | COMMENT |
| LOW | src-tauri/crates/streamline-fg/src/lib.rs | 101 | #[used] | COMMENT |
| LOW | src-tauri/crates/streamline-fg/src/lib.rs | 121 | #[used] | COMMENT |
| LOW | …-tauri/crates/streamline-fg/src/diagnostics/nr_main.rs | 1 | pub use streamline_probe_layer::advanced_settings; | COMMENT |
| LOW | src-tauri/src/config.rs | 341 | /// 网络设置 | COMMENT |
| LOW | src-tauri/src/config.rs | 401 | proxy: default_proxy(), | COMMENT |
| LOW | src-tauri/src/config.rs | 441 | #[serde(rename_all = "camelCase")] | COMMENT |
| LOW | src-tauri/src/logging.rs | 181 | /// 初始化日志系统 | COMMENT |
| LOW | src-tauri/src/utils/webview.rs | 1 | //! WebView2 检测和安装模块 | COMMENT |
| LOW | src-tauri/src/models/cheats.rs | 1 | //! 金手指数据模型 | COMMENT |
| LOW | src-tauri/src/models/release.rs | 41 | pub size: u64, | COMMENT |
| LOW | src-tauri/src/services/ryujinx.rs | 1481 | pub async fn get_all_ryujinx_versions(branch: &str) -> AppResult<Vec<String>> { | COMMENT |
| LOW | src-tauri/src/services/ryujinx.rs | 1561 | /// # 参数 | COMMENT |
| LOW | src-tauri/src/services/ryujinx.rs | 1621 | COMMENT | |
| LOW | src-tauri/src/services/downloader/aria2.rs | 1 | //! Aria2 下载管理器 | COMMENT |
| LOW | src-tauri/src/services/downloader/aria2.rs | 1301 | /// | COMMENT |
| LOW | src-tauri/src/services/downloader/manager.rs | 21 | /// 停止下载管理器 | COMMENT |
| LOW | src-tauri/src/services/downloader/manager.rs | 61 | /// # 参数 | COMMENT |
| LOW | src-tauri/src/services/downloader/mod.rs | 1 | //! 统一下载模块 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_all.sh | 11 | # Step 1: Build frontend | COMMENT |
| LOW | build_all.sh | 33 | # Step 2: Format Rust backend | COMMENT |
| LOW | build_all.sh | 49 | # Step 3: Build Tauri backend | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 133 | // Step 1: Check Env | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 139 | // Step 2: Download | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 147 | // Step 3: Extract | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 152 | // Step 4: Verify | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 173 | // Step 1: Success | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 179 | // Step 2: Download with error | COMMENT |
| LOW | src-tauri/src/services/firmware.rs | 540 | // Step 1: Load keys | COMMENT |
| LOW | src-tauri/src/services/firmware.rs | 678 | // Step 1: Load keys | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | build_all.sh | 11 | # Step 1: Build frontend | COMMENT |
| LOW | build_all.sh | 33 | # Step 2: Format Rust backend | COMMENT |
| LOW | build_all.sh | 49 | # Step 3: Build Tauri backend | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 133 | // Step 1: Check Env | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 139 | // Step 2: Download | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 147 | // Step 3: Extract | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 152 | // Step 4: Verify | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 173 | // Step 1: Success | COMMENT |
| LOW⚡ | frontend/src/stores/ProgressStore.ts | 179 | // Step 2: Download with error | COMMENT |
| LOW | src-tauri/src/services/firmware.rs | 540 | // Step 1: Load keys | COMMENT |
| LOW | src-tauri/src/services/firmware.rs | 678 | // Step 1: Load keys | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src-tauri/crates/streamline-fg/src/launcher.rs | 486 | advanced.nr.look.temporal.mode.persistent(), | CODE |
| CRITICAL | …src/services/graphics_components/streamline_install.rs | 657 | advanced.nr.look.temporal.mode.persistent(), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | frontend/src/utils/common.ts | 6 | export function openUrlWithDefaultBrowser(url: string) { | CODE |
| LOW | frontend/src/utils/tauri.ts | 280 | export async function takePendingGithubMirrorFallbackNotice() { | CODE |
| LOW | frontend/src/utils/tauri.ts | 290 | export async function getAvailableFirmwareInfos() { | CODE |
| LOW | frontend/src/components/YuzuSaveCommonPart.vue | 43 | async function askAndUpdateYuzuBackupPath() { | CODE |
| LOW | frontend/src/components/YuzuSaveRestoreTab.vue | 111 | function updateBackupItemBoxHeight() { | CODE |
| LOW | frontend/src/pages/settings.vue | 255 | function formatGithubMirrorOptionName(name: string) { | CODE |
| LOW | frontend/src/pages/settings.vue | 264 | function showGithubMirrorRefreshNotice( | CODE |
| LOW | frontend/src/pages/settings.vue | 277 | function handleGithubMirrorFallbackNotice(response: GithubMirrorListResponse) { | CODE |
| LOW | frontend/src/pages/settings.vue | 292 | async function loadAvailableGithubDownloadSource() { | CODE |
| LOW | frontend/src/pages/yuzu.vue | 416 | async function updateYuzuReleaseVersions() { | CODE |
| LOW | frontend/src/pages/yuzu.vue | 450 | function handleSelectedBranchUpdate() { | CODE |
| LOW | frontend/src/pages/yuzuCheatsManagement.vue | 159 | async function listAllCheatFilesFromFolder(selectedFolder: string) { | CODE |
| LOW | frontend/src/pages/ryujinx.vue | 343 | async function updateRyujinxReleaseInfos() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | send_release_notify.py | 57 | except: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src-tauri/gen/schemas/acl-manifests.json | 1 | {"core":{"default_permission":{"identifier":"default","description":"Default core plugins set.","permissions":["core:pat | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | update_game_data.py | 4 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src-tauri/tools/graphics-components/package.py | 90 | CODE |