Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
This report summarizes scanner evidence for neoclide/coc.nvim, a TypeScript project with 25,144 GitHub stars. SynthScan examined 178,348 lines of code across 518 source files, recording 73 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.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? 63 finding(s).
Are imports declared and package/API names verified? 9 finding(s).
Are wrappers, guards, and repeated structures necessary? 56 finding(s).
Which changes need focused human review? 73 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 73 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⚡ | typings/index.d.ts | 8860 | export function registerInlayHintsProvider(selector: DocumentSelector, provider: InlayHintsProvider): Disposable | CODE |
| LOW⚡ | typings/index.d.ts | 8869 | export function registerTypeHierarchyProvider(selector: DocumentSelector, provider: TypeHierarchyProvider): Disposab | CODE |
| LOW⚡ | typings/index.d.ts | 8878 | export function registerInlineCompletionItemProvider(selector: DocumentSelector, provider: InlineCompletionItemProvi | CODE |
| LOW | typings/index.d.ts | 8498 | export function createDiagnosticCollection(name?: string): DiagnosticCollection | CODE |
| LOW | typings/index.d.ts | 8512 | export function registerOnTypeFormattingEditProvider(selector: DocumentSelector, provider: OnTypeFormattingEditProvi | CODE |
| LOW | typings/index.d.ts | 8537 | export function registerCompletionItemProvider(name: string, shortcut: string, selector: DocumentSelector | null, pr | CODE |
| LOW | typings/index.d.ts | 8552 | export function registerCodeActionProvider(selector: DocumentSelector, provider: CodeActionProvider, clientId: strin | CODE |
| LOW | typings/index.d.ts | 8578 | export function registerSelectionRangeProvider(selector: DocumentSelector, provider: SelectionRangeProvider): Dispos | CODE |
| LOW | typings/index.d.ts | 8592 | export function registerSignatureHelpProvider(selector: DocumentSelector, provider: SignatureHelpProvider, triggerCh | CODE |
| LOW | typings/index.d.ts | 8605 | export function registerDocumentSymbolProvider(selector: DocumentSelector, provider: DocumentSymbolProvider, metadat | CODE |
| LOW | typings/index.d.ts | 8620 | export function registerFoldingRangeProvider(selector: DocumentSelector, provider: FoldingRangeProvider): Disposable | CODE |
| LOW | typings/index.d.ts | 8633 | export function registerDocumentHighlightProvider(selector: DocumentSelector, provider: DocumentHighlightProvider): | CODE |
| LOW | typings/index.d.ts | 8659 | export function registerDocumentLinkProvider(selector: DocumentSelector, provider: DocumentLinkProvider): Disposable | CODE |
| LOW | typings/index.d.ts | 8672 | export function registerDocumentColorProvider(selector: DocumentSelector, provider: DocumentColorProvider): Disposab | CODE |
| LOW | typings/index.d.ts | 8685 | export function registerDefinitionProvider(selector: DocumentSelector, provider: DefinitionProvider): Disposable | CODE |
| LOW | typings/index.d.ts | 8698 | export function registerDeclarationProvider(selector: DocumentSelector, provider: DeclarationProvider): Disposable | CODE |
| LOW | typings/index.d.ts | 8712 | export function registerTypeDefinitionProvider(selector: DocumentSelector, provider: TypeDefinitionProvider): Dispos | CODE |
| LOW | typings/index.d.ts | 8725 | export function registerImplementationProvider(selector: DocumentSelector, provider: ImplementationProvider): Dispos | CODE |
| LOW | typings/index.d.ts | 8738 | export function registerReferencesProvider(selector: DocumentSelector, provider: ReferenceProvider): Disposable | CODE |
| LOW | typings/index.d.ts | 8763 | export function registerWorkspaceSymbolProvider(provider: WorkspaceSymbolProvider): Disposable | CODE |
| LOW | typings/index.d.ts | 8776 | export function registerDocumentFormatProvider(selector: DocumentSelector, provider: DocumentFormattingEditProvider, | CODE |
| LOW | typings/index.d.ts | 8793 | export function registerDocumentRangeFormatProvider(selector: DocumentSelector, provider: DocumentRangeFormattingEdi | CODE |
| LOW | typings/index.d.ts | 8802 | export function registerCallHierarchyProvider(selector: DocumentSelector, provider: CallHierarchyProvider): Disposab | CODE |
| LOW | typings/index.d.ts | 8815 | export function registerDocumentSemanticTokensProvider(selector: DocumentSelector, provider: DocumentSemanticTokensP | CODE |
| LOW | typings/index.d.ts | 8834 | export function registerDocumentRangeSemanticTokensProvider(selector: DocumentSelector, provider: DocumentRangeSeman | CODE |
| LOW | typings/index.d.ts | 8847 | export function registerLinkedEditingRangeProvider(selector: DocumentSelector, provider: LinkedEditingRangeProvider) | CODE |
| LOW | typings/index.d.ts | 10791 | export function registerTextDocumentContentProvider(scheme: string, provider: TextDocumentContentProvider): Disposab | CODE |
| LOW | typings/index.d.ts | 10907 | export function createGitFileSystemWatcher(gitDir: string): FileSystemWatcher | CODE |
| LOW | src/services.ts | 416 | export function documentSelectorToLanguageIds(documentSelector: DocumentSelector): string[] { | CODE |
| LOW | src/configuration/util.ts | 77 | export function overrideIdentifiersFromKey(key: string): string[] { | CODE |
| LOW | src/configuration/util.ts | 92 | function getOrSet<K, V>(map: Map<K, V>, key: K, value: V): V { | CODE |
| LOW | src/configuration/util.ts | 260 | export function compareConfigurationContents(to: { keys: string[]; contents: any } | undefined, from: { keys: string[]; | CODE |
| LOW | src/extension/manager.ts | 790 | export function toWorkspaceContainsPatterns(activationEvents: string[]): string[] { | CODE |
| LOW | src/extension/esm.ts | 366 | export function createCommonJSBridgeModule(runtime: ExtensionRuntime, filename: string): Promise<SyntheticModule> { | CODE |
| LOW | src/language-client/index.ts | 275 | function pipeStdoutToLogOutputChannel(input: stream.Readable, outputChannel: OutputChannel) { | CODE |
| LOW | src/language-client/index.ts | 284 | function pipeStderrToLogOutputChannel(input: stream.Readable, outputChannel: OutputChannel) { | CODE |
| LOW | src/language-client/index.ts | 660 | export function handleChildProcessStartError(childProcess: ChildProcess, message: string) { | CODE |
| LOW | src/language-client/utils/codeConverter.ts | 80 | function asVersionedTextDocumentIdentifier(textDocument: TextDocument): protocol.VersionedTextDocumentIdentifier { | CODE |
| LOW | src/language-client/utils/codeConverter.ts | 93 | function asChangeTextDocumentParams(event: TextDocumentChangeEvent): protocol.DidChangeTextDocumentParams { | CODE |
| LOW | src/language-client/utils/codeConverter.ts | 105 | function asFullChangeTextDocumentParams(textDocument: TextDocument): protocol.DidChangeTextDocumentParams { | CODE |
| LOW | src/language-client/utils/codeConverter.ts | 112 | function asCloseTextDocumentParams(textDocument: TextDocument): protocol.DidCloseTextDocumentParams { | CODE |
| LOW | src/language-client/utils/codeConverter.ts | 128 | function asWillSaveTextDocumentParams(event: TextDocumentWillSaveEvent): protocol.WillSaveTextDocumentParams { | CODE |
| LOW | src/language-client/utils/codeConverter.ts | 172 | function asTextDocumentPositionParams(textDocument: TextDocument, position: Position): protocol.TextDocumentPositionPa | CODE |
| LOW | src/language-client/utils/index.ts | 174 | export function createClientPipeTransport(pipeName: string, encoding: MessageBufferEncoding = 'utf-8'): Promise<PipeTran | CODE |
| LOW | src/language-client/utils/index.ts | 209 | export function createClientSocketTransport(port: number, encoding: MessageBufferEncoding = 'utf-8'): Promise<SocketTran | CODE |
| LOW | src/util/filter.ts | 61 | export function fuzzyScoreGracefulAggressive(pattern: string, lowPattern: string, patternPos: number, word: string, lowW | CODE |
| LOW | src/util/filter.ts | 69 | function fuzzyScoreWithPermutations(pattern: string, lowPattern: string, patternPos: number, word: string, lowWord: stri | CODE |
| LOW | src/mcp/protocol.ts | 21 | export function supportsStructuredContent(protocolVersion: string | undefined): boolean { | CODE |
| LOW | src/__tests__/ultisnips.py | 288 | def is_buffer_changed_outside(self): | CODE |
| LOW | src/__tests__/handler/features.test.ts | 55 | function registerHighlightProvider(): void { | CODE |
| LOW | src/__tests__/handler/features.test.ts | 74 | async function registerLinkedEditingProvider(content: string, position: Position): Promise<void> { | CODE |
| LOW | src/__tests__/core/files.test.ts | 1471 | async function assertTargetCreatedWhileWaiting(opts: { ignoreIfExists?: boolean }, shouldReject: boolean): Promise<v | CODE |
| LOW | src/__tests__/client/features.test.ts | 66 | function isFullDocumentDiagnosticReport(value: DocumentDiagnosticReport): asserts value is FullDocumentDiagnosticRepor | CODE |
| LOW | src/__tests__/client/features.test.ts | 924 | async function ensureNotificationReceived(type: string, params: any) { | CODE |
| LOW | …_tests__/client/server/inProcessTestDocumentsServer.ts | 33 | export function createInProcessTestDocumentsServer(input: NodeJS.ReadableStream, output: NodeJS.WritableStream): void { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/__tests__/client/server/testServer.js | 39 | assert.ok(params.capabilities.textDocument.completion.completionList.itemDefaults.includes('data')) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/core/dialogs.ts | 132 | quickpick.placeholder = options.placeHolder ?? options['placeholder'] | CODE |
| LOW | src/__tests__/completion/features.test.ts | 970 | info: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | src/__tests__/completion/features.test.ts | 970 | info: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | src/__tests__/completion/features.test.ts | 1115 | info: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | src/__tests__/completion/features.test.ts | 1115 | info: 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et | CODE |
| LOW | src/__tests__/client/dynamic.test.ts | 116 | await client.sendRequest('setPrepareResponse', { range: Range.create(0, 0, 0, 3), placeholder: 'placeholder' }) | CODE |
| LOW | src/__tests__/client/dynamic.test.ts | 118 | assert.strictEqual((res as any).placeholder, 'placeholder') | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/__tests__/ultisnips.py | 58 | args = r'[{"start":{"line":%d,"character":%d},"end":{"line":%d,"character":%d}}, "%s", v:null, {}]' % (line, cha | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/__tests__/ultisnips.py | 724 | except vim.error: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | doc/coc-mcp-example.toml | 1 | # Example `~/.codex/config.toml` section for the coc.nvim MCP server. | COMMENT |
| LOW | doc/coc-mcp-example.toml | 21 | # instance matches: | COMMENT |
| LOW | src/util/ansiparse.ts | 121 | // \033\[33mText | COMMENT |
| LOW | src/mcp/index.ts | 281 | frameMaxBytes: config.get<number>('frameMaxBytes', 16 * 1024 * 1024), | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/__tests__/ultisnips.py | 2 | CODE | |
| LOW | src/__tests__/ultisnips.py | 130 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | typings/index.d.ts | 15423 | * Create language client by name and options, don't forget to register language client | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/language-client/client.ts | 583 | // CancellationToken is an interface, so we need to check if the first param complies to it | COMMENT |