Repository Analysis

itsfatduck/optimizerDuck

Free, open-source Windows optimization tool for performance, privacy, and simplicity.

3.5 Likely human-written View on GitHub

Analysis Overview

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).

3.5
Adjusted Score
3.5
Raw Score
100%
Time Factor
2026-07-13
Last Push
6.5K
Stars
C#
Language
45.1K
Lines of Code
233
Files
107
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 1MEDIUM 19LOW 87

Directory Score Breakdown

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.

Pattern Findings

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.

Over-Commented Block62 hits · 60 pts
SeverityFileLineSnippetContext
LOW.agents/skills/brainstorming/scripts/start-server.sh1#!/usr/bin/env bashCOMMENT
LOW.rtk/filters.toml1# Project-local RTK filters — commit this file with your repo.COMMENT
LOWoptimizerDuck/UI/ViewModels/ViewModel.cs1using CommunityToolkit.Mvvm.ComponentModel;COMMENT
LOWoptimizerDuck/UI/ViewModels/ViewModel.cs21 private bool _isInitialized;COMMENT
LOWoptimizerDuck/UI/ViewModels/ViewModel.cs81COMMENT
LOW…mizerDuck/Resources/Languages/Translations.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWoptimizerDuck/Domain/Revert/RevertData.cs21 /// <summary>COMMENT
LOWoptimizerDuck/Domain/Revert/RevertData.cs41 public Guid OptimizationId { get; set; }COMMENT
LOWoptimizerDuck/Domain/Revert/RevertResult.cs21 /// <summary>COMMENT
LOWoptimizerDuck/Domain/Revert/Steps/RegistryRevertStep.cs21 /// <summary>COMMENT
LOWoptimizerDuck/Domain/Revert/Steps/UsbPowerRevertStep.cs21 /// <summary>COMMENT
LOWoptimizerDuck/Domain/UI/ProcessingProgress.cs1namespace optimizerDuck.Domain.UI;COMMENT
LOWoptimizerDuck/Domain/Configuration/AppSettings.cs21 /// Bloatware removal settings.COMMENT
LOWoptimizerDuck/Domain/Configuration/AppSettings.cs41 /// Whether the user has accepted the legal terms.COMMENT
LOW…imizerDuck/Domain/Exceptions/StepExecutionException.cs1namespace optimizerDuck.Domain.Exceptions;COMMENT
LOW…uck/Domain/Optimizations/Models/OperationStepResult.cs21 /// Gets a description of what this step does.COMMENT
LOW…Duck/Domain/Optimizations/Models/OptimizationResult.cs1using optimizerDuck.Domain.UI;COMMENT
LOW…timizations/Models/ScheduledTask/ScheduledTaskModel.cs41 /// The full path to the task.COMMENT
LOW…timizations/Models/ScheduledTask/ScheduledTaskModel.cs61 /// Summary of the task's action.COMMENT
LOW…timizations/Models/ScheduledTask/ScheduledTaskModel.cs81 /// The result code of the last run.COMMENT
LOW…timizations/Models/ScheduledTask/ScheduledTaskModel.cs101 // New expanded creation propertiesCOMMENT
LOW…timizations/Models/ScheduledTask/ScheduledTaskModel.cs121COMMENT
LOW…timizations/Models/ScheduledTask/ScheduledTaskModel.cs141COMMENT
LOW…k/Domain/Optimizations/Models/Bloatware/AppXPackage.cs21public partial class AppXPackage : ObservableObjectCOMMENT
LOW…k/Domain/Optimizations/Models/Bloatware/AppXPackage.cs41 /// </summary>COMMENT
LOW…uck/Domain/Optimizations/Models/Cleanup/CleanupItem.cs61 /// Description of what this cleanup item contains.COMMENT
LOW…ain/Optimizations/Models/StartupManager/StartupTask.cs21 private ImageSource? _logoImage;COMMENT
LOW…k/Domain/Optimizations/Models/Services/RegistryItem.cs21 /// The full registry key path (e.g., <c>HKLM\SOFTWARE\...</c>).COMMENT
LOW…ck/Domain/Optimizations/Models/Services/ShellResult.cs1namespace optimizerDuck.Domain.Optimizations.Models.Services;COMMENT
LOWoptimizerDuck/Domain/Optimizations/Categories/Gpu.cs61 public OptimizationCategoryOrder Order { get; init; } = OptimizationCategoryOrder.Gpu;COMMENT
LOWoptimizerDuck/Domain/Optimizations/Categories/Gpu.cs81 /// <item>COMMENT
LOWoptimizerDuck/Domain/Optimizations/Categories/Gpu.cs101 /// <c>true</c> if <paramref name="deviceId" /> is valid and successfully parsed; otherwise, <c>false</c>.COMMENT
LOWoptimizerDuck/Domain/Execution/ExecutionScope.cs481 Current?.Logger.LogError(ex, message, args);COMMENT
LOWoptimizerDuck/Domain/Execution/ExecutionScope.cs521 /// The index of the step in the execution sequence.COMMENT
LOWoptimizerDuck/Domain/Execution/ExecutionScope.cs541 /// The revert step that can undo this operation, if applicable.COMMENT
LOWoptimizerDuck/Domain/Abstractions/IRevertStep.cs21 /// Executes this revert step asynchronously.COMMENT
LOWoptimizerDuck/Domain/Abstractions/IOptimization.cs21COMMENT
LOW…rDuck/Domain/Customize/Models/CustomizeRefreshScope.cs21 /// </summary>COMMENT
LOWoptimizerDuck/Domain/Customize/Models/RegistryToggle.cs21 /// <summary>Gets the value to write when toggling off. Default is <c>0</c>.</summary>COMMENT
LOWoptimizerDuck/Services/Configuration/LanguageManager.cs21 /// </summary>COMMENT
LOWoptimizerDuck/Services/Configuration/ConfigManager.cs161 }COMMENT
LOWoptimizerDuck/Services/Configuration/ConfigManager.cs321 /// <summary>COMMENT
LOW…erDuck/Services/Optimization/Providers/ShellService.cs701 #endregion Command Prompt methodsCOMMENT
LOWoptimizerDuck/Services/System/CrossPageEventBus.cs1namespace optimizerDuck.Services.System;COMMENT
LOWoptimizerDuck/Services/System/CrossPageEventBus.cs21 /// </summary>COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs61 /// <summary>COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs121 /// The detected vendor string (e.g., "Intel", "AMD").COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs141 /// The maximum clock speed in MHz.COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs161/// <summary>COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs181 /// <summary>COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs201 /// <summary>COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs221 /// <summary>COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs241COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs261 public required string SpeedMHz { get; init; }COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs301 public required double TotalGB { get; init; }COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs321 public required double UsedPercent { get; init; }COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs361 /// </summary>COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs381 /// </summary>COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs421COMMENT
LOWoptimizerDuck/Services/System/SystemInfoService.cs461COMMENT
2 more matches not shown…
Decorative Section Separators10 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMoptimizerDuck/Services/System/SystemInfoService.cs729 // ── Fast path: Registry ──────────────────────────────────────COMMENT
MEDIUMoptimizerDuck/Services/System/SystemInfoService.cs752 // ── Targeted WMI: only fields not available in Registry ──────COMMENT
MEDIUMoptimizerDuck/Services/System/SystemInfoService.cs897 // ── Primary: GlobalMemoryStatusEx (Task Manager accuracy) ────────COMMENT
MEDIUMoptimizerDuck/Services/System/SystemInfoService.cs917 // ── Fallback: module-based calculation ───────────────────────────COMMENT
MEDIUMoptimizerDuck/Services/System/SystemInfoService.cs1676 // ── DXGI path ──────────────────────────────────────────────────────────COMMENT
MEDIUMoptimizerDuck/Services/System/SystemInfoService.cs1736 // ── WMI fallback path ──────────────────────────────────────────────────COMMENT
MEDIUMoptimizerDuck/Services/System/SystemInfoService.cs1889 // ── Shared helpers ─────────────────────────────────────────────────────COMMENT
MEDIUMoptimizerDuck/Services/System/SystemInfoService.cs1949 // ── WMI lookup for DXGI matching ───────────────────────────────────────COMMENT
MEDIUMoptimizerDuck/Services/System/SystemInfoService.cs1970 // ── Fast path: Registry ──────────────────────────────────────COMMENT
MEDIUMoptimizerDuck/Services/System/SystemInfoService.cs2009 // ── Targeted WMI: only for LastBootUpTime ────────────────────COMMENT
Excessive Try-Catch Wrapping16 hits · 21 pts
SeverityFileLineSnippetContext
LOW…gents/skills/resx-translation/helpers/create_locale.py66 except Exception as ex:CODE
MEDIUM…gents/skills/resx-translation/helpers/create_locale.py14def main():CODE
LOW.agents/skills/resx-translation/helpers/find_resx.py125 except Exception as ex:CODE
MEDIUM.agents/skills/resx-translation/helpers/find_resx.py72def main():CODE
LOW.agents/skills/resx-translation/helpers/resx_helpers.py18 except Exception:CODE
LOW.agents/skills/resx-translation/helpers/resx_helpers.py28 except Exception as ex:CODE
LOW.agents/skills/resx-translation/helpers/resx_helpers.py47 except Exception as ex:CODE
LOW.agents/skills/resx-translation/helpers/resx_helpers.py53 except Exception as ex:CODE
LOW.agents/skills/resx-translation/helpers/resx_helpers.py101 except Exception as ex:CODE
LOW.agents/skills/resx-translation/helpers/resx_helpers.py147 except Exception as ex:CODE
LOW.agents/skills/resx-translation/helpers/resx_helpers.py166 except Exception as ex:CODE
MEDIUM.agents/skills/resx-translation/helpers/resx_helpers.py15def ensure_utf8() -> None:CODE
LOW.agents/skills/resx-translation/helpers/sync_resx.py117 except Exception as ex:CODE
MEDIUM.agents/skills/resx-translation/helpers/sync_resx.py23def main():CODE
LOW…/skills/resx-translation/helpers/audit_translations.py257 except Exception as ex:CODE
MEDIUM…/skills/resx-translation/helpers/audit_translations.py76def main():CODE
AI Slop Vocabulary3 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUM.agents/skills/brainstorming/scripts/start-server.sh101# Resolve the harness PID (grandparent of this script).COMMENT
MEDIUM.agents/skills/brainstorming/scripts/start-server.sh102# $PPID is the ephemeral shell the harness spawned to run us — it diesCOMMENT
MEDIUM.agents/skills/brainstorming/scripts/start-server.sh103# when this script exits. The harness itself is $PPID's parent.COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…mizerDuck/Resources/Languages/Translations.Designer.cs3// This code was generated by a tool.COMMENT
Verbosity Indicators3 hits · 7 pts
SeverityFileLineSnippetContext
LOW…k.Test/Services/OptimizationServiceIntegrationTests.cs49 // Step 1: Always succeedsCOMMENT
LOW…k.Test/Services/OptimizationServiceIntegrationTests.cs53 // Step 2: May failCOMMENT
LOW…k.Test/Services/OptimizationServiceIntegrationTests.cs60 // Step 3: Only executes if step 2 succeededCOMMENT
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOW…k.Test/Services/OptimizationServiceIntegrationTests.cs49 // Step 1: Always succeedsCOMMENT
LOW…k.Test/Services/OptimizationServiceIntegrationTests.cs53 // Step 2: May failCOMMENT
LOW…k.Test/Services/OptimizationServiceIntegrationTests.cs60 // Step 3: Only executes if step 2 succeededCOMMENT
Unused Imports5 hits · 5 pts
SeverityFileLineSnippetContext
LOW…gents/skills/resx-translation/helpers/create_locale.py3CODE
LOW.agents/skills/resx-translation/helpers/find_resx.py3CODE
LOW.agents/skills/resx-translation/helpers/resx_helpers.py3CODE
LOW.agents/skills/resx-translation/helpers/sync_resx.py3CODE
LOW…/skills/resx-translation/helpers/audit_translations.py3CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…nts/skills/using-superpowers/references/codex-tools.md16## Subagent dispatch requires multi-agent supportCOMMENT
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.agents/skills/resx-translation/helpers/sync_resx.py23CODE
LOW…/skills/resx-translation/helpers/audit_translations.py76CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW.agents/skills/brainstorming/visual-companion.md234<div class="placeholder">Placeholder area</div>CODE