dperf: High-Performance Network Load Testing Tool Based on DPDK
This report summarizes scanner evidence for baidu/dperf, a C project with 5,655 GitHub stars. SynthScan examined 14,770 lines of code across 79 source files, recording 27 pattern matches distributed across 1 syntactic category. The legacy adjusted pattern signal is 1.8 (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? 27 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 27 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 27 distinct pattern matches across 1 syntactic category. 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 | src/kni.c | 21 | #include "kni.h" | COMMENT |
| LOW | src/tcp.h | 21 | #ifndef __TCP_H | COMMENT |
| LOW | src/version.h | 21 | #ifndef __VERSION_H | COMMENT |
| LOW | src/port.h | 21 | #ifndef __PORT_H | COMMENT |
| LOW | src/config.h | 21 | #ifndef __CONFIG_H | COMMENT |
| LOW | src/config.h | 41 | #define DEFAULT_DURATION 60 | COMMENT |
| LOW | src/config.h | 61 | #define MBUF_DATA_SIZE (1024 * 10) | COMMENT |
| LOW | src/config.h | 81 | #define HTTP_PATH_DEFAULT "/" | COMMENT |
| LOW | src/net_stats.c | 21 | #include "net_stats.h" | COMMENT |
| LOW | src/work_space.c | 21 | #include "work_space.h" | COMMENT |
| LOW | src/lldp.c | 81 | #define PORT_DESCRIPTION_TLV 4 | COMMENT |
| LOW | src/bond.c | 21 | #include "bond.h" | COMMENT |
| LOW | src/dpdk.c | 21 | #include "dpdk.h" | COMMENT |
| LOW | src/udp.c | 21 | #include "udp.h" | COMMENT |
| LOW | src/socket.c | 21 | #include "socket.h" | COMMENT |
| LOW | src/mbuf.h | 21 | #ifndef __MBUF_H | COMMENT |
| LOW | src/tcp.c | 21 | #include "tcp.h" | COMMENT |
| LOW | src/config.c | 21 | #include "config.h" | COMMENT |
| LOW | src/virtio-user.c | 21 | #include "kni.h" | COMMENT |
| LOW | src/http_parse.c | 21 | #include "mbuf.h" | COMMENT |
| LOW | src/work_space.h | 21 | #ifndef __WORK_SPACE_H | COMMENT |
| LOW | src/net_stats.h | 121 | #define net_stats_syn_rt() do {g_net_stats.syn_rt++;} while (0) | COMMENT |
| LOW | src/net_stats.h | 141 | #define net_stats_tcp_drop() do {g_net_stats.tcp_drop++;} while (0) | COMMENT |
| LOW | src/socket.h | 401 | #define SOCKET_LOG_ENABLE(sk) do {(sk)->log = 1;} while (0) | COMMENT |
| LOW | src/dpdk.h | 21 | #ifndef __DPDK_H | COMMENT |
| LOW | src/dpdk.h | 41 | #define RTE_ETH_RSS_NONFRAG_IPV4_UDP ETH_RSS_NONFRAG_IPV4_UDP | COMMENT |
| LOW | src/dpdk.h | 61 | COMMENT |