Repository Analysis

logseq/logseq

A privacy-first, open-source platform for knowledge management and collaboration. Download link: http://github.com/logseq/logseq/releases. roadmap: https://logseq.io/p/NX4mc_ggEV

0.7 Likely human-written View on GitHub
0.7
Adjusted Score
0.7
Raw Score
100%
Time Factor
2026-05-30
Last Push
43,125
Stars
Clojure
Language
118,249
Lines of Code
552
Files
62
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 1HIGH 0MEDIUM 4LOW 57

Pattern Findings

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

Hyper-Verbose Identifiers19 hits · 19 pts
SeverityFileLineSnippet
LOW…/logseq/cli/e2e/random_bidirectional_block_ops_test.py16def test_default_profile_is_faster_than_high_stress(monkeypatch) -> None:
LOW…/logseq/cli/e2e/random_bidirectional_block_ops_test.py72def test_explicit_rounds_override_profile_default(monkeypatch) -> None:
LOW…-e2e/test/logseq/cli/e2e/compare_graph_queries_test.py16def test_parse_args_supports_repeated_queries(monkeypatch) -> None:
LOW…-e2e/test/logseq/cli/e2e/compare_graph_queries_test.py48def test_main_batches_multiple_queries_in_one_process(tmp_path: Path) -> None:
LOWcli-e2e/test/logseq/cli/e2e/wait_sync_status_test.py15def test_resolved_status_command_is_built_once_and_reused() -> None:
LOWcli-e2e/test/logseq/cli/e2e/wait_sync_status_test.py34def test_run_status_uses_precomputed_command() -> None:
LOWcli-e2e/scripts/db_sync_server.py112def auth_cognito_from_auth_file(auth_path: Path) -> Dict[str, str]:
LOWcli-e2e/scripts/agent_bridge_e2e.py351def write_comment_blocks_file(path, task_uuid, hostname):
LOWcli-e2e/scripts/agent_bridge_e2e.py365def run_comment_mention_check(cli, repo_root, root_dir, config, graph, tmp_dir):
LOWcli-e2e/scripts/agent_bridge_e2e.py454def run_parallel_assignment_check(cli, repo_root, root_dir, config, graph, tmp_dir):
LOWcli-e2e/scripts/agent_bridge_e2e.py526def run_duplicate_bridge_check(cli, repo_root, root_dir, config, graph, tmp_dir):
LOWcli-e2e/scripts/sync_asset_download.py122def sync_asset_download_by_id(cli: Path, root_dir: Path, config: Path, graph: str, asset_id: Any) -> Dict[str, Any]:
LOWcli-e2e/scripts/sync_asset_download.py129def sync_asset_download_by_uuid(cli: Path, root_dir: Path, config: Path, graph: str, asset_uuid: str) -> Dict[str, Any]:
LOWresources/forge.config.test.js18function isCoveredByExtraResources(targetPath, extraResources) {
LOWlibs/guides/db_properties_references.md392async function setupSchemaWithInheritance() {
LOWlibs/src/LSPlugin.user.ts144function normalizeCommandKeybinding(
LOWlibs/src/LSPlugin.user.ts339function normalizeCommandExecutionKey(key: string) {
LOWdeps/db-sync/worker/scripts/download_graph_db.js33function sanitizeGraphIdForFilename(graphId) {
LOWdeps/db-sync/worker/scripts/delete_user_totally.js119function isDeleteConfirmationAccepted(answer, userId) {
Over-Commented Block14 hits · 14 pts
SeverityFileLineSnippet
LOWresources/404.html1<!DOCTYPE html>
LOWios/App/App/FolderPicker.m1//
LOWios/App/App/App-Bridging-Header.h1//
LOWios/App/App/FileContainer.m1//
LOWlibs/tsconfig.json21 /* Generates corresponding '.map' file. */
LOWlibs/tsconfig.json41 /* Enable strict null checks. */
LOWlibs/tsconfig.json61 // "typeRoots": [], /* List of folders to include type definitions from. */
LOWlibs/guides/db_properties_references.md481 // {
LOWpackages/ui/tsconfig.json41 // "rootDir": "./", /* Specify the root folder within your source files. */
LOWpackages/ui/tsconfig.json61 // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
LOWpackages/ui/tsconfig.json101 // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
LOW…t/resources/exporter-test-graph/journals/2025_06_12.md61 #+END_QUOTE
LOWsrc/main/frontend/extensions/pdf/finder.js61function normalize (text) {
LOWsrc/main/frontend/extensions/pdf/finder.js81 // [6, 0], [8, 3]].
Unused Imports12 hits · 12 pts
SeverityFileLineSnippet
LOW…/logseq/cli/e2e/random_bidirectional_block_ops_test.py1
LOW…-e2e/test/logseq/cli/e2e/compare_graph_queries_test.py1
LOWcli-e2e/test/logseq/cli/e2e/wait_sync_status_test.py1
LOWcli-e2e/scripts/prepare_sync_config.py4
LOWcli-e2e/scripts/db_sync_server.py4
LOWcli-e2e/scripts/wait_sync_status.py4
LOWcli-e2e/scripts/compare_graph_queries.py4
LOWcli-e2e/scripts/random_bidirectional_block_ops.py4
LOWcli-e2e/scripts/sync_asset_download.py4
LOWcli-e2e/scripts/sync_asset_download.py13
LOW…ills/logseq-review-workflow-eval/scripts/setup_eval.py4
LOW…logseq-review-workflow-eval/scripts/compare_outputs.py4
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippet
CRITICALresources/js/lsplugin.core.js2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.am
Decorative Section Separators3 hits · 9 pts
SeverityFileLineSnippet
MEDIUM.i18n-lint.toml8# ── Shared settings ────────────────────────────────────────────────────────────
MEDIUM.i18n-lint.toml83# ── [lint] settings ────────────────────────────────────────────────────────────
MEDIUM.i18n-lint.toml306# ── [check-keys] settings ──────────────────────────────────────────────────────
Verbosity Indicators4 hits · 9 pts
SeverityFileLineSnippet
LOWlibs/src/postmate/index.ts327 // Step 1: Remove listener from window to avoid duplicate message handling
LOWlibs/src/postmate/index.ts330 // Step 2: Update messagePort reference (this affects this.listener validation logic)
LOWlibs/src/postmate/index.ts333 // Step 3: Add the same listener to MessagePort (now all communication goes through port)
LOWlibs/src/postmate/index.ts341 // Step 4: Clean up the channel-ready event listener
Excessive Try-Catch Wrapping3 hits · 4 pts
SeverityFileLineSnippet
MEDIUM.agents/skills/logseq-repl/scripts/start-repl.py144 print("Error: standard Logseq REPL ports are still occupied after cleanup.", file=sys.stderr)
LOWsidecar/embedding_server.py88 except Exception as error:
LOWsidecar/embedding_server.py140 except Exception:
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippet
LOWlibs/guides/db_properties_references.md272await logseq.Editor.upsertBlockProperty(page.uuid, 'author', 'John Doe')
LOWlibs/guides/db_tag_property_idents_guide.md39 'John Doe'
LOWlibs/guides/db_tag_property_idents_guide.md329 'John Doe'
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippet
LOWcli-e2e/scripts/db_sync_server.py128
LOWcli-e2e/scripts/random_bidirectional_block_ops.py262
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOWscripts/install-linux.sh191# Check if running as root for system-wide installation