Repository Analysis

ueberdosis/tiptap

The headless rich text editor framework for web artisans.

0.3 Likely human-written View on GitHub
0.3
Adjusted Score
0.3
Raw Score
100%
Time Factor
2026-05-30
Last Push
37,028
Stars
TypeScript
Language
289,268
Lines of Code
1895
Files
61
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 0MEDIUM 2LOW 58

Pattern Findings

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

Hyper-Verbose Identifiers36 hits · 36 pts
SeverityFileLineSnippet
LOWvitest.config.ts8 function collectPackageInformation(path: string) {
LOWscripts/aggregate-changeset.js146function shouldUpdateDependencyBasedOnConfig(cwd, release, dependency, config) {
LOWscripts/aggregate-changeset.js309function replaceOrPrependVersionSection(body, newSection, version) {
LOW…ore/src/utilities/markdown/createInlineMarkdownSpec.ts36function serializeShortcodeAttributes(attrs: Record<string, any>): string {
LOW…/src/utilities/markdown/renderNestedMarkdownContent.ts56export function renderNestedMarkdownContent(
LOW…/src/utilities/markdown/createAtomBlockMarkdownSpec.ts58export function createAtomBlockMarkdownSpec(options: AtomBlockMarkdownSpecOptions): {
LOWpackages/core/src/commands/toggleList.ts82function createInnerSelectionForWholeDocList(tr: Transaction) {
LOW…ages/core/src/helpers/getSchemaByResolvedExtensions.ts59export function getSchemaByResolvedExtensions(extensions: Extensions, editor?: Editor): Schema {
LOWpackages/core/src/helpers/findParentNodeClosestToPos.ts14export function findParentNodeClosestToPos(
LOW…kages/core/src/helpers/getTextSerializersFromSchema.ts10export function getTextSerializersFromSchema(schema: Schema): Record<string, TextSerializer> {
LOW…re/src/helpers/injectExtensionAttributesToParseRule.ts12export function injectExtensionAttributesToParseRule(
LOW…ckages/core/src/helpers/getAttributesFromExtensions.ts10export function getAttributesFromExtensions(extensions: Extensions): ExtensionAttribute[] {
LOWpackages/core/src/helpers/rewriteUnknownContent.ts27function rewriteUnknownContentInner({
LOWpackages/extension-table/src/utilities/parseAlign.ts53export function normalizeTableCellAlignFromAttributes(
LOW…ckages/server-ai-toolkit/src/server-ai-toolkit.spec.ts50function createEditorWithExplicitExtensions(
LOW…s/src/placeholder/utils/buildPlaceholderDecorations.ts28export function buildPlaceholderDecorations({
LOW…/src/placeholder/utils/getViewportBoundaryPositions.ts14export function getViewportBoundaryPositions({
LOW…s/src/placeholder/utils/createPlaceholderDecoration.ts20export function createPlaceholderDecoration(options: {
LOW…s/src/placeholder/utils/preparePlaceholderAttribute.ts6export function preparePlaceholderAttribute(attr: string): string {
LOWpackages/extension-mathematics/src/utils.ts35export function createMathMigrateTransaction(
LOWpackages/extension-list/src/item/list-item.ts27function isSameLineOrderedListToken(token: MarkdownToken): boolean {
LOWpackages/extension-list/src/item/list-item.ts39function parseSameLineOrderedListText(text: string, helpers: MarkdownParseHelpers): JSONContent[] {
LOWpackages/static-renderer/CHANGELOG.md838 function MyCustomComponentWithoutContent() {
LOWpackages/static-renderer/CHANGELOG.md893 function MyCustomComponentWithContent() {
LOWpackages/static-renderer/CHANGELOG.md1386 function MyCustomComponentWithoutContent() {
LOWpackages/static-renderer/CHANGELOG.md1441 function MyCustomComponentWithContent() {
LOWpackages/static-renderer/CHANGELOG.md1662 function MyCustomComponentWithoutContent() {
LOWpackages/static-renderer/CHANGELOG.md1717 function MyCustomComponentWithContent() {
LOWpackages/static-renderer/src/pm/extensionRenderer.ts57export function applyStaticEditorOptionsToExtensions(
LOW…ages/static-renderer/src/pm/html-string/html-string.ts41export function domOutputSpecToHTMLString(
LOWpackages/static-renderer/src/pm/react/react.ts57export function domOutputSpecToReactElement(
LOWpackages/static-renderer/src/json/html-string/string.ts49export function serializeAttrsToHTMLString(attrs: Record<string, any> | undefined | null): string {
LOWpackages/static-renderer/src/json/html-string/string.ts65export function serializeChildrenToHTMLString(children?: string | string[]): string {
LOWdemos/vite.config.ts13 function collectPackageInformation(path: string) {
LOW…s/src/Examples/StaticRenderingAdvanced/React/index.tsx12function MyCustomComponentWithoutContent() {
LOW…s/src/Examples/StaticRenderingAdvanced/React/index.tsx24function MyCustomComponentWithContent() {
Fake / Example Data19 hits · 23 pts
SeverityFileLineSnippet
LOWpackages/core/__tests__/setContent.spec.ts107 '<p><span data-type="mention" data-id="1" data-label="John Doe">@John Doe</span></p>',
LOWpackages/core/__tests__/setContent.spec.ts110 '<span data-type="mention" data-id="1" data-label="John Doe" data-mention-suggestion-char="@">@John Doe</span>',
LOW…ore/src/utilities/markdown/createInlineMarkdownSpec.ts10 * Parse shortcode attributes like 'id="madonna" handle="john" name="John Doe"'
LOWpackages/suggestion/src/suggestion.ts155 * @example ({ editor, query }) => [{ id: 1, label: 'John Doe' }]
LOWpackages/markdown/__tests__/manager.spec.ts351 const markdown = '[@ id="user123" label="John Doe"] said hello'
LOWpackages/markdown/__tests__/manager.spec.ts357 expect(doc.content![0].content![0].attrs!.label).toBe('John Doe')
LOWpackages/markdown/__tests__/manager.spec.ts673 attrs: { id: 'user123', label: 'John Doe' },
LOWpackages/markdown/__tests__/manager.spec.ts682 expect(markdown).toBe('[@ id="user123" label="John Doe"] said hello')
LOWpackages/markdown/__tests__/manager.spec.ts737 markdown: '[@ id="user123" label="John Doe"] said hello',
LOW…arkdown/__tests__/conversion-files/hard-break-marks.ts25 { type: 'text', marks: [{ type: 'bold' }], text: 'John Doe' },
LOW…arkdown/__tests__/conversion-files/soft-break-marks.ts24 { type: 'text', marks: [{ type: 'bold' }], text: 'John Doe' },
LOW…tension-collaboration-caret/src/collaboration-caret.ts20 * @example { name: 'John Doe', color: '#305500' }
LOW…tension-collaboration-caret/src/collaboration-caret.ts69 * @example editor.commands.updateUser({ name: 'John Doe', color: '#305500' })
LOWpackages/extension-link/__tests__/link.spec.ts343 expect(shouldAutoLink('user@example.com')).toBe(true)
LOWdemos/src/Nodes/Mention/index.spec.ts20 '<p><span data-type="mention" data-id="1" data-label="John Doe">@John Doe</span></p>',
LOW…iments/CollaborationMappingPerformance/React/index.tsx24 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
LOW…iments/CollaborationMappingPerformance/React/index.tsx24 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
LOW…iments/CollaborationMappingPerformance/React/index.tsx30 'Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.',
LOW…iments/CollaborationMappingPerformance/React/index.tsx30 'Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet.',
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICALpackages/extension-node-range/src/node-range.ts94 this.editor.view.dom.classList.add('ProseMirror-noderangeselection')
Slop Phrases3 hits · 5 pts
SeverityFileLineSnippet
MEDIUMdemos/src/Examples/TransformPastedHTML/Vue/index.vue127 <p><em>Note: The buttons above simulate the transform for demonstration purposes. Real paste events (Ctrl+V / Cm
MEDIUMdemos/src/Examples/TransformPastedHTML/React/index.jsx78 <p><em>Note: The buttons above simulate the transform for demonstration purposes. Real paste events (Ctrl+V / Cmd+
LOWdemos/src/Examples/Default/React/index.tsx37 I know, I know, this is impressive. It's only the tip of the iceberg though. Give it a try and click a little bit arou
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOWscripts/make-demo.sh19# Check if the directory already exists
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippet
LOWpackages/markdown/src/MarkdownManager.ts1241 // When marks simultaneously close (old) AND open (new) at this boundary, the naive