Repository Analysis

Belphemur/SoundSwitch

C# application to switch default playing device. Download: https://soundswitch.aaflalo.me/

2.4 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Belphemur/SoundSwitch, a C# project with 3,305 GitHub stars. SynthScan v2.0 examined 59,941 lines of code across 401 source files, recording 97 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 2.4 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).

2.4
Adjusted Score
2.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
3.3K
Stars
C#
Language
59.9K
Lines of Code
401
Files
97
Pattern Hits
2026-07-14
Scan Date
0.02
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 7MEDIUM 3LOW 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 97 distinct pattern matches across 9 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 Block74 hits · 74 pts
SeverityFileLineSnippetContext
LOWSoundSwitch/UI/Component/IconTextComboBox.cs21 /// </summary>COMMENT
LOWSoundSwitch/UI/Component/ListView/ListViewExtended.cs21 /// </summary>COMMENT
LOWSoundSwitch/UI/Component/ListView/ListViewExtended.cs141 {COMMENT
LOWSoundSwitch/UI/Component/ListView/ListViewExtended.cs161/// myLVGROUP.StateMask // is of managed type uintCOMMENT
LOWSoundSwitch/UI/Component/ListView/ListViewExtended.cs181/// Created: Jan. 2008.COMMENT
LOWSoundSwitch/UI/Component/ListView/ListViewExtended.cs241 /// Flag that can have one of the following values:LVGS_NORMALGroups are expanded, the group name is displayed, and COMMENT
LOWSoundSwitch/UI/Component/ListView/ListViewExtended.cs361{COMMENT
LOWSoundSwitch/UI/Component/ListView/ListViewExtended.cs381 Collapsible = 8,COMMENT
LOWSoundSwitch/Util/Timer/DebounceDispatcher.cs1using System;COMMENT
LOWSoundSwitch/Util/Timer/DebounceDispatcher.cs21 private readonly object _lockDebounce = new();COMMENT
LOWSoundSwitch/Util/Timer/DebounceDispatcher.cs61 };COMMENT
LOWSoundSwitch/Framework/ApplicationPath.cs21public static class ApplicationPathCOMMENT
LOW…h/Framework/Configuration/ISoundSwitchConfiguration.cs101 /// Fields of the config that got migratedCOMMENT
LOW…work/NotificationManager/Notification/INotification.cs41 /// Notify when a profile has changedCOMMENT
LOW…work/NotificationManager/Notification/INotification.cs61 void NotifyMicrophoneMuteChanged(string deviceId, string microphoneName, bool newMuteState);COMMENT
LOW…h/Framework/DeviceCyclerManager/DeviceCyclerManager.cs41 /// <param name="type"></param>COMMENT
LOW…/Framework/TrayIcon/IconDoubleClick/IconDoubleClick.cs21public enum IconDoubleClickCOMMENT
LOW…/Framework/TrayIcon/IconDoubleClick/IconDoubleClick.cs41 /// <summary>COMMENT
LOW…bleClick/Action/IconDoubleClickSwitchPlaybackDevice.cs21COMMENT
LOW…rk/TrayIcon/IconDoubleClick/Action/IIconDoubleClick.cs21/// Each implementation represents a specific action that can be performed when the user double-clicks the SoundSwitch sCOMMENT
LOW…/IconDoubleClick/Action/IconDoubleClickOpenSettings.cs21/// When the user double-clicks the system tray icon, this action opens the SoundSwitch settings window.COMMENT
LOW…leClick/Action/IconDoubleClickSwitchRecordingDevice.cs21COMMENT
LOW…TrayIcon/IconDoubleClick/Action/IconDoubleClickNone.cs21/// When the user double-clicks the system tray icon, this action performs no operation,COMMENT
LOW…ch/Framework/Audio/Microphone/MicrophoneMuteToggler.cs61COMMENT
LOWSoundSwitch/Framework/WinApi/WindowsAPIAdapter.cs581 // Message pump required for WH_KEYBOARD_LL to functionCOMMENT
LOW…Switch/Framework/WinApi/Keyboard/KeyboardWindowsAPI.cs141 (key == Keys.RShiftKey);COMMENT
LOWSoundSwitch/Framework/Factory/IEnumImpl.cs21 /// <summary>COMMENT
LOW…Switch/Framework/Banner/ExclusiveFullscreenDetector.cs21/// <summary>COMMENT
LOW…Switch/Framework/Banner/ExclusiveFullscreenDetector.cs41/// FSE changes resolution or refresh rate. Gated behind the foregroundCOMMENT
LOWSoundSwitch/Framework/Banner/ToastBannerAdapter.cs21using Serilog;COMMENT
LOWSoundSwitch/Framework/Banner/BannerForm.cs221 // Safe to pass to base: WA_INACTIVE means the window isCOMMENT
LOWSoundSwitch/Framework/Banner/BannerData.cs21COMMENT
LOWSoundSwitch/Framework/Banner/BannerData.cs61 /// <summary>COMMENT
LOW…/Framework/Banner/BannerPosition/Position/IPosition.cs21COMMENT
LOWSoundSwitch/Properties/AssemblyInfo.cs21[assembly: InternalsVisibleTo("SoundSwitch.Tests")]COMMENT
LOWSoundSwitch/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWSoundSwitch/Model/INotificationSettings.cs61 IPosition BannerPositionImpl { get; }COMMENT
LOWSoundSwitch/Model/INotificationSettings.cs81 /// </summary>COMMENT
LOWSoundSwitch/Model/IAppSettings.cs21COMMENT
LOWSoundSwitch/Model/IAppSettings.cs61 bool IncludeBetaVersions { get; set; }COMMENT
LOWSoundSwitch/Model/IAppInfrastructure.cs21COMMENT
LOWSoundSwitch/Model/IAppInfrastructure.cs41 /// </summary>COMMENT
LOWSoundSwitch/Model/IAudioDeviceLister.cs41 /// </summary>COMMENT
LOW…dSwitch/Localization/UpdateDownloadStrings.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWSoundSwitch/Localization/TrayIconStrings.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWSoundSwitch/Localization/AboutStrings.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWSoundSwitch/Localization/SettingsStrings.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOW…ommon/Framework/Audio/Device/VolumeChangedEventArgs.cs21 /// <summary>COMMENT
LOW…n/Framework/Audio/Device/DeviceVolumeChangedPayload.cs21 /// </summary>COMMENT
LOW…n/Framework/Audio/Device/DeviceVolumeChangedPayload.cs41 /// </summary>COMMENT
LOWSoundSwitch.Common/Framework/Icon/IconHandle.cs21{COMMENT
LOWSoundSwitch.Common/Framework/Icon/IconHandle.cs61 }COMMENT
LOWSoundSwitch.Common/Framework/Icon/IconExtractor.cs41 }COMMENT
LOWSoundSwitch.Common/Framework/Icon/IconExtractor.cs161 ConfigureEntry(cacheEntry, newEntry, largeIcon);COMMENT
LOWSoundSwitch.Common/Framework/Icon/IconExtractor.cs221 ?? throw new IconExtractionException($"Can't extract icon from path: {path}");COMMENT
LOWSoundSwitch.Common/Properties/Resources.Designer.cs1//------------------------------------------------------------------------------COMMENT
LOWSoundSwitch.Audio.Manager/AudioSwitcher.cs341 return defaultEndpoint == null ? null : new DeviceFullInfo(defaultEndpoint);COMMENT
LOWSoundSwitch.Audio.Manager/AudioSwitcher.cs361 /// Get the current default endpointCOMMENT
LOWSoundSwitch.Audio.Manager/WindowMonitor.cs21 /// <summary>COMMENT
LOW…nterop/Interface/Policy/Extended/IAudioPolicyConfig.cs21 /// </summary>COMMENT
14 more matches not shown…
Synthetic Comment Markers6 hits · 45 pts
SeverityFileLineSnippetContext
HIGHSoundSwitch/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
HIGH…dSwitch/Localization/UpdateDownloadStrings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHSoundSwitch/Localization/TrayIconStrings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHSoundSwitch/Localization/AboutStrings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHSoundSwitch/Localization/SettingsStrings.Designer.cs3// This code was generated by a tool.COMMENT
HIGHSoundSwitch.Common/Properties/Resources.Designer.cs3// This code was generated by a tool.COMMENT
Excessive Try-Catch Wrapping4 hits · 6 pts
SeverityFileLineSnippetContext
LOWtools/check_brackets.py84 except Exception as e:CODE
MEDIUMtools/check_brackets.py85 print(f"Error parsing RESX file {file_path}: {e}")CODE
MEDIUMtools/check_brackets.py37def check_resx_brackets(file_path):CODE
LOWtools/upload_nightly_r2.py60 except Exception as error:CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHtools/markdown_to_html.py102 Parse command-line arguments for the Markdown-to-HTML converter. Builds an ArgumentParser that accepts oneSTRING
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM.serena/project.yml58# Same syntax as gitignore, so you can use * and **.COMMENT
LOW.serena/project.yml71# To make sure you have the latest list of tools, and to view their descriptions,COMMENT
Redundant / Tautological Comments3 hits · 4 pts
SeverityFileLineSnippetContext
LOW.serena/project.yml123# Set this to [] to disable base modes for this project.COMMENT
LOW.serena/project.yml124# Set this to a list of mode names to always include the respective modes for this project.COMMENT
LOW.github/workflows/test-installer-build.yml26 # Check if Inno Setup is already installed by looking for ISCC.exeCOMMENT
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOWtools/upload_nightly_r2.py183def send_discord_notification(CODE
LOWwebsite/worker/downloads.ts67export async function handleDownloadsHistoryRequest(CODE
LOWwebsite/worker/downloads.ts105export async function recordSnapshotFromResponse(CODE
LOWwebsite/worker/weblate.ts10export async function handleWeblateLanguagesRequest(CODE
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtools/markdown_to_html.py14CODE
LOWtools/upload_nightly_r2.py1CODE
Deep Nesting1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtools/upload_nightly_r2.py53CODE