:atom: The hackable text editor
This report summarizes scanner evidence for atom/atom, a JavaScript project with 60,676 GitHub stars. SynthScan examined 235,999 lines of code across 795 source files, recording 339 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.6 (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-11-27.
Can maintainers explain intent, assumptions, and trade-offs? 313 finding(s).
Are imports declared and package/API names verified? 26 finding(s).
Are wrappers, guards, and repeated structures necessary? 46 finding(s).
Which changes need focused human review? 339 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 339 distinct pattern matches across 7 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 | CONTRIBUTING.md | 321 | * Reference instance methods with `{ClassName::methodName}` | COMMENT |
| LOW | spec/main-process/atom-application.test.js | 21 | // Each scenario instance has access to a small set of directories and files created within a dedicated temporary | COMMENT |
| LOW | spec/integration/helpers/atom-launcher.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docs/contributing.md | 321 | * Reference instance methods with `{ClassName::methodName}` | COMMENT |
| LOW | script/vsts/platforms/windows.yml | 61 | fileDir: $(Build.SourcesDirectory)/out | COMMENT |
| LOW | script/vsts/platforms/windows.yml | 81 | # RunCoreMainTests: false | COMMENT |
| LOW | script/vsts/platforms/windows.yml | 101 | COMMENT | |
| LOW | script/vsts/platforms/macos.yml | 41 | condition: succeeded() | COMMENT |
| LOW | script/vsts/platforms/macos.yml | 61 | # packages-2: | COMMENT |
| LOW | script/lib/verify-machine-requirements.js | 21 | } | COMMENT |
| LOW | static/normalize.less | 141 | font-family: monospace, monospace; | COMMENT |
| LOW | static/atom-ui/styles/private/forms.less | 81 | // Form control focus state | COMMENT |
| LOW | static/atom-ui/styles/private/forms.less | 221 | font-size: @font-size-base; | COMMENT |
| LOW | static/atom-ui/styles/variables/variables.less | 201 | COMMENT | |
| LOW | packages/one-dark-ui/styles/ui-variables-custom.less | 141 | COMMENT | |
| LOW | packages/link/lib/link.js | 61 | return token.value; | COMMENT |
| LOW | src/text-editor-registry.js | 21 | ['editor.autoIndentOnPaste', 'autoIndentOnPaste'], | COMMENT |
| LOW | src/text-editor-registry.js | 141 | // `TextEditors`. | COMMENT |
| LOW | src/text-editor-registry.js | 201 | // Returns a {Disposable} that can be used to stop updating the editor's | COMMENT |
| LOW | src/decoration.js | 21 | }; | COMMENT |
| LOW | src/decoration.js | 41 | // ``` | COMMENT |
| LOW | src/decoration.js | 121 | // | COMMENT |
| LOW | src/tooltip-manager.js | 1 | const _ = require('underscore-plus'); | COMMENT |
| LOW | src/tooltip-manager.js | 21 | // In practice there are usually multiple tooltips. So we add them to a | COMMENT |
| LOW | src/tooltip-manager.js | 61 | this.keymapManager = keymapManager; | COMMENT |
| LOW | src/tooltip-manager.js | 81 | // * `placement` A {String} or {Function} returning a string to indicate | COMMENT |
| LOW | src/tooltip-manager.js | 101 | // * `delay` An object specifying the show and hide delay in milliseconds. | COMMENT |
| LOW | src/native-watcher-registry.js | 21 | // Private: Construct a tree with no native watchers. | COMMENT |
| LOW | src/native-watcher-registry.js | 261 | } | COMMENT |
| LOW | src/native-watcher-registry.js | 341 | // Private: Dispatch within a map of callback actions. | COMMENT |
| LOW | src/native-watcher-registry.js | 401 | // Private: Track the directories being monitored by native filesystem watchers. Minimize the number of native watchers | COMMENT |
| LOW | src/atom-environment.js | 481 | // * `originalError` {Object} the original error object | COMMENT |
| LOW | src/atom-environment.js | 621 | */ | COMMENT |
| LOW | src/atom-environment.js | 661 | COMMENT | |
| LOW | src/atom-environment.js | 1181 | Section: Messaging the User | COMMENT |
| LOW | src/atom-environment.js | 1201 | // | COMMENT |
| LOW | src/atom-environment.js | 1221 | // const chosen = atom.confirm({ | COMMENT |
| LOW | src/dock.js | 401 | // If we're within the toggle button, we're definitely in the hover area. Unfortunately, we | COMMENT |
| LOW | src/dock.js | 481 | return this.emitter.on('did-change-visible', callback); | COMMENT |
| LOW | src/dock.js | 501 | // | COMMENT |
| LOW | src/dock.js | 521 | COMMENT | |
| LOW | src/dock.js | 541 | // with all future active pane items in the dock. | COMMENT |
| LOW | src/dock.js | 561 | COMMENT | |
| LOW | src/dock.js | 581 | onDidDestroyPane(callback) { | COMMENT |
| LOW | src/dock.js | 601 | // | COMMENT |
| LOW | src/dock.js | 621 | // * `callback` {Function} to be called when pane items are added. | COMMENT |
| LOW | src/dock.js | 641 | // | COMMENT |
| LOW | src/workspace-center.js | 81 | // Because observers are invoked synchronously, it's important not to perform | COMMENT |
| LOW | src/workspace-center.js | 101 | // highlighted tab, gets priority over work that can be done asynchronously. | COMMENT |
| LOW | src/workspace-center.js | 121 | } | COMMENT |
| LOW | src/workspace-center.js | 141 | // | COMMENT |
| LOW | src/workspace-center.js | 161 | // | COMMENT |
| LOW | src/workspace-center.js | 181 | // Extended: Invoke the given callback with the current active pane and when | COMMENT |
| LOW | src/workspace-center.js | 201 | // | COMMENT |
| LOW | src/workspace-center.js | 221 | COMMENT | |
| LOW | src/command-registry.js | 1 | 'use strict'; | COMMENT |
| LOW | src/command-registry.js | 21 | // | COMMENT |
| LOW | src/command-registry.js | 81 | COMMENT | |
| LOW | src/command-registry.js | 101 | // `stopImmediatePropagation` to terminate bubbling early. | COMMENT |
| LOW | src/command-registry.js | 221 | listenersForCommand.delete(element); | COMMENT |
| 205 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | spec/workspace-element-spec.js | 686 | rightDock.refs.toggleButton.refs.innerElement.click(); | CODE |
| CRITICAL | spec/workspace-element-spec.js | 700 | rightDock.refs.toggleButton.refs.innerElement.click(); | CODE |
| CRITICAL | spec/workspace-element-spec.js | 729 | leftDock.refs.toggleButton.refs.innerElement.click(); | CODE |
| CRITICAL | spec/workspace-element-spec.js | 743 | leftDock.refs.toggleButton.refs.innerElement.click(); | CODE |
| CRITICAL | spec/workspace-element-spec.js | 772 | bottomDock.refs.toggleButton.refs.innerElement.click(); | CODE |
| CRITICAL | spec/workspace-element-spec.js | 786 | bottomDock.refs.toggleButton.refs.innerElement.click(); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | spec/workspace-element-spec.js | 807 | function expectToggleButtonVisible(dock, iconClass) { | CODE |
| LOW | spec/text-editor-spec.js | 1460 | function paragraphBufferRangeForRow(row) { | CODE |
| LOW | spec/text-editor-component-spec.js | 3812 | function createBlockDecorationAtScreenRow( | CODE |
| LOW | spec/text-editor-component-spec.js | 3835 | function assertTilesAreSizedAndPositionedCorrectly(component, tiles) { | CODE |
| LOW | spec/text-editor-component-spec.js | 3858 | function assertLinesAreAlignedWithLineNumbers(component) { | CODE |
| LOW | spec/text-editor-component-spec.js | 4049 | function textContentOnRowMatchingSelector(component, row, selector) { | CODE |
| LOW | spec/text-editor-component-spec.js | 4726 | function assertScrolledDownAndRight() { | CODE |
| LOW | spec/text-editor-component-spec.js | 6135 | function getNextAnimationFramePromise() { | CODE |
| LOW | spec/text-editor-component-spec.js | 6188 | function getEditorWidthInBaseCharacters(component) { | CODE |
| LOW | spec/text-editor-component-spec.js | 6200 | async function setEditorWidthInCharacters(component, widthInCharacters) { | CODE |
| LOW | spec/text-editor-component-spec.js | 6242 | function clientPositionForCharacter(component, row, column) { | CODE |
| LOW | spec/text-editor-component-spec.js | 6249 | function lineNumberNodeForScreenRow(component, row) { | CODE |
| LOW | spec/text-editor-component-spec.js | 6280 | function getHorizontalScrollbarHeight(component) { | CODE |
| LOW | spec/text-editor-component-spec.js | 6285 | function getVerticalScrollbarWidth(component) { | CODE |
| LOW | spec/text-editor-component-spec.js | 6317 | function queryOnScreenLineNumberElements(element) { | CODE |
| LOW | spec/text-editor-component-spec.js | 6321 | function queryOnScreenLineElements(element) { | CODE |
| LOW | script/vsts/lib/release-notes.js | 156 | function extractWrittenReleaseNotes(oldReleaseNotes) { | CODE |
| LOW | script/vsts/lib/upload-to-azure-blob.js | 11 | async function listExistingAssetsForDirectory() { | CODE |
| LOW | script/lib/generate-api-docs.js | 39 | function getAPIDocsForDependencies() { | CODE |
| LOW | script/lib/prebuild-less-cache.js | 42 | function saveIntoSnapshotAuxiliaryData(absoluteFilePath, content) { | CODE |
| LOW | script/lib/transpile-coffee-script-paths.js | 58 | function transpileCoffeeScriptPath(coffeePath) { | CODE |
| LOW | script/lib/package-application.js | 189 | function buildAsarUnpackGlobExpression() { | CODE |
| LOW | script/lib/package-application.js | 265 | function generateAtomCmdForChannel(bundledResourcesPath) { | CODE |
| LOW | script/lib/generate-metadata.js | 59 | function buildBundledPackagesMetadata() { | CODE |
| LOW | script/lib/generate-metadata.js | 241 | function buildPlatformMenuMetadata() { | CODE |
| LOW | script/lib/generate-metadata.js | 254 | function buildPlatformKeymapsMetadata() { | CODE |
| LOW | script/lib/generate-metadata.js | 279 | function checkDeprecatedPackagesMetadata() { | CODE |
| LOW | packages/exception-reporting/lib/reporter.js | 149 | function reportWithoutPrivateMetadata() { | CODE |
| LOW | packages/exception-reporting/lib/reporter.js | 161 | function reportWithPrivateMetadata() { | CODE |
| LOW | packages/incompatible-packages/lib/main.js | 48 | export function deserializeIncompatiblePackagesComponent() { | CODE |
| LOW | src/pane-resize-handle-element.js | 114 | function createPaneResizeHandleElement() { | CODE |
| LOW | src/typescript.js | 51 | function createVersionAndOptionsDigest(version, options) { | CODE |
| LOW | src/compile-cache.js | 211 | function prepareStackTraceWithRawStackAssignment(error, frames) { | CODE |
| LOW | src/tree-sitter-grammar.js | 175 | function normalizeFoldSpecification(spec) { | CODE |
| LOW | src/panel-container-element.js | 117 | function createPanelContainerElement() { | CODE |
| LOW | src/text-editor-component.js | 25 | function scaleMouseDragAutoscrollDelta(delta) { | CODE |
| LOW | src/text-editor-component.js | 5197 | function roundToPhysicalPixelBoundary(virtualPixelPosition) { | CODE |
| LOW | src/text-editor-component.js | 5205 | function ceilToPhysicalPixelBoundary(virtualPixelPosition) { | CODE |
| LOW | src/grammar-registry.js | 665 | function getGrammarSelectionContent(buffer) { | CODE |
| LOW | src/style-manager.js | 286 | function transformDeprecatedShadowDOMSelectors(css, context) { | CODE |
| LOW | src/pane-container-element.js | 48 | function createPaneContainerElement() { | CODE |
| LOW | src/babel.js | 71 | function createVersionAndOptionsDigest(version, options) { | CODE |
| LOW | src/menu-sort-helpers.js | 37 | function indexOfGroupContainingCommand(groups, command, ignoreGroup) { | CODE |
| LOW | src/text-editor.js | 5818 | function columnRangeForStartDelimiter(line, delimiter) { | CODE |
| LOW | src/text-editor.js | 5828 | function columnRangeForEndDelimiter(line, delimiter) { | CODE |
| LOW | src/main-process/start.js | 134 | function handleStartupEventWithSquirrel() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/native-watcher-registry.js | 94 | print() { | CODE |
| HIGH | src/native-watcher-registry.js | 199 | print(indent = 0) { | CODE |
| HIGH | src/native-watcher-registry.js | 316 | print(indent = 0) { | CODE |
| HIGH | src/native-watcher-registry.js | 442 | print() { | CODE |
| HIGH | src/path-watcher.js | 729 | print() { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | spec/text-editor-spec.js | 3842 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laore | CODE |
| LOW | spec/text-editor-spec.js | 3842 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laore | CODE |
| LOW⚡ | spec/text-editor-element-spec.js | 48 | element.setAttribute('placeholder-text', 'placeholder'); | CODE |
| LOW⚡ | spec/text-editor-element-spec.js | 49 | expect(element.getModel().getPlaceholderText()).toBe('placeholder'); | CODE |
| LOW⚡ | spec/text-editor-element-spec.js | 56 | const editor = new TextEditor({ placeholderText: 'placeholder' }); | CODE |
| LOW⚡ | spec/text-editor-element-spec.js | 58 | expect(editor.getPlaceholderText()).toBe('placeholder'); | CODE |
| LOW | spec/text-editor-component-spec.js | 5631 | 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do\n' + | CODE |
| LOW | spec/text-editor-component-spec.js | 5631 | 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do\n' + | CODE |
| LOW | spec/text-editor-component-spec.js | 5651 | 'Lorem ipsum dolor sit\n' + | CODE |
| LOW | spec/text-editor-component-spec.js | 5695 | editor.setText('Lorem ipsum dolor'); | CODE |
| LOW | spec/text-editor-component-spec.js | 5719 | editor.setText('Lorem ipsum dolor'); | CODE |
| LOW | benchmarks/text-editor-large-file-construction.bench.js | 6 | const LINE_TEXT = 'Lorem ipsum dolor sit amet\n'; | CODE |
| LOW | benchmarks/text-editor-large-file-construction.bench.js | 6 | const LINE_TEXT = 'Lorem ipsum dolor sit amet\n'; | CODE |
| LOW | src/text-editor-component.js | 3798 | key: 'placeholder', | CODE |
| LOW | src/deprecated-syntax-selectors.js | 3600 | 'placeholder', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | static/atom-ui/styles/variables/variables.less | 126 | //## Define the breakpoints at which your layout will change, adapting to different screen sizes | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/config.js | 709 | // # Set ruby to 2 | COMMENT |