Acode - powerful text/code editor for android/ios
This report summarizes scanner evidence for Acode-Foundation/Acode, a JavaScript project with 7,603 GitHub stars. SynthScan examined 240,620 lines of code across 840 source files, recording 236 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.5 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 211 finding(s).
Are imports declared and package/API names verified? 10 finding(s).
Are wrappers, guards, and repeated structures necessary? 205 finding(s).
Which changes need focused human review? 236 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 236 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/config.js | 164 | function removeCordovaPluginDeclarations({ configPath, packagePath, fsImpl }) { | CODE |
| LOW | hooks/immersive-fullscreen.js | 6 | module.exports = function prepareImmersiveFullscreen(context) { | CODE |
| LOW | hooks/modify-java-files.js | 486 | function getInterfaceDeclarationRegex(filename) { | CODE |
| LOW | hooks/restore-cordova-resources.js | 19 | function restoreCordovaResourceFiles(currentPath) { | CODE |
| LOW | hooks/post-process.js | 83 | function stripLauncherFilterFromMainActivity() { | CODE |
| LOW | hooks/post-process.js | 331 | function removeLegacyKeyboardWorkaround() { | CODE |
| LOW | hooks/post-process.js | 410 | function removeConflictingResourceFiles(src, dest) { | CODE |
| LOW | src/main.js | 1009 | function createAceModelistCompatModule() { | CODE |
| LOW | src/settings/lspServerDetail.js | 151 | function formatStartupTimeoutValue(timeout) { | CODE |
| LOW | src/test/tester.js | 89 | function getOrCreateSuiteElement(suite) { | CODE |
| LOW | src/test/lsp.tests.js | 56 | export function isValidInitializationResponse(response, id = 1) { | CODE |
| LOW | src/test/editor.tests.js | 145 | function dispatchQuickToolsTextInput(text) { | CODE |
| LOW | …s/cordova-plugin-advanced-http/www/umd-tough-cookie.js | 1 | (function webpackUniversalModuleDefinition(root, factory) { | CODE |
| LOW | src/plugins/cordova-plugin-advanced-http/www/helpers.js | 189 | function checkForBlacklistedHeaderKey(key) { | CODE |
| LOW | src/plugins/cordova-plugin-advanced-http/www/helpers.js | 197 | function checkForInvalidHeaderValue(value) { | CODE |
| LOW | src/sidebarApps/index.js | 100 | function setSponsorSidebarAppVisibility(visible) { | CODE |
| LOW | src/sidebarApps/searchInFiles/index.js | 446 | function enqueueNativeSearchResults(batch, version) { | CODE |
| LOW | src/sidebarApps/searchInFiles/index.js | 452 | function scheduleNativeResultDrain(version) { | CODE |
| LOW | src/utils/codeHighlight.js | 52 | function canUseConstructedStyleSheets() { | CODE |
| LOW | src/utils/codeHighlight.js | 151 | function syncFallbackStyleElements(css) { | CODE |
| LOW | src/utils/codeHighlight.js | 163 | function injectDocumentStyleElement(css) { | CODE |
| LOW | src/utils/fileOperationExclusions.js | 13 | export function isExcludedFileOperationPath(url, patterns = []) { | CODE |
| LOW | src/components/settingsPage.js | 306 | function dispatchItemInteractionEnd($target, updated) { | CODE |
| LOW | src/components/settingsPage.js | 528 | function supportsPrimaryHoverInput() { | CODE |
| LOW | src/components/settingsPage.js | 577 | function createTrailingValueDisplay(item) { | CODE |
| LOW | src/components/sidebar/index.js | 459 | function hideEditorNativeSelectionHandles() { | CODE |
| LOW | src/components/WebComponents/wcPage.js | 344 | function handlePagesForSmoothExperience() { | CODE |
| LOW | src/components/WebComponents/wcPage.js | 351 | function handlePagesForSmoothExperienceBack() { | CODE |
| LOW⚡ | src/lib/editorManager.js | 1148 | function createConfiguredBaseExtensions() { | CODE |
| LOW⚡ | src/lib/editorManager.js | 1152 | function getBaseExtensionSignature() { | CODE |
| LOW⚡ | src/lib/editorManager.js | 1162 | function makeRainbowBracketExtension() { | CODE |
| LOW⚡ | src/lib/editorManager.js | 3585 | function updateEditorIndentationSettings() { | CODE |
| LOW⚡ | src/lib/editorManager.js | 3589 | function updateEditorStyleFromSettings() { | CODE |
| LOW⚡ | src/lib/editorManager.js | 3593 | function updateEditorWrapFromSettings() { | CODE |
| LOW⚡ | src/lib/editorManager.js | 3600 | function updateEditorLineNumbersFromSettings() { | CODE |
| LOW⚡ | src/lib/editorManager.js | 3604 | function recreateActiveEditorState() { | CODE |
| LOW⚡ | src/lib/editorManager.js | 4147 | function getGlobalOpenFileListMirrorOrderSignature() { | CODE |
| LOW⚡ | src/lib/editorManager.js | 4153 | function createGlobalOpenFileListMirrorTab(file) { | CODE |
| LOW⚡ | src/lib/editorManager.js | 4161 | function cacheGlobalOpenFileListMirrorTab(file, tab, signature) { | CODE |
| LOW⚡ | src/lib/editorManager.js | 4167 | function markGlobalOpenFileListMirrorDirty(file) { | CODE |
| LOW⚡ | src/lib/editorManager.js | 4171 | function syncGlobalOpenFileListMirrorActiveState() { | CODE |
| LOW | src/lib/editorManager.js | 296 | function createPaneAwareOpenFileListProxy(target) { | CODE |
| LOW | src/lib/editorManager.js | 772 | function updateActivePaneLayoutPath(pane) { | CODE |
| LOW | src/lib/editorManager.js | 790 | function updateActivePaneScrollbars() { | CODE |
| LOW | src/lib/editorManager.js | 845 | function registerSoftKeyboardCursorReveal() { | CODE |
| LOW | src/lib/editorManager.js | 1062 | function getConfiguredThemeExtension() { | CODE |
| LOW | src/lib/editorManager.js | 1354 | function getBaseExtensionsFromOptions() { | CODE |
| LOW | src/lib/editorManager.js | 1428 | function getCanvasDisplayOptionsFromSettings() { | CODE |
| LOW | src/lib/editorManager.js | 1454 | function handleCanvasLineNumberClick(line, event, view) { | CODE |
| LOW | src/lib/editorManager.js | 1521 | function createPaneTouchSelectionMenu(view, options) { | CODE |
| LOW | src/lib/editorManager.js | 1634 | function maybeAttachEmmetCompletions(targetExtensions, syntax) { | CODE |
| LOW | src/lib/editorManager.js | 2180 | function getEditorCompatibilityPane(targetEditor) { | CODE |
| LOW | src/lib/editorManager.js | 2184 | function refreshPaneCommandKeymaps() { | CODE |
| LOW | src/lib/editorManager.js | 2218 | function createEditorCompatibilityDescriptors(targetEditor) { | CODE |
| LOW | src/lib/editorManager.js | 2792 | function getEditorExtensionSignature(file) { | CODE |
| LOW | src/lib/editorManager.js | 2802 | function getEditorOptionsSignature() { | CODE |
| LOW | src/lib/editorManager.js | 2860 | function dispatchLanguageExtension( | CODE |
| LOW | src/lib/editorManager.js | 2948 | function applyCurrentEditorOptions( | CODE |
| LOW | src/lib/editorManager.js | 3199 | function restoreFileScrollPosition(file) { | CODE |
| LOW | src/lib/editorManager.js | 3244 | function cancelPendingScrollRestore() { | CODE |
| 130 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/unit/fileSaveEvents.test.js | 204 | expect(f.manager.emit.mock.calls.some(([name]) => name === "save-file")).toBe( | CODE |
| CRITICAL | tests/unit/quickToolsAdapterUi.test.js | 470 | f.adapter.execute.mock.calls.slice(-2).map(([action]) => action), | CODE |
| CRITICAL | tests/unit/quickToolsAdapter.test.js | 75 | expect(f.adapter.execute.mock.calls.map(([action]) => action.text)).toEqual( | CODE |
| CRITICAL⚡ | src/components/audioPlayer/index.js | 87 | this.elements.playIcon.el.classList.remove("pause"); | CODE |
| CRITICAL⚡ | src/components/audioPlayer/index.js | 88 | this.elements.playIcon.el.classList.add("play_arrow"); | CODE |
| CRITICAL⚡ | src/components/audioPlayer/index.js | 91 | this.elements.playIcon.el.classList.remove("play_arrow"); | CODE |
| CRITICAL⚡ | src/components/audioPlayer/index.js | 92 | this.elements.playIcon.el.classList.add("pause"); | CODE |
| CRITICAL | src/components/audioPlayer/index.js | 133 | this.elements.playIcon.el.classList.remove("pause"); | CODE |
| CRITICAL | src/components/audioPlayer/index.js | 134 | this.elements.playIcon.el.classList.add("play_arrow"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/unit/lezerLrHighlighting.test.js | 33 | "// ─────────────────────────────────────────────────────────────", | CODE |
| MEDIUM | tests/unit/lezerLrHighlighting.test.js | 35 | "// ─────────────────────────────────────────────────────────────", | CODE |
| MEDIUM | utils/scripts/dev.js | 25 | // ─── helpers ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | utils/scripts/dev.js | 150 | // ─── self-signed certificate ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | utils/scripts/dev.js | 189 | // ─── HTTPS + WebSocket server ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | utils/scripts/dev.js | 260 | // ─── cordova helpers ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | utils/scripts/dev.js | 315 | // ─── rspack watcher ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | utils/scripts/dev.js | 388 | // ─── plugin watcher ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | utils/scripts/dev.js | 501 | // ─── main ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/community-release-notifier.yml | 106 | # ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/community-release-notifier.yml | 108 | # ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/community-release-notifier.yml | 122 | # ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/community-release-notifier.yml | 124 | # ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/community-release-notifier.yml | 135 | # ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/community-release-notifier.yml | 137 | # ──────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hooks/README.md | 1 | <!-- | COMMENT |
| LOW | …s/cordova-plugin-advanced-http/www/umd-tough-cookie.js | 1721 | } | COMMENT |
| LOW | …s/cordova-plugin-advanced-http/www/umd-tough-cookie.js | 2881 | // | COMMENT |
| LOW | …s/cordova-plugin-advanced-http/www/umd-tough-cookie.js | 2961 | // copy of this software and associated documentation files (the | COMMENT |
| LOW | …s/cordova-plugin-advanced-http/www/umd-tough-cookie.js | 3021 | }; | COMMENT |
| LOW | …s/cordova-plugin-advanced-http/www/umd-tough-cookie.js | 4001 | LABEL_TOO_SHORT: 'Domain name label should be at least 1 character long.', | COMMENT |
| LOW | src/fileSystem/sftp.js | 521 | // case 0: | COMMENT |
| LOW | src/fileSystem/sftp.js | 541 | // case 23: | COMMENT |
| LOW | src/fileSystem/ftp.js | 1 | import settings from "lib/settings"; | COMMENT |
| LOW | src/lib/editorManager.js | 961 | // Compartment for indent guides | COMMENT |
| LOW | src/cm/touchSelectionMenu.js | 201 | #pendingPointerSelectionClick = null; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/components/terminal/terminalTouchSelection.js | 646 | // More robust transform cleanup | COMMENT |
| MEDIUM | src/cm/supportedModes.ts | 198 | // Merge custom mappings to make language detection robust | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/cm/lsp/codeActions.ts | 265 | // Step 1: Apply workspace edit if present | COMMENT |
| LOW⚡ | src/cm/lsp/codeActions.ts | 270 | // Step 2: Execute command if present (after edit per LSP spec) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/cm/lsp/codeActions.ts | 265 | // Step 1: Apply workspace edit if present | COMMENT |
| LOW⚡ | src/cm/lsp/codeActions.ts | 270 | // Step 2: Execute command if present (after edit per LSP spec) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/scripts/dev.js | 220 | function handleRequest(req, res) { | CODE |
| LOW | src/plugins/cordova-plugin-advanced-http/www/helpers.js | 400 | function processData(data, dataSerializer, cb) { | CODE |
| LOW | src/lib/run.js | 192 | function handleRequest(req) { | CODE |
| LOW | src/cm/lsp/workers/protocol.ts | 257 | async function handleRequest(message: JsonRpcMessage): Promise<void> { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/cm/lsp/rename.ts | 95 | if ("placeholder" in prepareResult && prepareResult.placeholder) { | CODE |