Pikiwidb is a Redis-Compatible database developed by Qihoo's infrastructure team.
This report summarizes scanner evidence for OpenAtomFoundation/pikiwidb, a C++ project with 6,136 GitHub stars. SynthScan examined 162,168 lines of code across 1303 source files, recording 512 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 3.2 (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? 480 finding(s).
Are imports declared and package/API names verified? 22 finding(s).
Are wrappers, guards, and repeated structures necessary? 19 finding(s).
Which changes need focused human review? 512 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 512 distinct pattern matches across 10 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 | entrypoint.sh | 1 | #!/bin/bash | COMMENT |
| LOW | format_code.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/rdb_to_pika/install_rdb_tools.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/rdb_to_pika/README.md | 1 | # This file is show you how to use this tool | COMMENT |
| LOW | tools/pika_migrate/format_code.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tools/pika_migrate/include/rsync_server.h | 1 | // Copyright (c) 2023-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_transaction.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_binlog.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/acl.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_server_conn.h | 1 | // Copyright (c) 2019-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_hash.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_client_processor.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_db.h | 1 | // Copyright (c) 2018-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_client_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_admin.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_client_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_server.h | 1 | // Copyright (c) 2019-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_server.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_server.h | 21 | #include "src/cache/include/config.h" | COMMENT |
| LOW | tools/pika_migrate/include/pika_server.h | 41 | #include "include/pika_dispatch_thread.h" | COMMENT |
| LOW | tools/pika_migrate/include/pika_command.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_binlog_reader.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_client_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_version.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_conf.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_consensus.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_client.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_migrate_thread.h | 1 | #ifndef PIKA_MIGRATE_THREAD_H_ | COMMENT |
| LOW | tools/pika_migrate/include/build_version.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_define.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_rm.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_repl_bgworker.h | 1 | // Copyright (c) 2019-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_cache_load_thread.h | 1 | // Copyright (c) 2023-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_monitor_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/pika_cmd_table_manager.h | 1 | // Copyright (c) 2018-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/redis_sender.h | 1 | #ifndef REDIS_SENDER_H_ | COMMENT |
| LOW | tools/pika_migrate/include/pika_cache.h | 1 | // Copyright (c) 2023-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/include/rsync_client.h | 1 | // Copyright (c) 2023-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/client_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/simple_http_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/redis_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/bg_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/net_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/http_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/net_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/backend_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/pb_conn.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/pb_conn.h | 61 | // a protobuf message that we know, | COMMENT |
| LOW | tools/pika_migrate/src/net/include/thread_pool.h | 1 | // Copyright (c) 2018-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/net_define.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/server_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/build_version.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/net_interfaces.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/net_pubsub.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/include/redis_cli.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/src/holy_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/src/worker_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/src/net_util.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/src/net_thread_name.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| LOW | tools/pika_migrate/src/net/src/dispatch_thread.h | 1 | // Copyright (c) 2015-present, Qihoo, Inc. All rights reserved. | COMMENT |
| 389 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | codis/config/proxy.toml | 102 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.4.10.201_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.201_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …s/deploy/root/opt/codis/etc/127.0.0.1_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.200_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.4.10.200_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.202_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.4.10.201_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.201_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …s/deploy/root/opt/codis/etc/127.0.0.1_19001/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …s/deploy/root/opt/codis/etc/127.0.0.1_19000/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.202_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.2.16.200_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | …deploy/root/opt/codis/etc/10.4.10.200_19002/proxy.toml | 82 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | codis/ansible/roles/codis-proxy/templates/proxy.toml | 90 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| LOW | codis/pkg/proxy/config.go | 118 | # Set session to be sensitive to failures. Default is false, instead of closing socket, proxy will send an error respons | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run_clang_tidy.py | 29 | CODE | |
| LOW | run_clang_tidy.py | 30 | CODE | |
| LOW | tools/codis2pika/test/cases/auth.py | 3 | CODE | |
| LOW | tools/codis2pika/test/cases/example.py | 1 | CODE | |
| LOW | tools/codis2pika/test/cases/auth_acl.py | 3 | CODE | |
| LOW | tools/codis2pika/test/cases/cluster/sync.py | 1 | CODE | |
| LOW | tools/codis2pika/test/cases/types/types_rewrite.py | 4 | CODE | |
| LOW | tools/codis2pika/test/cases/types/types.py | 4 | CODE | |
| LOW | tools/codis2pika/test/utils/__init__.py | 1 | CODE | |
| LOW | tools/codis2pika/test/utils/__init__.py | 2 | CODE | |
| LOW | tools/codis2pika/test/utils/__init__.py | 3 | CODE | |
| LOW | tools/codis2pika/test/utils/__init__.py | 3 | CODE | |
| LOW | codis/example/server.py | 3 | CODE | |
| LOW | codis/example/proxy.py | 3 | CODE | |
| LOW | codis/example/dashboard.py | 3 | CODE | |
| LOW | codis/example/setup.py | 3 | CODE | |
| LOW | codis/example/setup.py | 4 | CODE | |
| LOW | codis/example/setup.py | 5 | CODE | |
| LOW | codis/example/setup.py | 6 | CODE | |
| LOW | codis/example/setup.py | 7 | CODE | |
| LOW | codis/example/sentinel.py | 3 | CODE | |
| LOW | codis/example/fe.py | 3 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | codis/example/utils.py | 23 | except Exception: | CODE |
| HIGH | codis/deploy/products/beta/render.py | 35 | except OSError: | CODE |
| HIGH | codis/deploy/products/alpha/render.py | 35 | except OSError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | run_clang_tidy.py | 61 | print('Error: could not find compilation database.') | CODE |
| MEDIUM | run_clang_tidy.py | 380 | print('Error exporting fixes.\n', file=sys.stderr) | CODE |
| MEDIUM | run_clang_tidy.py | 389 | print('Error applying fixes.\n', file=sys.stderr) | CODE |
| LOW | tools/codis2pika/test/cases/auth_acl.py | 10 | except Exception: | CODE |
| LOW | codis/example/utils.py | 16 | except Exception: | CODE |
| LOW | codis/example/utils.py | 23 | except Exception: | CODE |
| MEDIUM | codis/example/utils.py | 20 | def is_running(self): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run_clang_tidy.py | 56 | def find_compilation_database(path): | CODE |
| LOW | run_clang_tidy.py | 129 | def check_clang_apply_replacements_binary(args): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 11 | def test_single_existing_list(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 38 | def test_blpop_brpop_unblock_lrpush_rpoplpush(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 219 | def test_concurrency_block_unblock(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 358 | def test_multiple_existing_lists(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 402 | def test_blpop_brpop_same_key_multiple_times(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 495 | def test_blpop_brpop_variadic_lpush(db_): | CODE |
| LOW | tests/unit/Blpop_Brpop_test.py | 594 | def test_master_slave_replication(db_): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | entrypoint.sh | 20 | # value of variables, we use '=' by default, you can also use ':'. | COMMENT |
| MEDIUM | entrypoint.sh | 23 | # In addition, you can add services that you want wait for to the WAIT_FOR_SERVICE | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docker/build_pika_exporter_docker.sh | 6 | # --proxy proxy, proxy has no value, if you want to use proxy, just add --proxy. if you are in China, you may need to u | COMMENT |
| LOW | docker/build_pika_docker.sh | 6 | # --proxy proxy, proxy has no value, if you want to use proxy, just add --proxy. if you are in China, you may need to u | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/ops/client.md | 31 | <body id="tinymce" class="mceContentBody aui-theme-default wiki-content fullsize no-tools-capable" onload="window.parent | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | run_clang_tidy.py | 199 | CODE |