Repository Analysis

CodeEditApp/CodeEdit

📝 CodeEdit App for macOS – Elevate your code editing experience. Open source, free forever.

3.0 Likely human-written View on GitHub
3.0
Adjusted Score
3.0
Raw Score
100%
Time Factor
2026-04-12
Last Push
22,873
Stars
Swift
Language
64,545
Lines of Code
761
Files
157
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 2HIGH 0MEDIUM 14LOW 141

Pattern Findings

157 matches across 6 categories. Click a row to expand file-level details.

Over-Commented Block136 hits · 136 pts
SeverityFileLineSnippet
LOWAppCast/_config.yml1# Welcome to Jekyll!
LOWAppCast/_config.yml21# Build settings
LOW…EditTests/Features/LSP/BufferingServerConnection.swift1//
LOW…res/LSP/SemanticTokens/SemanticTokenStorageTests.swift141
LOW…/Features/CodeEditUI/CodeEditUITests-Bridging-Header.h1//
LOW…itTests/Features/Documents/Indexer/TemporaryFile.swift1//
LOW.github/workflows/pre-release.yml121 # overwrite files for the same build number
LOWCodeEdit/AppDelegate.swift121 }
LOW…dit/ShellIntegration/codeedit_shell_integration_rc.zsh1# codeedit-shell_Integration_rc.zsh
LOW…eEdit/ShellIntegration/codeedit_shell_integration.bash1# codeedit_shell_intergration.bash
LOW…eEdit/ShellIntegration/codeedit_shell_integration.bash61#
LOW…eEdit/ShellIntegration/codeedit_shell_integration.bash81#
LOWCodeEdit/Features/Settings/Models/SettingsData.swift1//
LOWCodeEdit/Features/Settings/Models/Settings.swift1//
LOWCodeEdit/Features/Settings/Models/GlobPattern.swift1//
LOWCodeEdit/Features/Settings/Views/ExternalLink.swift1//
LOW…/Pages/SearchSettings/Models/SearchSettingsModel.swift1//
LOW…s/Settings/Pages/ThemeSettings/Models/ThemeModel.swift1//
LOW…ettings/Pages/ThemeSettings/Models/ThemeSettings.swift1//
LOW…ettings/Pages/ThemeSettings/Models/ThemeSettings.swift61 /// Use the system background that matches the appearance setting
LOW…ettings/Pages/ThemeSettings/Models/ThemeSettings.swift81 /// "color" : "#1100FF"
LOW…tings/Pages/ThemeSettings/Models/ThemeModel+CRUD.swift1//
LOW…it/Features/SplitView/Model/CodeEditDividerStyle.swift1//
LOWCodeEdit/Features/Tasks/TaskManager.swift101 /// The task will not run or consume CPU time until it is resumed.
LOWCodeEdit/Features/Tasks/TaskManager.swift121 }
LOWCodeEdit/Features/Tasks/Models/CETaskStatus.swift1//
LOW…dit/Features/ActivityViewer/Tasks/ActiveTaskView.swift1//
LOW…vityViewer/Notifications/TaskNotificationHandler.swift1//
LOW…vityViewer/Notifications/TaskNotificationHandler.swift21/// It is recommended to use `UUID().uuidString` to generate a unique identifier for each task.
LOW…vityViewer/Notifications/TaskNotificationHandler.swift41/// Required fields: `id` (String), `action` (String), `title` (String).
LOW…vityViewer/Notifications/TaskNotificationHandler.swift61/// let uuidString = UUID().uuidString
LOW…vityViewer/Notifications/TaskNotificationHandler.swift81/// func updateTask() {
LOW…vityViewer/Notifications/TaskNotificationHandler.swift101/// func deleteTaskWithDelay() {
LOW…ures/OpenQuickly/ViewModels/OpenQuicklyViewModel.swift21 }
LOWCodeEdit/Features/StatusBar/Views/StatusBarView.swift1//
LOW…ures/StatusBar/ViewModifiers/UpdateStatusBarInfo.swift1//
LOW…igatorArea/ProjectNavigator/ProjectNavigatorView.swift1//
LOW…ew/ProjectNavigatorViewController+NSMenuDelegate.swift1//
LOW…Edit/Features/TerminalEmulator/Model/CurrentUser.swift1//
LOW…Features/TerminalEmulator/Model/ShellIntegration.swift41 /// Setup shell integration.
LOW…ures/TerminalEmulator/Views/TerminalEmulatorView.swift1//
LOW…/TerminalEmulator/Views/CELocalShellTerminalView.swift1//
LOW…/TerminalEmulator/Views/CELocalShellTerminalView.swift21/// should not be removed in the future even if SwiftTerm has a change in behavior.
LOWCodeEdit/Features/LSP/LSPUtil.swift1//
LOW…Server/Capabilities/LanguageServer+DocumentColor.swift1//
LOW…eServer/Capabilities/LanguageServer+DocumentSync.swift61 let string: String
LOW…es/SemanticTokens/SemanticTokenHighlightProvider.swift1//
LOW…res/LSP/Features/SemanticTokens/SemanticTokenMap.swift1//
LOW…res/LSP/Features/SemanticTokens/SemanticTokenMap.swift41 tokenTypeMap = legend.tokenTypes.map { CaptureName.fromString($0) }
LOW…Tokens/SemanticTokenStorage/SemanticTokenStorage.swift1//
LOW…Tokens/SemanticTokenStorage/SemanticTokenStorage.swift121 // MARK: - Invalidated Indices
LOW…/LSP/Features/DocumentSync/LSPContentCoordinator.swift1//
LOW…Features/LSP/Registry/RegistryItemTemplateParser.swift1//
LOW…kageManagers/Install/PackageManagerProgressModel.swift1//
LOW…eManagers/Install/PackageManagerInstallOperation.swift1//
LOW…t/Features/LSP/Registry/Model/PackageManagerType.swift1//
LOW…t/Features/LSP/Registry/Model/InstallationMethod.swift1//
LOW…deEdit/Features/LSP/Registry/Model/PackageSource.swift1//
LOWCodeEdit/Features/LSP/Service/LSPService.swift1//
LOWCodeEdit/Features/LSP/Service/LSPService.swift21/// This class uses Swift's concurrency model to manage background tasks and event streams
76 more matches not shown…
Excessive Try-Catch Wrapping11 hits · 22 pts
SeverityFileLineSnippet
MEDIUM…itTests/Features/Documents/Indexer/TemporaryFile.swift70 print("Error creating directory: \(error)")
MEDIUM…itTests/Features/Documents/Indexer/TemporaryFile.swift85 print("Error writing to file: \(error)")
MEDIUM…itTests/Features/Documents/Indexer/TemporaryFile.swift98 print("Error removing item: \(error)")
MEDIUM…tings/Pages/ThemeSettings/Models/ThemeModel+CRUD.swift219 print("Error adding theme: \(error.localizedDescription)")
MEDIUM…tings/Pages/ThemeSettings/Models/ThemeModel+CRUD.swift250 print("Error renaming theme: \(error.localizedDescription)")
MEDIUM…tings/Pages/ThemeSettings/Models/ThemeModel+CRUD.swift266 print("Error saving theme: \(error.localizedDescription)")
MEDIUM…/SourceControlSettings/Models/IgnorePatternModel.swift127 print("Error loading patterns: \(error)")
MEDIUM…/SourceControlSettings/Models/IgnorePatternModel.swift174 print("Error saving patterns: \(error)")
MEDIUM…ges/AccountsSettings/AccountsSettingsDetailsView.swift49 print("Error creating regular expression: \(error.localizedDescription)")
MEDIUMCodeEdit/Features/Extensions/ExtensionDiscovery.swift50 print("Error while searching for extensions: \(error.localizedDescription)")
MEDIUM…t/Features/SourceControl/Client/GitClient+Commit.swift74 print("Error: \(error)")
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippet
CRITICALCodeEdit/AppDelegate.swift25 Settings.shared.preferences.general.appAppearance.applyAppearance()
CRITICAL…tings/Pages/ThemeSettings/Models/ThemeModel+CRUD.swift282 Settings.shared.preferences.theme.overrides.removeValue(forKey: theme.name)
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippet
MEDIUM…eEdit/ShellIntegration/codeedit_shell_integration.bash192# This function is installed as part of the PROMPT_COMMAND;
MEDIUM…eEdit/ShellIntegration/codeedit_shell_integration.bash200# This function is installed as part of the PROMPT_COMMAND.
MEDIUM…eEdit/ShellIntegration/codeedit_shell_integration.bash260# This function is installed as the DEBUG trap. It is invoked before each
Example Usage Blocks3 hits · 4 pts
SeverityFileLineSnippet
LOW…itTests/Features/Documents/Indexer/TemporaryFile.swift15/// Example usage:
LOW…itTests/Features/Documents/Indexer/TemporaryFile.swift41/// Example usage:
LOW…/Documents/Indexer/SearchIndexer+AsyncController.swift56 /// Example usage:
Fake / Example Data2 hits · 2 pts
SeverityFileLineSnippet
LOW…velopmentInspector/InternalDevelopmentOutputView.swift41 let strings = ("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce molestie, dui et consectetur"
LOW…velopmentInspector/InternalDevelopmentOutputView.swift41 let strings = ("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce molestie, dui et consectetur"