📝 CodeEdit App for macOS – Elevate your code editing experience. Open source, free forever.
This report presents the forensic synthetic code analysis of CodeEditApp/CodeEdit, a Swift project with 22,953 GitHub stars. SynthScan v2.0 examined 64,545 lines of code across 761 source files, recording 158 pattern matches distributed across 7 syntactic categories. The overall adjusted score of 3.0 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 158 distinct pattern matches across 7 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 | AppCast/_config.yml | 1 | # Welcome to Jekyll! | COMMENT |
| LOW | AppCast/_config.yml | 21 | # Build settings | COMMENT |
| LOW | …EditTests/Features/LSP/BufferingServerConnection.swift | 1 | // | COMMENT |
| LOW | …res/LSP/SemanticTokens/SemanticTokenStorageTests.swift | 141 | COMMENT | |
| LOW | …/Features/CodeEditUI/CodeEditUITests-Bridging-Header.h | 1 | // | COMMENT |
| LOW | …itTests/Features/Documents/Indexer/TemporaryFile.swift | 1 | // | COMMENT |
| LOW | .github/workflows/pre-release.yml | 121 | # overwrite files for the same build number | COMMENT |
| LOW | CodeEdit/AppDelegate.swift | 121 | } | COMMENT |
| LOW | …dit/ShellIntegration/codeedit_shell_integration_rc.zsh | 1 | # codeedit-shell_Integration_rc.zsh | COMMENT |
| LOW | …eEdit/ShellIntegration/codeedit_shell_integration.bash | 1 | # codeedit_shell_intergration.bash | COMMENT |
| LOW | …eEdit/ShellIntegration/codeedit_shell_integration.bash | 61 | # | COMMENT |
| LOW | …eEdit/ShellIntegration/codeedit_shell_integration.bash | 81 | # | COMMENT |
| LOW | CodeEdit/Features/Settings/Models/SettingsData.swift | 1 | // | COMMENT |
| LOW | CodeEdit/Features/Settings/Models/Settings.swift | 1 | // | COMMENT |
| LOW | CodeEdit/Features/Settings/Models/GlobPattern.swift | 1 | // | COMMENT |
| LOW | CodeEdit/Features/Settings/Views/ExternalLink.swift | 1 | // | COMMENT |
| LOW | …/Pages/SearchSettings/Models/SearchSettingsModel.swift | 1 | // | COMMENT |
| LOW | …s/Settings/Pages/ThemeSettings/Models/ThemeModel.swift | 1 | // | COMMENT |
| LOW | …ettings/Pages/ThemeSettings/Models/ThemeSettings.swift | 1 | // | COMMENT |
| LOW | …ettings/Pages/ThemeSettings/Models/ThemeSettings.swift | 61 | /// Use the system background that matches the appearance setting | COMMENT |
| LOW | …ettings/Pages/ThemeSettings/Models/ThemeSettings.swift | 81 | /// "color" : "#1100FF" | COMMENT |
| LOW | …tings/Pages/ThemeSettings/Models/ThemeModel+CRUD.swift | 1 | // | COMMENT |
| LOW | …it/Features/SplitView/Model/CodeEditDividerStyle.swift | 1 | // | COMMENT |
| LOW | CodeEdit/Features/Tasks/TaskManager.swift | 101 | /// The task will not run or consume CPU time until it is resumed. | COMMENT |
| LOW | CodeEdit/Features/Tasks/TaskManager.swift | 121 | } | COMMENT |
| LOW | CodeEdit/Features/Tasks/Models/CETaskStatus.swift | 1 | // | COMMENT |
| LOW | …dit/Features/ActivityViewer/Tasks/ActiveTaskView.swift | 1 | // | COMMENT |
| LOW | …vityViewer/Notifications/TaskNotificationHandler.swift | 1 | // | COMMENT |
| LOW | …vityViewer/Notifications/TaskNotificationHandler.swift | 21 | /// It is recommended to use `UUID().uuidString` to generate a unique identifier for each task. | COMMENT |
| LOW | …vityViewer/Notifications/TaskNotificationHandler.swift | 41 | /// Required fields: `id` (String), `action` (String), `title` (String). | COMMENT |
| LOW | …vityViewer/Notifications/TaskNotificationHandler.swift | 61 | /// let uuidString = UUID().uuidString | COMMENT |
| LOW | …vityViewer/Notifications/TaskNotificationHandler.swift | 81 | /// func updateTask() { | COMMENT |
| LOW | …vityViewer/Notifications/TaskNotificationHandler.swift | 101 | /// func deleteTaskWithDelay() { | COMMENT |
| LOW | …ures/OpenQuickly/ViewModels/OpenQuicklyViewModel.swift | 21 | } | COMMENT |
| LOW | CodeEdit/Features/StatusBar/Views/StatusBarView.swift | 1 | // | COMMENT |
| LOW | …ures/StatusBar/ViewModifiers/UpdateStatusBarInfo.swift | 1 | // | COMMENT |
| LOW | …igatorArea/ProjectNavigator/ProjectNavigatorView.swift | 1 | // | COMMENT |
| LOW | …ew/ProjectNavigatorViewController+NSMenuDelegate.swift | 1 | // | COMMENT |
| LOW | …Edit/Features/TerminalEmulator/Model/CurrentUser.swift | 1 | // | COMMENT |
| LOW | …Features/TerminalEmulator/Model/ShellIntegration.swift | 41 | /// Setup shell integration. | COMMENT |
| LOW | …ures/TerminalEmulator/Views/TerminalEmulatorView.swift | 1 | // | COMMENT |
| LOW | …/TerminalEmulator/Views/CELocalShellTerminalView.swift | 1 | // | COMMENT |
| LOW | …/TerminalEmulator/Views/CELocalShellTerminalView.swift | 21 | /// should not be removed in the future even if SwiftTerm has a change in behavior. | COMMENT |
| LOW | CodeEdit/Features/LSP/LSPUtil.swift | 1 | // | COMMENT |
| LOW | …Server/Capabilities/LanguageServer+DocumentColor.swift | 1 | // | COMMENT |
| LOW | …eServer/Capabilities/LanguageServer+DocumentSync.swift | 61 | let string: String | COMMENT |
| LOW | …es/SemanticTokens/SemanticTokenHighlightProvider.swift | 1 | // | COMMENT |
| LOW | …res/LSP/Features/SemanticTokens/SemanticTokenMap.swift | 1 | // | COMMENT |
| LOW | …res/LSP/Features/SemanticTokens/SemanticTokenMap.swift | 41 | tokenTypeMap = legend.tokenTypes.map { CaptureName.fromString($0) } | COMMENT |
| LOW | …Tokens/SemanticTokenStorage/SemanticTokenStorage.swift | 1 | // | COMMENT |
| LOW | …Tokens/SemanticTokenStorage/SemanticTokenStorage.swift | 121 | // MARK: - Invalidated Indices | COMMENT |
| LOW | …/LSP/Features/DocumentSync/LSPContentCoordinator.swift | 1 | // | COMMENT |
| LOW | …Features/LSP/Registry/RegistryItemTemplateParser.swift | 1 | // | COMMENT |
| LOW | …kageManagers/Install/PackageManagerProgressModel.swift | 1 | // | COMMENT |
| LOW | …eManagers/Install/PackageManagerInstallOperation.swift | 1 | // | COMMENT |
| LOW | …t/Features/LSP/Registry/Model/PackageManagerType.swift | 1 | // | COMMENT |
| LOW | …t/Features/LSP/Registry/Model/InstallationMethod.swift | 1 | // | COMMENT |
| LOW | …deEdit/Features/LSP/Registry/Model/PackageSource.swift | 1 | // | COMMENT |
| LOW | CodeEdit/Features/LSP/Service/LSPService.swift | 1 | // | COMMENT |
| LOW | CodeEdit/Features/LSP/Service/LSPService.swift | 21 | /// This class uses Swift's concurrency model to manage background tasks and event streams | COMMENT |
| 76 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …itTests/Features/Documents/Indexer/TemporaryFile.swift | 70 | print("Error creating directory: \(error)") | CODE |
| MEDIUM | …itTests/Features/Documents/Indexer/TemporaryFile.swift | 85 | print("Error writing to file: \(error)") | CODE |
| MEDIUM | …itTests/Features/Documents/Indexer/TemporaryFile.swift | 98 | print("Error removing item: \(error)") | CODE |
| MEDIUM | …tings/Pages/ThemeSettings/Models/ThemeModel+CRUD.swift | 219 | print("Error adding theme: \(error.localizedDescription)") | CODE |
| MEDIUM | …tings/Pages/ThemeSettings/Models/ThemeModel+CRUD.swift | 250 | print("Error renaming theme: \(error.localizedDescription)") | CODE |
| MEDIUM | …tings/Pages/ThemeSettings/Models/ThemeModel+CRUD.swift | 266 | print("Error saving theme: \(error.localizedDescription)") | CODE |
| MEDIUM | …/SourceControlSettings/Models/IgnorePatternModel.swift | 127 | print("Error loading patterns: \(error)") | CODE |
| MEDIUM | …/SourceControlSettings/Models/IgnorePatternModel.swift | 174 | print("Error saving patterns: \(error)") | CODE |
| MEDIUM | …ges/AccountsSettings/AccountsSettingsDetailsView.swift | 49 | print("Error creating regular expression: \(error.localizedDescription)") | CODE |
| MEDIUM | CodeEdit/Features/Extensions/ExtensionDiscovery.swift | 50 | print("Error while searching for extensions: \(error.localizedDescription)") | CODE |
| MEDIUM | …t/Features/SourceControl/Client/GitClient+Commit.swift | 74 | print("Error: \(error)") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | CodeEdit/AppDelegate.swift | 25 | Settings.shared.preferences.general.appAppearance.applyAppearance() | CODE |
| CRITICAL | …tings/Pages/ThemeSettings/Models/ThemeModel+CRUD.swift | 282 | Settings.shared.preferences.theme.overrides.removeValue(forKey: theme.name) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …eEdit/ShellIntegration/codeedit_shell_integration.bash | 192 | # This function is installed as part of the PROMPT_COMMAND; | COMMENT |
| MEDIUM | …eEdit/ShellIntegration/codeedit_shell_integration.bash | 200 | # This function is installed as part of the PROMPT_COMMAND. | COMMENT |
| MEDIUM | …eEdit/ShellIntegration/codeedit_shell_integration.bash | 260 | # This function is installed as the DEBUG trap. It is invoked before each | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …itTests/Features/Documents/Indexer/TemporaryFile.swift | 15 | /// Example usage: | COMMENT |
| LOW | …itTests/Features/Documents/Indexer/TemporaryFile.swift | 41 | /// Example usage: | COMMENT |
| LOW | …/Documents/Indexer/SearchIndexer+AsyncController.swift | 56 | /// Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …velopmentInspector/InternalDevelopmentOutputView.swift | 41 | let strings = ("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce molestie, dui et consectetur" | CODE |
| LOW | …velopmentInspector/InternalDevelopmentOutputView.swift | 41 | let strings = ("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce molestie, dui et consectetur" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …eEdit/ShellIntegration/codeedit_shell_integration.bash | 113 | # WARNING: This variable is no longer used and should not be relied upon. | COMMENT |