Free, open-source Windows optimization tool for performance, privacy, and simplicity.
This report presents the forensic synthetic code analysis of itsfatduck/optimizerDuck, a C# project with 6,487 GitHub stars. SynthScan v2.0 examined 45,125 lines of code across 233 source files, recording 107 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 3.5 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).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
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 107 distinct pattern matches across 11 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 | .agents/skills/brainstorming/scripts/start-server.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .rtk/filters.toml | 1 | # Project-local RTK filters — commit this file with your repo. | COMMENT |
| LOW | optimizerDuck/UI/ViewModels/ViewModel.cs | 1 | using CommunityToolkit.Mvvm.ComponentModel; | COMMENT |
| LOW | optimizerDuck/UI/ViewModels/ViewModel.cs | 21 | private bool _isInitialized; | COMMENT |
| LOW | optimizerDuck/UI/ViewModels/ViewModel.cs | 81 | COMMENT | |
| LOW | …mizerDuck/Resources/Languages/Translations.Designer.cs | 1 | //------------------------------------------------------------------------------ | COMMENT |
| LOW | optimizerDuck/Domain/Revert/RevertData.cs | 21 | /// <summary> | COMMENT |
| LOW | optimizerDuck/Domain/Revert/RevertData.cs | 41 | public Guid OptimizationId { get; set; } | COMMENT |
| LOW | optimizerDuck/Domain/Revert/RevertResult.cs | 21 | /// <summary> | COMMENT |
| LOW | optimizerDuck/Domain/Revert/Steps/RegistryRevertStep.cs | 21 | /// <summary> | COMMENT |
| LOW | optimizerDuck/Domain/Revert/Steps/UsbPowerRevertStep.cs | 21 | /// <summary> | COMMENT |
| LOW | optimizerDuck/Domain/UI/ProcessingProgress.cs | 1 | namespace optimizerDuck.Domain.UI; | COMMENT |
| LOW | optimizerDuck/Domain/Configuration/AppSettings.cs | 21 | /// Bloatware removal settings. | COMMENT |
| LOW | optimizerDuck/Domain/Configuration/AppSettings.cs | 41 | /// Whether the user has accepted the legal terms. | COMMENT |
| LOW | …imizerDuck/Domain/Exceptions/StepExecutionException.cs | 1 | namespace optimizerDuck.Domain.Exceptions; | COMMENT |
| LOW | …uck/Domain/Optimizations/Models/OperationStepResult.cs | 21 | /// Gets a description of what this step does. | COMMENT |
| LOW | …Duck/Domain/Optimizations/Models/OptimizationResult.cs | 1 | using optimizerDuck.Domain.UI; | COMMENT |
| LOW | …timizations/Models/ScheduledTask/ScheduledTaskModel.cs | 41 | /// The full path to the task. | COMMENT |
| LOW | …timizations/Models/ScheduledTask/ScheduledTaskModel.cs | 61 | /// Summary of the task's action. | COMMENT |
| LOW | …timizations/Models/ScheduledTask/ScheduledTaskModel.cs | 81 | /// The result code of the last run. | COMMENT |
| LOW | …timizations/Models/ScheduledTask/ScheduledTaskModel.cs | 101 | // New expanded creation properties | COMMENT |
| LOW | …timizations/Models/ScheduledTask/ScheduledTaskModel.cs | 121 | COMMENT | |
| LOW | …timizations/Models/ScheduledTask/ScheduledTaskModel.cs | 141 | COMMENT | |
| LOW | …k/Domain/Optimizations/Models/Bloatware/AppXPackage.cs | 21 | public partial class AppXPackage : ObservableObject | COMMENT |
| LOW | …k/Domain/Optimizations/Models/Bloatware/AppXPackage.cs | 41 | /// </summary> | COMMENT |
| LOW | …uck/Domain/Optimizations/Models/Cleanup/CleanupItem.cs | 61 | /// Description of what this cleanup item contains. | COMMENT |
| LOW | …ain/Optimizations/Models/StartupManager/StartupTask.cs | 21 | private ImageSource? _logoImage; | COMMENT |
| LOW | …k/Domain/Optimizations/Models/Services/RegistryItem.cs | 21 | /// The full registry key path (e.g., <c>HKLM\SOFTWARE\...</c>). | COMMENT |
| LOW | …ck/Domain/Optimizations/Models/Services/ShellResult.cs | 1 | namespace optimizerDuck.Domain.Optimizations.Models.Services; | COMMENT |
| LOW | optimizerDuck/Domain/Optimizations/Categories/Gpu.cs | 61 | public OptimizationCategoryOrder Order { get; init; } = OptimizationCategoryOrder.Gpu; | COMMENT |
| LOW | optimizerDuck/Domain/Optimizations/Categories/Gpu.cs | 81 | /// <item> | COMMENT |
| LOW | optimizerDuck/Domain/Optimizations/Categories/Gpu.cs | 101 | /// <c>true</c> if <paramref name="deviceId" /> is valid and successfully parsed; otherwise, <c>false</c>. | COMMENT |
| LOW | optimizerDuck/Domain/Execution/ExecutionScope.cs | 481 | Current?.Logger.LogError(ex, message, args); | COMMENT |
| LOW | optimizerDuck/Domain/Execution/ExecutionScope.cs | 521 | /// The index of the step in the execution sequence. | COMMENT |
| LOW | optimizerDuck/Domain/Execution/ExecutionScope.cs | 541 | /// The revert step that can undo this operation, if applicable. | COMMENT |
| LOW | optimizerDuck/Domain/Abstractions/IRevertStep.cs | 21 | /// Executes this revert step asynchronously. | COMMENT |
| LOW | optimizerDuck/Domain/Abstractions/IOptimization.cs | 21 | COMMENT | |
| LOW | …rDuck/Domain/Customize/Models/CustomizeRefreshScope.cs | 21 | /// </summary> | COMMENT |
| LOW | optimizerDuck/Domain/Customize/Models/RegistryToggle.cs | 21 | /// <summary>Gets the value to write when toggling off. Default is <c>0</c>.</summary> | COMMENT |
| LOW | optimizerDuck/Services/Configuration/LanguageManager.cs | 21 | /// </summary> | COMMENT |
| LOW | optimizerDuck/Services/Configuration/ConfigManager.cs | 161 | } | COMMENT |
| LOW | optimizerDuck/Services/Configuration/ConfigManager.cs | 321 | /// <summary> | COMMENT |
| LOW | …erDuck/Services/Optimization/Providers/ShellService.cs | 701 | #endregion Command Prompt methods | COMMENT |
| LOW | optimizerDuck/Services/System/CrossPageEventBus.cs | 1 | namespace optimizerDuck.Services.System; | COMMENT |
| LOW | optimizerDuck/Services/System/CrossPageEventBus.cs | 21 | /// </summary> | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 61 | /// <summary> | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 121 | /// The detected vendor string (e.g., "Intel", "AMD"). | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 141 | /// The maximum clock speed in MHz. | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 161 | /// <summary> | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 181 | /// <summary> | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 201 | /// <summary> | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 221 | /// <summary> | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 241 | COMMENT | |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 261 | public required string SpeedMHz { get; init; } | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 301 | public required double TotalGB { get; init; } | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 321 | public required double UsedPercent { get; init; } | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 361 | /// </summary> | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 381 | /// </summary> | COMMENT |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 421 | COMMENT | |
| LOW | optimizerDuck/Services/System/SystemInfoService.cs | 461 | COMMENT | |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | optimizerDuck/Services/System/SystemInfoService.cs | 729 | // ── Fast path: Registry ────────────────────────────────────── | COMMENT |
| MEDIUM | optimizerDuck/Services/System/SystemInfoService.cs | 752 | // ── Targeted WMI: only fields not available in Registry ────── | COMMENT |
| MEDIUM | optimizerDuck/Services/System/SystemInfoService.cs | 897 | // ── Primary: GlobalMemoryStatusEx (Task Manager accuracy) ──────── | COMMENT |
| MEDIUM | optimizerDuck/Services/System/SystemInfoService.cs | 917 | // ── Fallback: module-based calculation ─────────────────────────── | COMMENT |
| MEDIUM | optimizerDuck/Services/System/SystemInfoService.cs | 1676 | // ── DXGI path ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | optimizerDuck/Services/System/SystemInfoService.cs | 1736 | // ── WMI fallback path ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | optimizerDuck/Services/System/SystemInfoService.cs | 1889 | // ── Shared helpers ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | optimizerDuck/Services/System/SystemInfoService.cs | 1949 | // ── WMI lookup for DXGI matching ─────────────────────────────────────── | COMMENT |
| MEDIUM | optimizerDuck/Services/System/SystemInfoService.cs | 1970 | // ── Fast path: Registry ────────────────────────────────────── | COMMENT |
| MEDIUM | optimizerDuck/Services/System/SystemInfoService.cs | 2009 | // ── Targeted WMI: only for LastBootUpTime ──────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …gents/skills/resx-translation/helpers/create_locale.py | 66 | except Exception as ex: | CODE |
| MEDIUM | …gents/skills/resx-translation/helpers/create_locale.py | 14 | def main(): | CODE |
| LOW | .agents/skills/resx-translation/helpers/find_resx.py | 125 | except Exception as ex: | CODE |
| MEDIUM | .agents/skills/resx-translation/helpers/find_resx.py | 72 | def main(): | CODE |
| LOW | .agents/skills/resx-translation/helpers/resx_helpers.py | 18 | except Exception: | CODE |
| LOW | .agents/skills/resx-translation/helpers/resx_helpers.py | 28 | except Exception as ex: | CODE |
| LOW | .agents/skills/resx-translation/helpers/resx_helpers.py | 47 | except Exception as ex: | CODE |
| LOW | .agents/skills/resx-translation/helpers/resx_helpers.py | 53 | except Exception as ex: | CODE |
| LOW | .agents/skills/resx-translation/helpers/resx_helpers.py | 101 | except Exception as ex: | CODE |
| LOW | .agents/skills/resx-translation/helpers/resx_helpers.py | 147 | except Exception as ex: | CODE |
| LOW | .agents/skills/resx-translation/helpers/resx_helpers.py | 166 | except Exception as ex: | CODE |
| MEDIUM | .agents/skills/resx-translation/helpers/resx_helpers.py | 15 | def ensure_utf8() -> None: | CODE |
| LOW | .agents/skills/resx-translation/helpers/sync_resx.py | 117 | except Exception as ex: | CODE |
| MEDIUM | .agents/skills/resx-translation/helpers/sync_resx.py | 23 | def main(): | CODE |
| LOW | …/skills/resx-translation/helpers/audit_translations.py | 257 | except Exception as ex: | CODE |
| MEDIUM | …/skills/resx-translation/helpers/audit_translations.py | 76 | def main(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | .agents/skills/brainstorming/scripts/start-server.sh | 101 | # Resolve the harness PID (grandparent of this script). | COMMENT |
| MEDIUM⚡ | .agents/skills/brainstorming/scripts/start-server.sh | 102 | # $PPID is the ephemeral shell the harness spawned to run us — it dies | COMMENT |
| MEDIUM⚡ | .agents/skills/brainstorming/scripts/start-server.sh | 103 | # when this script exits. The harness itself is $PPID's parent. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …mizerDuck/Resources/Languages/Translations.Designer.cs | 3 | // This code was generated by a tool. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …k.Test/Services/OptimizationServiceIntegrationTests.cs | 49 | // Step 1: Always succeeds | COMMENT |
| LOW⚡ | …k.Test/Services/OptimizationServiceIntegrationTests.cs | 53 | // Step 2: May fail | COMMENT |
| LOW⚡ | …k.Test/Services/OptimizationServiceIntegrationTests.cs | 60 | // Step 3: Only executes if step 2 succeeded | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …k.Test/Services/OptimizationServiceIntegrationTests.cs | 49 | // Step 1: Always succeeds | COMMENT |
| LOW⚡ | …k.Test/Services/OptimizationServiceIntegrationTests.cs | 53 | // Step 2: May fail | COMMENT |
| LOW⚡ | …k.Test/Services/OptimizationServiceIntegrationTests.cs | 60 | // Step 3: Only executes if step 2 succeeded | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …gents/skills/resx-translation/helpers/create_locale.py | 3 | CODE | |
| LOW | .agents/skills/resx-translation/helpers/find_resx.py | 3 | CODE | |
| LOW | .agents/skills/resx-translation/helpers/resx_helpers.py | 3 | CODE | |
| LOW | .agents/skills/resx-translation/helpers/sync_resx.py | 3 | CODE | |
| LOW | …/skills/resx-translation/helpers/audit_translations.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …nts/skills/using-superpowers/references/codex-tools.md | 16 | ## Subagent dispatch requires multi-agent support | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .agents/skills/resx-translation/helpers/sync_resx.py | 23 | CODE | |
| LOW | …/skills/resx-translation/helpers/audit_translations.py | 76 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .agents/skills/brainstorming/visual-companion.md | 234 | <div class="placeholder">Placeholder area</div> | CODE |