AI Slop Code RIsk Monitor

apache/couchdb

Seamless multi-primary syncing database with an intuitive HTTP/JSON API, designed for reliability

5.1 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for apache/couchdb, a Erlang project with 6,972 GitHub stars. SynthScan examined 69,820 lines of code across 259 source files, recording 291 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 5.1 (Moderate 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.

5.1
Adjusted Signal
5.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
7.0K
Stars
Erlang
Language
69.8K
Lines of Code
259
Files
291
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 16.8/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 246 finding(s).

Hallucinated Dependency & Supply Chain Risk 6.4/100 · LOW

Are imports declared and package/API names verified? 36 finding(s).

Agent Over-Engineering Ratio 4.6/100 · LOW

Are wrappers, guards, and repeated structures necessary? 54 finding(s).

PR Review Velocity Impact 22.8/100 · LOW

Which changes need focused human review? 291 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 1HIGH 12MEDIUM 1LOW 277

Directory Score Breakdown

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.

Pattern Findings

The scanner identified 291 distinct pattern matches across 12 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.

Over-Commented Block190 hits · 184 pts
SeverityFileLineSnippetContext
LOW.readthedocs.yaml1# Licensed under the Apache License, Version 2.0 (the "License"); you may notCOMMENT
LOWbuild-aux/print-committerlist.sh1#!/bin/shCOMMENT
LOWbuild-aux/logfile-uploader.py1#!/usr/bin/env python3COMMENT
LOWtest/bench/benchbulk.sh1#!/bin/sh -eCOMMENT
LOWtest/view_server/query_server_spec.rb1# Licensed under the Apache License, Version 2.0 (the "License"); you may notCOMMENT
LOWrel/haproxy.cfg1# Licensed under the Apache License, Version 2.0 (the "License"); you may notCOMMENT
LOW…che/couchdb/nouveau/lucene/NouveauQueryParserTest.java1//COMMENT
LOW…/couchdb/nouveau/lucene/LuceneAnalyzerFactoryTest.java1//COMMENT
LOW…org/apache/couchdb/nouveau/lucene/LuceneIndexTest.java1//COMMENT
LOW…/org/apache/couchdb/nouveau/core/IndexManagerTest.java1//COMMENT
LOW…che/couchdb/nouveau/health/AnalyzeHealthCheckTest.java1//COMMENT
LOW…pache/couchdb/nouveau/health/IndexHealthCheckTest.java1//COMMENT
LOW…rg/apache/couchdb/nouveau/api/IndexDefinitionTest.java1//COMMENT
LOW…/org/apache/couchdb/nouveau/api/SearchRequestTest.java1//COMMENT
LOW…e/couchdb/nouveau/NouveauApplicationConfiguration.java1//COMMENT
LOW…ava/org/apache/couchdb/nouveau/NouveauApplication.java1//COMMENT
LOW…/apache/couchdb/nouveau/tasks/CloseAllIndexesTask.java1//COMMENT
LOW…ava/org/apache/couchdb/nouveau/lucene/LuceneIndex.java1//COMMENT
LOW…g/apache/couchdb/nouveau/lucene/LuceneIndexSchema.java1//COMMENT
LOW…ache/couchdb/nouveau/lucene/LuceneAnalyzerFactory.java1//COMMENT
LOW…/apache/couchdb/nouveau/lucene/NouveauQueryParser.java1//COMMENT
LOW…he/couchdb/nouveau/lucene/ParallelSearcherFactory.java1//COMMENT
LOW…couchdb/nouveau/lucene/SimpleAsciiFoldingAnalyzer.java1//COMMENT
LOW…main/java/org/apache/couchdb/nouveau/core/IOUtils.java1//COMMENT
LOW…c/main/java/org/apache/couchdb/nouveau/core/Index.java1//COMMENT
LOW…ava/org/apache/couchdb/nouveau/core/IndexFunction.java1//COMMENT
LOW…a/org/apache/couchdb/nouveau/core/UserAgentFilter.java1//COMMENT
LOW…g/apache/couchdb/nouveau/core/StaleIndexException.java1//COMMENT
LOW…/java/org/apache/couchdb/nouveau/core/StripedLock.java1//COMMENT
LOW…e/couchdb/nouveau/core/UpdatesOutOfOrderException.java1//COMMENT
LOW…java/org/apache/couchdb/nouveau/core/IndexManager.java1//COMMENT
LOW…org/apache/couchdb/nouveau/core/ser/StringWrapper.java1//COMMENT
LOW…org/apache/couchdb/nouveau/core/ser/DoubleWrapper.java1//COMMENT
LOW…a/org/apache/couchdb/nouveau/core/ser/LongWrapper.java1//COMMENT
LOW…/apache/couchdb/nouveau/core/ser/PrimitiveWrapper.java1//COMMENT
LOW…a/org/apache/couchdb/nouveau/core/ser/NullWrapper.java1//COMMENT
LOW…va/org/apache/couchdb/nouveau/core/ser/IntWrapper.java1//COMMENT
LOW…/apache/couchdb/nouveau/core/ser/ByteArrayWrapper.java1//COMMENT
LOW…/org/apache/couchdb/nouveau/core/ser/FloatWrapper.java1//COMMENT
LOW…rg/apache/couchdb/nouveau/health/IndexHealthCheck.java1//COMMENT
LOW…/apache/couchdb/nouveau/health/AnalyzeHealthCheck.java1//COMMENT
LOW…/apache/couchdb/nouveau/resources/WelcomeResource.java1//COMMENT
LOW…rg/apache/couchdb/nouveau/resources/IndexResource.java1//COMMENT
LOW…/apache/couchdb/nouveau/resources/AnalyzeResource.java1//COMMENT
LOW…n/java/org/apache/couchdb/nouveau/api/DoubleRange.java1//COMMENT
LOW…va/org/apache/couchdb/nouveau/api/WelcomeResponse.java1//COMMENT
LOW…ava/org/apache/couchdb/nouveau/api/DocumentUpdate.java1//COMMENT
LOW…ava/org/apache/couchdb/nouveau/api/AnalyzeRequest.java1//COMMENT
LOW…n/java/org/apache/couchdb/nouveau/api/DoubleField.java1//COMMENT
LOW…ain/java/org/apache/couchdb/nouveau/api/TextField.java1//COMMENT
LOW…/org/apache/couchdb/nouveau/api/IndexInfoResponse.java1//COMMENT
LOW…ain/java/org/apache/couchdb/nouveau/api/SearchHit.java1//COMMENT
LOW…/apache/couchdb/nouveau/api/DocumentUpdateRequest.java1//COMMENT
LOW…java/org/apache/couchdb/nouveau/api/SearchResults.java1//COMMENT
LOW…rc/main/java/org/apache/couchdb/nouveau/api/Range.java1//COMMENT
LOW…va/org/apache/couchdb/nouveau/api/AnalyzeResponse.java1//COMMENT
LOW…n/java/org/apache/couchdb/nouveau/api/StringField.java1//COMMENT
LOW…n/java/org/apache/couchdb/nouveau/api/StoredField.java1//COMMENT
LOW…rc/main/java/org/apache/couchdb/nouveau/api/Field.java1//COMMENT
LOW…va/org/apache/couchdb/nouveau/api/DocumentRequest.java1//COMMENT
130 more matches not shown…
Cross-Language Confusion (JS/TS)11 hits · 55 pts
SeverityFileLineSnippetContext
HIGHshare/server/dreyfus.js58 print(JSON.stringify(buf));CODE
HIGHshare/server/util.js150 print(JSON.stringify(obj));CODE
HIGHshare/server/state.js20 print("true"); // indicates successCODE
HIGHshare/server/state.js33 print("true");CODE
HIGHshare/server/state.js37 print("true");CODE
HIGHshare/server/views.js50 print("[true," + reduce_line + "]");CODE
HIGHshare/server/views.js55 print("[true," + reduce_line + "]");CODE
HIGHshare/server/views.js137 print(JSON.stringify(buf));CODE
HIGHshare/server/dispatch-quickjs.js71 print("true");CODE
HIGHshare/server/nouveau.js104 print(JSON.stringify(buf));CODE
HIGHshare/server/loop.js80 print("true");CODE
Hyper-Verbose Identifiers43 hits · 53 pts
SeverityFileLineSnippetContext
LOWshare/server/60/esprima.js1(function webpackUniversalModuleDefinition(root, factory) {CODE
LOWshare/server/60/esprima.js1197 function AsyncArrowFunctionExpression(params, body, expression) {CODE
LOWsrc/mango/test/24-text-paginated-test.py44 def test_query_with_lot_of_results(self):CODE
LOWsrc/mango/test/24-text-paginated-test.py65 def test_no_duplicates_on_interleaved_updates(self):CODE
LOWsrc/mango/test/24-text-paginated-test.py75 def test_no_duplicates_on_interleaved_updates_heavy(self):CODE
LOWsrc/mango/test/24-text-paginated-test.py96 def test_no_duplicates_on_interleaved_updates_with_limit_skip(self):CODE
LOW⚡src/mango/test/16-index-selectors-test.py88 def test_saves_partial_filter_selector_in_index(self):CODE
LOW⚡src/mango/test/16-index-selectors-test.py94 def test_partial_filter_only_in_return_if_not_default(self):CODE
LOW⚡src/mango/test/16-index-selectors-test.py99 def test_saves_selector_in_index_throws(self):CODE
LOW⚡src/mango/test/16-index-selectors-test.py108 def test_uses_partial_index_for_query_selector(self):CODE
LOW⚡src/mango/test/16-index-selectors-test.py158 def test_old_selector_with_no_selector_still_supported(self):CODE
LOW⚡src/mango/test/16-index-selectors-test.py166 def test_old_selector_still_supported(self):CODE
LOW⚡src/mango/test/16-index-selectors-test.py174 def test_uses_partial_index_with_non_indexable_selector(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py121 def test_uses_partial_index_with_different_selector(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py135 def test_doesnot_use_selector_when_not_specified(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py146 def test_doesnot_use_selector_when_not_specified_with_index(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py195 def test_saves_partialfilterselector_in_index(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py204 def test_uses_partial_index_for_query_selector(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py217 def test_uses_partial_index_with_different_selector(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py231 def test_doesnot_use_selector_when_not_specified(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py242 def test_doesnot_use_selector_when_not_specified_with_index(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py256 def test_old_selector_still_supported(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py264 def test_old_selector_still_supported_via_api(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py275 def test_partial_filter_only_in_return_if_not_default(self):CODE
LOWsrc/mango/test/16-index-selectors-test.py280 def test_uses_partial_index_with_non_indexable_selector(self):CODE
LOW⚡src/mango/test/17-multi-type-value-test.py33 def test_can_query_with_name_subfield(self):CODE
LOW⚡src/mango/test/17-multi-type-value-test.py38 def test_can_query_with_name_range(self):CODE
LOW⚡src/mango/test/17-multi-type-value-test.py45 def test_can_query_with_age_and_name_range(self):CODE
LOWsrc/mango/test/06-basic-text-test.py393 def test_exists_object_member(self):CODE
LOWsrc/mango/test/06-basic-text-test.py447 def test_elem_match_non_object(self):CODE
LOWsrc/mango/test/20-no-timeout-test.py29 def test_query_does_not_time_out(self):CODE
LOW⚡src/mango/test/18-json-sort.py31 def test_works_for_basic_case(self):CODE
LOW⚡src/mango/test/18-json-sort.py38 def test_works_for_all_fields_specified(self):CODE
LOW⚡src/mango/test/18-json-sort.py44 def test_works_for_no_sort_fields_specified(self):CODE
LOW⚡src/mango/test/18-json-sort.py50 def test_works_for_opp_dir_sort(self):CODE
LOW⚡src/mango/test/18-json-sort.py57 def test_not_work_for_non_constant_field(self):CODE
LOW⚡src/mango/test/18-json-sort.py108 def test_ignore_after_set_sort_value(self):CODE
LOW⚡src/mango/test/18-json-sort.py114 def test_not_use_index_if_other_fields_in_sort(self):CODE
LOW⚡src/mango/test/21-empty-selector-tests.py29 def test_empty_array_or_with_age(self):CODE
LOW⚡src/mango/test/21-empty-selector-tests.py35 def test_empty_array_in_with_age(self):CODE
LOW⚡src/mango/test/21-empty-selector-tests.py41 def test_empty_array_and_with_age(self):CODE
LOWsrc/mango/test/21-empty-selector-tests.py53 def test_empty_array_nested_all_with_age(self):CODE
LOWsrc/mango/test/21-empty-selector-tests.py61 def test_empty_arrays_complex(self):CODE
Fake / Example Data15 hits · 18 pts
SeverityFileLineSnippetContext
LOWtest/elixir/test/data/lorem.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nunc sapien, porta id pellentesque at, elementum et fCODE
LOWtest/elixir/test/data/lorem.txt1Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nunc sapien, porta id pellentesque at, elementum et fCODE
LOWtest/elixir/test/data/lorem.txt13Donec mi enim, laoreet pulvinar mollis eu, malesuada viverra nunc. In vitae metus vitae neque tempor dapibus. Maecenas tCODE
LOWtest/elixir/test/data/lorem.txt13Donec mi enim, laoreet pulvinar mollis eu, malesuada viverra nunc. In vitae metus vitae neque tempor dapibus. Maecenas tCODE
LOWtest/elixir/test/data/lorem.txt25In sed feugiat eros. Donec bibendum ullamcorper diam, eu faucibus mauris dictum sed. Duis tincidunt justo in neque accumCODE
LOWtest/elixir/test/data/lorem.txt25In sed feugiat eros. Donec bibendum ullamcorper diam, eu faucibus mauris dictum sed. Duis tincidunt justo in neque accumCODE
LOWtest/elixir/test/data/lorem.txt47Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum nisl metus, hendrerit ut laoreet sed, consectetur atCODE
LOWtest/elixir/test/data/lorem.txt47Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum nisl metus, hendrerit ut laoreet sed, consectetur atCODE
LOWtest/elixir/test/data/lorem.txt65Phasellus viverra iaculis placerat. Nulla consequat dolor sit amet erat dignissim posuere. Nulla lacinia augue vitae mi CODE
LOW⚡test/elixir/test/data/lorem.txt85Donec vitae pretium nibh. Maecenas bibendum bibendum diam in placerat. Ut accumsan, mi vitae vestibulum euismod, nunc juCODE
LOW⚡test/elixir/test/data/lorem.txt85Donec vitae pretium nibh. Maecenas bibendum bibendum diam in placerat. Ut accumsan, mi vitae vestibulum euismod, nunc juCODE
LOW⚡test/elixir/test/data/lorem.txt89Nulla commodo odio justo. Pellentesque non ornare diam. In consectetur sapien ac nunc sagittis malesuada. Morbi ullamcorCODE
LOW⚡test/elixir/test/data/lorem.txt89Nulla commodo odio justo. Pellentesque non ornare diam. In consectetur sapien ac nunc sagittis malesuada. Morbi ullamcorCODE
LOW⚡test/elixir/test/data/lorem.txt91In nec tempor risus. In faucibus nisi eget diam dignissim consequat. Donec pulvinar ante nec enim mattis rutrum. VestibuCODE
LOW⚡test/elixir/test/data/lorem.txt91In nec tempor risus. In faucibus nisi eget diam dignissim consequat. Donec pulvinar ante nec enim mattis rutrum. VestibuCODE
Excessive Try-Catch Wrapping9 hits · 11 pts
SeverityFileLineSnippetContext
LOW⚡src/mango/test/16-index-selectors-test.py103 except Exception as e:CODE
LOW⚡src/mango/test/18-json-sort.py63 except Exception as e:CODE
LOWsrc/mango/test/18-json-sort.py85 except Exception as e:CODE
LOW⚡src/mango/test/18-json-sort.py104 except Exception as e:CODE
LOW⚡src/mango/test/18-json-sort.py120 except Exception as e:CODE
LOWsrc/mango/test/08-text-limit-test.py80 except Exception as e:CODE
LOWsrc/mango/test/08-text-limit-test.py89 except Exception as e:CODE
LOWsrc/mango/test/09-text-sort-test.py46 except Exception as e:CODE
LOWsrc/mango/test/09-text-sort-test.py86 except Exception as e:CODE
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL…ava/org/apache/couchdb/nouveau/lucene/LuceneIndex.java337 luceneRanges[i] = new org.apache.lucene.facet.range.DoubleRange(CODE
Unused Imports9 hits · 9 pts
SeverityFileLineSnippetContext
LOWbuild-aux/show-test-results.py5CODE
LOWbuild-aux/show-test-results.py6CODE
LOWsrc/docs/src/conf.py18CODE
LOWsrc/mango/test/17-multi-type-value-test.py15CODE
LOWsrc/mango/test/06-basic-text-test.py18CODE
LOWsrc/mango/test/20-no-timeout-test.py14CODE
LOWsrc/mango/test/20-no-timeout-test.py15CODE
LOWsrc/mango/test/18-json-sort.py15CODE
LOWsrc/mango/test/13-users-db-find-test.py14CODE
Deep Nesting8 hits · 8 pts
SeverityFileLineSnippetContext
LOWbuild-aux/show-test-results.py189CODE
LOWbuild-aux/show-test-results.py211CODE
LOWbuild-aux/show-test-results.py233CODE
LOWbuild-aux/show-test-results.py252CODE
LOWbuild-aux/show-test-results.py352CODE
LOWsrc/docs/ext/linter.py52CODE
LOWsrc/docs/ext/linter.py64CODE
LOWsrc/docs/ext/linter.py201CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHCONTRIBUTING.md313Thus, it is expressly forbidden to contribute material generated by AI, LLMs,CODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMbuild-aux/logfile-uploader.py46 # JS harnessCOMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/mango/test/mango.py215CODE
LOWsrc/mango/test/mango.py289CODE
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWrel/overlay/etc/local.ini97; 'username = password' lines. Don't forget to restart CouchDB afterCODE