Repository Analysis

toeverything/AFFiNE

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

1.2 Likely human-written View on GitHub
1.2
Adjusted Score
1.2
Raw Score
100%
Time Factor
2026-05-30
Last Push
68,884
Stars
TypeScript
Language
1,165,592
Lines of Code
8655
Files
826
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 51HIGH 6MEDIUM 1LOW 768

Pattern Findings

826 matches across 10 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers607 hits · 632 pts
SeverityFileLineSnippet
LOWtools/cli/src/bundle-shared.ts16export function isRspackSupportedPackageName(name: string) {
LOWtools/cli/src/bundle-shared.ts20export function assertRspackSupportedPackageName(name: string) {
LOWtools/cli/src/bundle.ts34function assertRspackSupportedPackage(pkg: Package) {
LOWtools/cli/src/bundle.ts38function shouldUploadAssetsForPackage(pkg: Package): boolean {
LOWtools/cli/src/rspack-shared/s3-plugin.ts122export function shouldUploadReleaseAssets(pkgName: string): boolean {
LOWtools/cli/src/rspack-shared/error-handler.js66 function registerGlobalErrorHandler() {
LOWtools/cli/src/rspack-shared/error-handler.js80 function unregisterRegisterGlobalErrorHandler(fn) {
LOWblocksuite/playground/apps/_common/mock-services.ts155export function mockGenerateDocUrlService(collection: Workspace) {
LOWblocksuite/playground/apps/starter/utils/collection.ts26export function createStarterDocCollection(
LOWblocksuite/framework/std/src/inline/utils/text.ts58export function invalidateInlineRootTextCache(rootElement: HTMLElement) {
LOW…ite/framework/std/src/inline/utils/point-conversion.ts186function getTextPointRoughlyFromElement(element: Element): TextPoint | null {
LOW…ite/framework/std/src/inline/utils/point-conversion.ts193function getTextPointRoughlyFromElementByOffset(
LOWblocksuite/framework/std/src/inline/utils/query.ts4export function getInlineEditorInsideRoot(
LOWblocksuite/framework/std/src/__tests__/inline/utils.ts19export async function enterInlineEditorPlayground(page: Page) {
LOWblocksuite/framework/std/src/__tests__/inline/utils.ts41export async function getDeltaFromInlineRichText(
LOWblocksuite/framework/std/src/__tests__/inline/utils.ts60export async function getInlineRangeFromInlineRichText(
LOW…suite/framework/std/src/clipboard/clipboard-adapter.ts22export function ClipboardAdapterConfigExtension(
LOWblocksuite/framework/global/src/gfx/bound.ts20export function getPointsFromBoundWithRotation(
LOWblocksuite/framework/global/src/gfx/bound.ts108export function getCommonBoundWithRotation(bounds: IBound[]): Bound {
LOWblocksuite/framework/global/src/gfx/math.ts504export function getPointFromBoundsWithRotation(
LOWblocksuite/framework/global/src/gfx/curve.ts160export function getBezierCurveBoundingBox(values: BezierCurveParameters) {
LOW…suite/framework/store/src/extension/store-extension.ts57export function isStoreExtensionConstructor(
LOWblocksuite/framework/store/src/test/index.ts7export function createAutoIncrementIdGenerator(): IdGenerator {
LOW…/framework/store/src/__tests__/collection.unit.spec.ts72function requestIdleCallbackPolyfill(
LOWblocksuite/framework/store/src/model/store/query.ts72function setAncestorsToDisplayIfHidden(mode: QueryMode, block: Block) {
LOW…tion-test/src/__tests__/edgeless/connector-dom.spec.ts49async function waitForConnectorElementRemoval(
LOWblocksuite/affine/blocks/embed/src/types.ts14export function isExternalEmbedBlockComponent(
LOW…e/affine/blocks/embed/src/embed-youtube-block/utils.ts61export async function refreshEmbedYoutubeUrlData(
LOW…te/affine/blocks/embed/src/common/render-linked-doc.ts80export function getDocContentWithMaxLength(doc: Store, maxlength = 500) {
LOW…te/affine/blocks/embed/src/common/render-linked-doc.ts115export function getTitleFromSelectedModels(selectedModels: DraftModel[]) {
LOW…te/affine/blocks/embed/src/common/render-linked-doc.ts150export async function convertSelectedBlocksToLinkedDoc(
LOW…affine/blocks/embed/src/common/adapters/notion-html.ts7export function createEmbedBlockNotionHtmlAdapterMatcher(
LOW…te/affine/blocks/embed/src/common/adapters/markdown.ts3export function createEmbedBlockMarkdownAdapterMatcher(
LOW…/affine/blocks/embed/src/common/adapters/plain-text.ts3export function createEmbedBlockPlainTextAdapterMatcher(
LOW…ksuite/affine/blocks/embed/src/common/adapters/html.ts3export function createEmbedBlockHtmlAdapterMatcher(
LOW…c/embed-iframe-block/configs/providers/google-drive.ts36function isValidGoogleDriveFileUrl(parsedUrl: URL): boolean {
LOW…c/embed-iframe-block/configs/providers/google-drive.ts51function isValidGoogleDriveFolderUrl(parsedUrl: URL): boolean {
LOW…c/embed-iframe-block/configs/providers/google-drive.ts65function isValidGoogleDrivePathUrl(parsedUrl: URL): boolean {
LOW…c/embed-iframe-block/configs/providers/google-drive.ts116function isValidGoogleDriveIframeUrl(url: string): boolean {
LOW…c/embed-iframe-block/configs/providers/google-drive.ts144function buildGoogleDriveFileEmbedUrl(fileId: string): string | undefined {
LOW…c/embed-iframe-block/configs/providers/google-drive.ts158function buildGoogleDriveFolderEmbedUrl(folderId: string): string | undefined {
LOWblocksuite/affine/blocks/embed/src/configs/toolbar.ts85function createBuiltinToolbarConfigForExternal(
LOW…te/affine/blocks/embed/src/embed-github-block/utils.ts76export async function refreshEmbedGithubUrlData(
LOWblocksuite/affine/blocks/attachment/src/utils.ts144export async function addSiblingAttachmentBlocks(
LOWblocksuite/affine/blocks/attachment/src/embed.ts66export function AttachmentEmbedConfigExtension(
LOW…suite/affine/blocks/code/src/code-preview-extension.ts18export function CodeBlockPreviewExtension(
LOWblocksuite/affine/blocks/code/src/clipboard/index.ts28export function CodeClipboardAdapterConfigExtension(
LOWblocksuite/affine/blocks/code/src/clipboard/index.ts166export function getCodeClipboardExtensions(): ExtensionType[] {
LOW…fine/blocks/surface/src/utils/points-on-curve/index.ts55function getPointsOnBezierCurveWithSplitting(
LOW…ne/blocks/surface/src/extensions/surface-middleware.ts12export function surfaceMiddlewareExtension(
LOW…/surface/src/adapters/markdown/element-adapter/type.ts17export function ElementToMarkdownAdapterExtension(
LOW…urface/src/adapters/plain-text/element-adapter/type.ts17export function ElementToPlainTextAdapterExtension(
LOW…ksuite/affine/blocks/image/src/image-resize-manager.ts103function getClosestRootBlockComponent(el: HTMLElement): BlockComponent | null {
LOW…ocksuite/affine/blocks/table/src/table-data-manager.ts9export class TableDataManager {
LOWblocksuite/affine/blocks/list/src/commands/utils.ts14export function correctNumberedListsOrderToPrev(
LOW…root/src/edgeless/configs/toolbar/render-linked-doc.ts50export function createLinkedDocFromEdgelessElements(
LOW…ite/affine/blocks/root/src/edgeless/clipboard/utils.ts24export function createNewPresentationIndexes(
LOW…ite/affine/blocks/root/src/edgeless/clipboard/utils.ts107export function edgelessElementsBoundFromRawData(
LOW…ite/affine/blocks/root/src/edgeless/clipboard/utils.ts128function getBoundFromSerializedElement(element: SerializedElement) {
LOW…ite/affine/blocks/root/src/edgeless/clipboard/utils.ts137function getBoundFromGfxBlockSnapshot(snapshot: BlockSnapshot) {
547 more matches not shown…
Hallucination Indicators51 hits · 510 pts
SeverityFileLineSnippet
CRITICAL…suite/playground/apps/_common/components/docs-panel.ts111 this.editor.doc.workspace.slots.docListUpdated.subscribe(() => {
CRITICAL…/framework/std/src/view/element/gfx-block-component.ts74 instance.gfx.layer.slots.layerUpdated.subscribe(() => {
CRITICAL…uite/framework/std/src/view/element/block-component.ts219 const disposable = this.std.store.slots.blockUpdated.subscribe(
CRITICAL…/affine/blocks/bookmark/src/bookmark-edgeless-block.ts35 this.gfx.selection.slots.updated.subscribe(() => {
CRITICAL…e/blocks/code/src/code-toolbar/components/more-menu.ts16 this.context.blockComponent.model.propsUpdated.subscribe(({ key }) => {
CRITICAL…c/src/embed-linked-doc-block/embed-linked-doc-block.ts554 this.store.workspace.slots.docListUpdated.subscribe(() => {
CRITICAL…c/src/embed-synced-doc-block/embed-synced-doc-block.ts530 this.store.workspace.slots.docListUpdated.subscribe(() => {
CRITICAL…oc/src/embed-synced-doc-block/init-height-extension.ts15 this.std.store.slots.blockUpdated.subscribe(payload => {
CRITICAL…affine/blocks/root/src/edgeless/edgeless-root-block.ts160 this.gfx.layer.slots.layerUpdated.subscribe(() => updateLayers())
CRITICAL…blocks/root/src/preview/edgeless-root-preview-block.ts119 this._gfx.layer.slots.layerUpdated.subscribe(() => updateLayers())
CRITICAL…cksuite/affine/fragments/outline/src/outline-viewer.ts205 this.editor.store.workspace.meta.docMetaUpdated.subscribe(() => {
CRITICAL…e/affine/fragments/outline/src/card/outline-preview.ts55 const refMeta = block.store.workspace.meta.docMetas.find(
CRITICAL…affine/shared/src/services/doc-display-meta-service.ts171 const disposable = this.std.workspace.slots.docListUpdated.subscribe(
CRITICAL…e/affine/inlines/comment/src/inline-comment-manager.ts59 this.std.selection.slots.changed.subscribe(this._handleSelectionChanged)
CRITICALblocksuite/affine/gfx/note/src/toolbar/note-menu.ts69 const [_, { insertedLinkType }] = this.edgeless.service.std.command.exec(
CRITICALblocksuite/affine/gfx/mindmap/src/view/view.ts150 this.gfx.selection.slots.updated.subscribe(() => {
CRITICAL…dgets/remote-selection/src/doc/doc-remote-selection.ts280 this.std.store.slots.blockUpdated.subscribe(() => {
CRITICALblocksuite/affine/widgets/toolbar/src/toolbar.ts505 context.gfx.selection.slots.updated.subscribe(selections => {
CRITICAL…ffine/widgets/scroll-anchoring/src/scroll-anchoring.ts102 this.std.store.slots.blockUpdated.subscribe(v => {
CRITICAL…ffine/widgets/scroll-anchoring/src/scroll-anchoring.ts157 const subscription = this.std.store.slots.blockUpdated.subscribe(v => {
CRITICAL…s/edgeless-selected-rect/src/edgeless-auto-complete.ts688 this.gfx.selection.slots.updated.subscribe(() => {
CRITICAL…te/affine/widgets/linked-doc/src/linked-doc-popover.ts206 this.context.inlineEditor.slots.renderComplete.subscribe(() => {
CRITICAL…te/affine/widgets/linked-doc/src/linked-doc-popover.ts226 this.context.inlineEditor.slots.renderComplete.subscribe(() => {
CRITICAL…widgets/drag-handle/src/watchers/drag-event-watcher.ts1229 this.std.store.workspace.docs.has(sourceDocId) &&
CRITICAL…ocksuite/affine/widgets/frame-title/src/frame-title.ts226 this.model.props.title.yText.unobserve(updateTitle);
CRITICAL…ocksuite/affine/widgets/frame-title/src/frame-title.ts228 this.model.props.title.yText.observe(updateTitle);
CRITICAL…rontend/core/src/blocksuite/ai/runtime/chat/runtime.ts597 items: this.snapshot.composer.context.items.filter(
CRITICAL…rontend/core/src/blocksuite/ai/runtime/chat/runtime.ts833 return this.snapshot.composer.context.items.map(item => {
CRITICAL…frontend/core/src/blocksuite/ai/services/block-diff.ts425 this.std.store.slots.blockUpdated.subscribe(() => {
CRITICAL…d/core/src/modules/comment/services/snapshot-helper.ts49 await this.workspaceService.workspace.engine.blob.get(key);
CRITICAL…tend/core/src/modules/favorite/services/old/adapter.ts125 transact = this.workspaceService.workspace.docCollection.doc.transact.bind(
CRITICAL…ore/src/modules/blob-management/entity/unused-blobs.ts80 await this.workspaceService.workspace.engine.doc.waitForSynced();
CRITICAL…end/core/src/modules/doc-summary/stores/doc-summary.ts37 const undoSync = this.workspaceService.workspace.engine.doc.addPriority(
CRITICALpackages/frontend/core/src/modules/db/services/db.ts52 this.workspaceService.workspace.engine.doc.connectDoc(ydoc);
CRITICALpackages/frontend/core/src/modules/db/services/db.ts53 this.workspaceService.workspace.engine.doc.addPriority(
CRITICALpackages/frontend/core/src/modules/db/services/db.ts84 this.workspaceService.workspace.engine.doc.connectDoc(ydoc);
CRITICALpackages/frontend/core/src/modules/db/services/db.ts85 this.workspaceService.workspace.engine.doc.addPriority(
CRITICALpackages/frontend/core/src/modules/doc/stores/docs.ts248 this.workspaceService.workspace.docCollection.meta.setDocMeta(id, meta);
CRITICALpackages/frontend/core/src/modules/doc/stores/docs.ts269 return this.workspaceService.workspace.engine.doc.waitForDocLoaded(id);
CRITICALpackages/frontend/core/src/modules/doc/stores/docs.ts273 return this.workspaceService.workspace.engine.doc.addPriority(id, priority);
CRITICALpackages/frontend/core/src/modules/doc/entities/doc.ts39 this.workspaceService.workspace.engine.doc.addPriority(this.id, 100)
CRITICALpackages/frontend/core/src/modules/doc/entities/doc.ts43 this.workspaceService.workspace.engine.indexer.addPriority(this.id, 100)
CRITICALpackages/frontend/core/src/modules/tag/stores/tag.ts48 this.workspaceService.workspace.docCollection.slots.docListUpdated.subscribe(
CRITICALpackages/frontend/core/src/modules/tag/stores/tag.ts78 this.workspaceService.workspace.docCollection.meta.setProperties(
CRITICALpackages/frontend/core/src/modules/tag/stores/tag.ts99 this.workspaceService.workspace.docCollection.doc.transact(() => {
CRITICALpackages/frontend/core/src/modules/tag/stores/tag.ts102 this.workspaceService.workspace.docCollection.docs.forEach(doc => {
CRITICALpackages/frontend/core/src/modules/tag/stores/tag.ts115 this.workspaceService.workspace.docCollection.meta.setDocMeta(pageId, {
CRITICAL…rontend/core/src/modules/media/entities/audio-media.ts163 await this.workspaceService.workspace.engine.blob.get(blobId);
CRITICAL…va/uniffi/affine_mobile_native/affine_mobile_native.kt1418 private val cleaner = com.sun.jna.internal.Cleaner.getCleaner()
CRITICAL…ckend/server/src/plugins/payment/license/controller.ts261 await this.stripeProvider.stripe.billingPortal.sessions.create({
CRITICAL…es/backend/server/src/__tests__/copilot/copilot.e2e.ts1447 chatsResult.currentUser.copilot.chats.edges.some(
Over-Commented Block102 hits · 96 pts
SeverityFileLineSnippet
LOWblocksuite/framework/global/src/di/stable-hash.ts1// copied from https://github.com/shuding/stable-hash
LOWblocksuite/framework/global/src/lit/watch.ts41 this.__dispose?.();
LOWblocksuite/framework/global/src/lit/signal-watcher.ts41 if (this.isUpdatePending === false || this.isConnected === false) {
LOW…e/affine/blocks/paragraph/src/utils/merge-with-prev.ts81 }).catch(console.error);
LOWblocksuite/affine/blocks/frame/src/frame-manager.ts241 surfaceModel.elementAdded.subscribe(({ id, local }) => {
LOW…cksuite/affine/shared/src/utils/figma-squircle/draw.ts21// The original code by MartinRGB
LOW…te/affine/components/src/color-picker/custom-button.ts41 content-box,
LOW…cksuite/affine/data-view/src/core/common/properties.ts281
LOW…/view-presets/table/pc-virtual/controller/selection.ts721 const newSelection = this.focusToArea(selection);
LOW…/view-presets/table/pc-virtual/controller/selection.ts761 // inline: 'nearest',
LOW…/view-presets/table/pc-virtual/controller/selection.ts821 newSelection.rowsSelection.start - 1
LOW…w/src/view-presets/table/pc-virtual/controller/drag.ts1// related component
LOW…w/src/view-presets/table/pc-virtual/controller/drag.ts21 // | undefined
LOW…w/src/view-presets/table/pc-virtual/controller/drag.ts41 // }
LOW…w/src/view-presets/table/pc-virtual/controller/drag.ts61 // }
LOW…w/src/view-presets/table/pc-virtual/controller/drag.ts141 // // const event = context.get('pointerState').raw;
LOW…w/src/view-presets/table/pc-virtual/controller/drag.ts161
LOWtests/affine-cloud-copilot/e2e/basic/chat.spec.ts21 // loggedInPage: page,
LOWtests/blocksuite/e2e/paragraph.spec.ts441 // 456
LOWtests/blocksuite/e2e/paragraph.spec.ts521 // 456
LOWtests/affine-local/e2e/links.spec.ts821 await expect(cardDescription).toBeHidden();
LOWtests/affine-local/e2e/links.spec.ts841
LOWtests/affine-local/e2e/links.spec.ts861 // await createTodayPage(page);
LOWtests/affine-mobile/e2e/back-button-visibility.spec.ts21 await expect(locateBack(page)).toBeVisible();
LOW.cargo/config.toml21rustflags = ["-C", "link-args=-Wl,-z,nodelete"]
LOW…op/dialogs/setting/general-setting/plans/plan-card.tsx121 const currentRecurring = primarySubscription?.recurring;
LOW…oks/affine/use-register-blocksuite-editor-commands.tsx121 // icon: <EdgelessIcon />,
LOW…ntend/core/src/modules/journal/suggest-journal-date.ts21export function suggestJournalDate(query: string): {
LOWpackages/frontend/apps/ios/App/IOSApp-Bridging-Header.h1#ifndef IOSApp_Bridging_Header_h
LOW…end/apps/ios/App/App/uniffi/affine_mobile_native.swift61// Define reader functionality. Normally this would be defined in a class or
LOW…end/apps/ios/App/App/uniffi/affine_mobile_native.swift601 public struct NoPointer {
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h1// This file was autogenerated by some hot garbage in the `uniffi` crate.
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h41 RustBuffer errorBuf;
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h241#ifndef UNIFFI_FFIDEF_FOREIGN_FUTURE_STRUCT_VOID
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h261void uniffi_affine_mobile_native_fn_free_docstoragepool(void*_Nonnull ptr, RustCallStatus *_Nonnull out_status
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h281uint64_t uniffi_affine_mobile_native_fn_method_docstoragepool_delete_blob(void*_Nonnull ptr, RustBuffer universal_id, Ru
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h301uint64_t uniffi_affine_mobile_native_fn_method_docstoragepool_fts_delete_document(void*_Nonnull ptr, RustBuffer universa
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h321uint64_t uniffi_affine_mobile_native_fn_method_docstoragepool_fts_index_version(void*_Nonnull ptr
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h341uint64_t uniffi_affine_mobile_native_fn_method_docstoragepool_get_doc_clock(void*_Nonnull ptr, RustBuffer universal_id,
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h361uint64_t uniffi_affine_mobile_native_fn_method_docstoragepool_get_peer_pulled_remote_clock(void*_Nonnull ptr, RustBuffer
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h381uint64_t uniffi_affine_mobile_native_fn_method_docstoragepool_get_peer_remote_clock(void*_Nonnull ptr, RustBuffer univer
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h401uint64_t uniffi_affine_mobile_native_fn_method_docstoragepool_push_update(void*_Nonnull ptr, RustBuffer universal_id, Ru
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h421uint64_t uniffi_affine_mobile_native_fn_method_docstoragepool_set_doc_snapshot(void*_Nonnull ptr, RustBuffer universal_i
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h441uint64_t uniffi_affine_mobile_native_fn_method_docstoragepool_set_space_id(void*_Nonnull ptr, RustBuffer universal_id, R
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h461#define UNIFFI_FFIDEF_UNIFFI_AFFINE_MOBILE_NATIVE_FN_FUNC_RENDER_TYPST_PREVIEW_SVG
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h481#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUSTBUFFER_RESERVE
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h501#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_U8
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h521#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_I8
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h541#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_U16
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h561#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_I16
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h581#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_U32
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h601#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_I32
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h621#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_U64
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h641#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_I64
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h661#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_F32
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h681#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_F64
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h701#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_POINTER
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h721#define UNIFFI_FFIDEF_FFI_AFFINE_MOBILE_NATIVE_RUST_FUTURE_COMPLETE_RUST_BUFFER
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h781#ifndef UNIFFI_FFIDEF_UNIFFI_AFFINE_MOBILE_NATIVE_CHECKSUM_METHOD_DOCSTORAGEPOOL_CRAWL_DOC_DATA
LOW…tend/apps/ios/App/App/uniffi/affine_mobile_nativeFFI.h841#ifndef UNIFFI_FFIDEF_UNIFFI_AFFINE_MOBILE_NATIVE_CHECKSUM_METHOD_DOCSTORAGEPOOL_FTS_SEARCH
42 more matches not shown…
Verbosity Indicators32 hits · 61 pts
SeverityFileLineSnippet
LOWblocksuite/framework/std/src/gfx/viewport-element.ts89 // Step 1: Activate all the blocks that should be visible
LOWblocksuite/framework/std/src/gfx/viewport-element.ts96 // Step 2: Hide all the blocks that should not be visible
LOWblocksuite/framework/sync/src/doc/engine.ts127 // Step 1: start main sync peer
LOWblocksuite/framework/sync/src/doc/engine.ts145 // Step 2: wait for main sync complete
LOWblocksuite/framework/sync/src/doc/engine.ts148 // Step 3: start shadow sync peer
LOWblocksuite/framework/sync/src/doc/engine.ts170 // Step 4: continuously sync main and shadow
LOWblocksuite/framework/sync/src/doc/peer.ts243 // Step 1: load root doc
LOWblocksuite/framework/sync/src/doc/peer.ts246 // Step 2: load subdocs
LOWblocksuite/framework/store/src/extension/extension.ts20 * ## Step 1: Define the interfaces
LOWblocksuite/framework/store/src/extension/extension.ts33 * ## Step 2: Create a service identifier
LOWblocksuite/framework/store/src/extension/extension.ts41 * ## Step 3: Create implementations
LOWblocksuite/framework/store/src/extension/extension.ts59 * ## Step 4: Create an extension factory
LOWblocksuite/framework/store/src/extension/extension.ts74 * ## Step 5: Create concrete extensions
LOWblocksuite/framework/store/src/extension/extension.ts81 * ## Step 6: Use the extensions
LOWblocksuite/affine/components/src/peek/peekable.ts61 * In edgeless mode, we need to check if the click target is not covered by
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts19 // Step 1: Open home page
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts23 // Step 2: Create a new page
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts28 // Step 3: Create a database in the page
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts31 // Step 4: Add a text column
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts34 // Step 5: Create a new page to get its link
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts38 // Step 6: Go back to database page
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts42 // Step 7: Select and edit the rich text cell
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts45 // Step 8: Paste the document link
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts57 // Step 9: Verify the result
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts64 // Step 1: Open home page
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts68 // Step 2: Create a new page
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts72 // Step 3: Create a database in the page
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts75 // Step 4: Add a text column
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts78 // Step 5: Create a new page as reference target
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts83 // Step 6: Select and edit the rich text cell
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts88 // Step 7: Wait for reference picker and select the page
LOW…affine-local/e2e/blocksuite/database/rich-text.spec.ts94 // Step 8: Verify the result
Synthetic Comment Markers6 hits · 45 pts
SeverityFileLineSnippet
HIGH.github/ISSUE_TEMPLATE/BUG-REPORT.yml79 label: Is your content generated by AI?
HIGH.github/ISSUE_TEMPLATE/BUG-REPORT.yml81 (Required) Please confirm that the content you submit was not generated by AI or only minimally edited by AI.
HIGH.github/ISSUE_TEMPLATE/BUG-REPORT.yml84 - label: I confirm that the content I submitted was **not** generated by AI / **merely contained minimal** AI ed
HIGH.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml39 label: Is your content generated by AI?
HIGH.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml41 (Required) Please confirm that the content you submit was not generated by AI or only minimally edited by AI.
HIGH.github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml44 - label: I confirm that the content I submitted was **not** generated by AI / **merely contained minimal** AI ed
Fake / Example Data18 hits · 20 pts
SeverityFileLineSnippet
LOW…/integration-test/src/__tests__/utils/doc-generator.ts14 'Hello World! Lorem ipsum dolor sit amet. Consectetur adipiscing elit. Sed do eiusmod tempor incididunt.'
LOW…/integration-test/src/__tests__/utils/doc-generator.ts14 'Hello World! Lorem ipsum dolor sit amet. Consectetur adipiscing elit. Sed do eiusmod tempor incididunt.'
LOWtests/blocksuite/e2e/clipboard/image.spec.ts27 'text/html': `<p>Lorem Ipsum placeholder text.</p>
LOWtests/blocksuite/e2e/clipboard/image.spec.ts44 const str = 'Lorem Ipsum placeholder text.';
LOWtests/blocksuite/e2e/clipboard/image.spec.ts56 await assertText(page, 'Lorem Ipsum placeholder text.', 1);
LOWtests/affine-local/e2e/attachment-preview.spec.ts265 await input.fill('What is Lorem Ipsum');
LOWtests/affine-local/e2e/attachment-preview.spec.ts267 await expect(attachmentTitle).toHaveText('What is Lorem Ipsum.pdf');
LOWtests/affine-local/e2e/attachment-preview.spec.ts282 await expect(portalName).toHaveText('What is Lorem Ipsum.pdf');
LOW…ges/frontend/core/src/components/hooks/use-mutation.ts32 * trigger({ name: 'John Doe' })
LOWpackages/frontend/admin/src/use-mutation.ts32 * trigger({ name: 'John Doe' })
LOWpackages/backend/server/src/mails/common.ts5 email: 'test@test.com',
LOW…ckages/common/infra/src/orm/core/__tests__/yjs.spec.ts575 address: '123 Main St',
LOW…ckages/common/infra/src/orm/core/__tests__/yjs.spec.ts580 expect(doc.address).toBe('123 Main St');
LOW…ckages/common/infra/src/orm/core/__tests__/yjs.spec.ts589 address: '123 Main St',
LOW…ckages/common/infra/src/orm/core/__tests__/yjs.spec.ts603 address: '123 Main St',
LOW…ckages/common/infra/src/orm/core/__tests__/yjs.spec.ts616 address: '123 Main St',
LOW…ckages/common/infra/src/orm/core/__tests__/yjs.spec.ts627 address: '123 Main St',
LOWpackages/common/native/src/doc_loader/loader/pdf.rs75 "\n\nSample PDF\nThis is a simple PDF file. Fun fun fun.\n\nLorem ipsum dolor sit amet, consectetuer a"
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippet
LOWscripts/set-version.sh18 # Check if file exists
LOWscripts/set-version.sh42 # Check if file exists
LOWscripts/set-version.sh76 # Check if file exists
LOWpackages/frontend/apps/ios/update_code_sign_identity.sh18# Check if file exists
Slop Phrases4 hits · 6 pts
SeverityFileLineSnippet
LOW…s/frontend/core/src/modules/workspace/services/repo.ts38 * @returns the workspace reference and a release function, don't forget to call release function when you don't
LOWpackages/frontend/i18n/src/i18n.gen.ts6481 * `Meetings allows you to record and transcribe meetings. Don't forget to enable it in AFFiNE settings.`
LOWpackages/frontend/i18n/src/resources/en.json1619 "com.affine.settings.workspace.experimental-features.enable-meetings.description": "Meetings allows you to record and
LOWpackages/backend/server/src/core/permission/types.ts8 * NOTE(@forehalo): if you add any new actions, please don't forget to add the corresponding role in [RoleActionsMap]
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippet
MEDIUM…ages/frontend/core/src/components/properties/table.tsx82// ─────────────────────────────────────────────────
AI Slop Vocabulary1 hit · 1 pts
SeverityFileLineSnippet
LOW…es/backend/native/src/llm/assets/prompts/built-in.json242 "template": "### Identify needs\nYou are an assistant helping find actions of meeting summary. Use this format,