high-performance graph database for real-time use cases
This report summarizes scanner evidence for dgraph-io/dgraph, a Go project with 21,815 GitHub stars. SynthScan examined 332,319 lines of code across 870 source files, recording 449 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.6 (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? 396 finding(s).
Are imports declared and package/API names verified? 47 finding(s).
Are wrappers, guards, and repeated structures necessary? 6 finding(s).
Which changes need focused human review? 449 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 449 distinct pattern matches across 9 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 | dgraph/cmd/root.go | 181 | COMMENT | |
| LOW | dgraph/cmd/root.go | 261 | // convertJSON converts JSON hierarchical config objects into a flattened map fulfilling the | COMMENT |
| LOW | dgraph/cmd/root.go | 281 | // Is converted into: | COMMENT |
| LOW | dgraph/cmd/root.go | 321 | buf := &bytes.Buffer{} | COMMENT |
| LOW | dgraph/cmd/root.go | 341 | // security: | COMMENT |
| LOW | dgraph/cmd/bulk/mapper.go | 361 | COMMENT | |
| LOW | dgraph/cmd/dgraphimport/import_security_test.go | 41 | require.NoError(t, validateClientConnection(t, gc, 60*time.Second)) | COMMENT |
| LOW | dgraph/cmd/migrate/dump.go | 161 | row.blankNodeLabel = tableGuide.blankNode.generate(tableInfo, colValues) | COMMENT |
| LOW | dgraph/cmd/migrate/dump.go | 181 | // _:salary_1 <salary_person_company> "Google" . | COMMENT |
| LOW | dgraph/cmd/migrate/table_guide.go | 101 | // and it is referenced by the "salary" table | COMMENT |
| LOW | dgraph/cmd/cert/run.go | 81 | COMMENT | |
| LOW | dgraph/cmd/alpha/hooks.go | 21 | COMMENT | |
| LOW | dgraph/cmd/alpha/run.go | 521 | // It's is used to detect the schema changes and server exit. | COMMENT |
| LOW | dgraph/cmd/alpha/run.go | 541 | globalEpoch, closer) | COMMENT |
| LOW | dgraph/cmd/alpha/security_posture_test.go | 201 | ".", | COMMENT |
| LOW | dgraph/cmd/alpha/security_posture.go | 21 | // outcome they almost certainly did not intend. | COMMENT |
| LOW | tok/options/options.go | 21 | // then modify it to specify whichever packaged options desired. | COMMENT |
| LOW | tok/hnsw/kernels_simd.go | 21 | // is handled with the zero-filling Part loads. | COMMENT |
| LOW | tok/hnsw/kernels.go | 1 | /* | COMMENT |
| LOW | tok/hnsw/kernels.go | 21 | // - Callers guarantee len(a) == len(b), and applyDistanceFunction enforces it by | COMMENT |
| LOW | tok/hnsw/kernels.go | 41 | // into independent partial sums lets the CPU keep several adds in flight, which is | COMMENT |
| LOW | tok/index/index.go | 21 | // to reference the persistent storage. | COMMENT |
| LOW | tok/index/index.go | 41 | // source. | COMMENT |
| LOW | tok/index/index.go | 61 | COMMENT | |
| LOW | tok/index/index.go | 121 | // VectorIndexOptions carries optional, per-call search tuning parameters. | COMMENT |
| LOW | tok/index/helper_test.go | 321 | fmt.Println("Invalid byte slice length") | COMMENT |
| LOW | dql/parser.go | 201 | COMMENT | |
| LOW | dql/parser.go | 621 | // The needVars parameter is passed in the case of upsert block. | COMMENT |
| LOW | upgrade/doc.go | 1 | /* | COMMENT |
| LOW | upgrade/doc.go | 21 | // | COMMENT |
| LOW | upgrade/utils.go | 241 | COMMENT | |
| LOW | types/conversion.go | 21 | "github.com/twpayne/go-geom/encoding/geojson" | COMMENT |
| LOW | types/scalar_types.go | 41 | // FloatID represents the floating-point number type. | COMMENT |
| LOW | types/s2.go | 61 | if pts[i].ApproxEqual(p) { | COMMENT |
| LOW | protos/patch_pb.sh | 1 | #!/bin/bash | COMMENT |
| LOW | protos/pb/pb.pb.go | 1 | // | COMMENT |
| LOW | protos/pb/pb_grpc.pb.go | 1 | // | COMMENT |
| LOW | xidmap/xidmap_test.go | 141 | // Benchmarks using Trie | COMMENT |
| LOW | codec/benchmark/benchmark.go | 1 | // The MIT License (MIT) | COMMENT |
| LOW | codec/benchmark/benchmark.go | 41 | // So, with SIMD instructions before, we were getting great performance, but at the cost of | COMMENT |
| LOW | algo/cm-sketch.go | 21 | // Muthukrishnan in An Improved Data Stream Summary: The Count-Min Sketch and | COMMENT |
| LOW | buildvars/buildvars.go | 1 | /* | COMMENT |
| LOW | buildvars/buildvars.go | 21 | // | COMMENT |
| LOW | buildvars/buildvars.go | 61 | // [BinaryName] and resolve values via [Var.Get]. | COMMENT |
| LOW | buildvars/buildvars.go | 81 | // Used for derived Vars whose fall-through depends on other Vars, | COMMENT |
| LOW | buildvars/buildvars.go | 141 | // the Var's currently resolved value, as returned by [Var.Get]. Useful | COMMENT |
| LOW | buildvars/buildvars.go | 161 | return err | COMMENT |
| LOW | buildvars/buildvars.go | 201 | // RuntimeTag is the tag for RuntimeImage. | COMMENT |
| LOW | buildvars/buildvars.go | 221 | return base + " " + extra | COMMENT |
| LOW | buildvars/buildvars.go | 241 | // | COMMENT |
| LOW | buildvars/buildvars.go | 301 | COMMENT | |
| LOW | buildvars/fips.go | 1 | /* | COMMENT |
| LOW | buildvars/fips.go | 21 | // | COMMENT |
| LOW | buildvars/cmd/buildvars/main.go | 1 | /* | COMMENT |
| LOW | buildvars/cmd/buildvars/main.go | 21 | // | COMMENT |
| LOW | t/hooks.go | 21 | // unchanged, matching upstream behavior where the pristine compose file | COMMENT |
| LOW | systest/integration2/zero_addr_test.go | 21 | // scenarios identified in the design: | COMMENT |
| LOW | systest/integration2/backup_summary_compat_test.go | 81 | COMMENT | |
| LOW | systest/integration2/graphql_schema_auth_test.go | 1121 | link: String @search(by: [fulltext]) @dgraph(pred: "link") | COMMENT |
| LOW | systest/integration2/cluster_admin_test.go | 21 | COMMENT | |
| 255 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | TESTING.md | 274 | #### Step 1: Verify unit tests work | COMMENT |
| LOW | TESTING.md | 298 | #### Step 2: Verify integration test setup | COMMENT |
| LOW | TESTING.md | 673 | #### Step 1: Start cluster with Docker Compose | COMMENT |
| LOW | TESTING.md | 683 | #### Step 2: Set environment variable and run tests | COMMENT |
| LOW | TESTING.md | 699 | #### Step 3: Cleanup | COMMENT |
| LOW⚡ | dgraph/cmd/bulk/vector_indexer.go | 461 | // Step 1: Call Update() to move mutations from plists to deltas | COMMENT |
| LOW⚡ | dgraph/cmd/bulk/vector_indexer.go | 462 | // Step 2: Call CommitToDisk() to write deltas to BadgerDB | COMMENT |
| LOW⚡ | tok/tok.go | 454 | // Step 1: Lowercase, normalize, basic tokenization | COMMENT |
| LOW⚡ | tok/tok.go | 457 | // Step 2: Remove stopwords | COMMENT |
| LOW⚡ | tok/tok.go | 460 | // Step 3: Apply stemming | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 130 | // Step 2: Export the data from source cluster | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 133 | // Step 3: Set up a cluster for bulk loading and run bulk load on exported data | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 187 | // Step 5: Verify vector count | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 197 | // Step 6: Verify vector similarity queries work (tests that vector index was built correctly) | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 264 | // Step 2: Export the data from source cluster | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 267 | // Step 3: Set up a cluster for bulk loading with multiple shards | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 431 | // Step 2: Export data | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 434 | // Step 3: Bulk load | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 564 | // Step 2: Export | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 567 | // Step 3: Bulk load | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 695 | // Step 2: Export | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 698 | // Step 3: Bulk load | COMMENT |
| LOW | systest/vector/load_test.go | 90 | // Step 1: Create a source cluster and load vectors into it | COMMENT |
| LOW | systest/vector/load_test.go | 165 | // Step 4: Create a new cluster that uses the bulk loaded p directory | COMMENT |
| LOW | systest/vector/load_test.go | 220 | // Step 1: Create a source cluster and load vectors into it | COMMENT |
| LOW | systest/vector/load_test.go | 301 | // Step 4: Create a new cluster that uses the bulk loaded p directories | COMMENT |
| LOW | systest/vector/load_test.go | 323 | // Step 5: Verify vector counts for each predicate | COMMENT |
| LOW | systest/vector/load_test.go | 336 | // Step 6: Verify vector similarity queries work for each predicate | COMMENT |
| LOW | systest/vector/load_test.go | 369 | // Step 1: Create source cluster and load mixed data | COMMENT |
| LOW | systest/vector/load_test.go | 461 | // Step 4: Start target cluster | COMMENT |
| LOW | systest/vector/load_test.go | 480 | // Step 5: Verify all predicate types work | COMMENT |
| LOW | systest/vector/load_test.go | 534 | // Step 1: Create source cluster | COMMENT |
| LOW | systest/vector/load_test.go | 594 | // Step 4: Start target cluster | COMMENT |
| LOW | systest/vector/load_test.go | 642 | // Step 1: Create source cluster | COMMENT |
| LOW | systest/vector/load_test.go | 725 | // Step 4: Start target cluster | COMMENT |
| LOW | systest/vector/load_test.go | 744 | // Step 5: Verify edge cases | COMMENT |
| LOW | posting/mvcc_test.go | 204 | // Step 1: Write UID 1 at commitTs=10 and populate cache via UpdateCachedKeys | COMMENT |
| LOW | posting/mvcc_test.go | 236 | // Step 2: Write UID 2 at commitTs=20 to disk, but DON'T call UpdateCachedKeys | COMMENT |
| LOW | posting/mvcc_test.go | 260 | // Step 3: Read at readTs=25 (greater than cache maxTs) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | dgraph/cmd/bulk/vector_indexer.go | 461 | // Step 1: Call Update() to move mutations from plists to deltas | COMMENT |
| LOW⚡ | dgraph/cmd/bulk/vector_indexer.go | 462 | // Step 2: Call CommitToDisk() to write deltas to BadgerDB | COMMENT |
| LOW⚡ | tok/tok.go | 454 | // Step 1: Lowercase, normalize, basic tokenization | COMMENT |
| LOW⚡ | tok/tok.go | 457 | // Step 2: Remove stopwords | COMMENT |
| LOW⚡ | tok/tok.go | 460 | // Step 3: Apply stemming | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 130 | // Step 2: Export the data from source cluster | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 133 | // Step 3: Set up a cluster for bulk loading and run bulk load on exported data | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 187 | // Step 5: Verify vector count | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 197 | // Step 6: Verify vector similarity queries work (tests that vector index was built correctly) | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 264 | // Step 2: Export the data from source cluster | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 267 | // Step 3: Set up a cluster for bulk loading with multiple shards | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 431 | // Step 2: Export data | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 434 | // Step 3: Bulk load | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 564 | // Step 2: Export | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 567 | // Step 3: Bulk load | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 695 | // Step 2: Export | COMMENT |
| LOW⚡ | systest/vector/load_test.go | 698 | // Step 3: Bulk load | COMMENT |
| LOW | systest/vector/load_test.go | 90 | // Step 1: Create a source cluster and load vectors into it | COMMENT |
| LOW | systest/vector/load_test.go | 165 | // Step 4: Create a new cluster that uses the bulk loaded p directory | COMMENT |
| LOW | systest/vector/load_test.go | 220 | // Step 1: Create a source cluster and load vectors into it | COMMENT |
| LOW | systest/vector/load_test.go | 301 | // Step 4: Create a new cluster that uses the bulk loaded p directories | COMMENT |
| LOW | systest/vector/load_test.go | 323 | // Step 5: Verify vector counts for each predicate | COMMENT |
| LOW | systest/vector/load_test.go | 336 | // Step 6: Verify vector similarity queries work for each predicate | COMMENT |
| LOW | systest/vector/load_test.go | 369 | // Step 1: Create source cluster and load mixed data | COMMENT |
| LOW | systest/vector/load_test.go | 461 | // Step 4: Start target cluster | COMMENT |
| LOW | systest/vector/load_test.go | 480 | // Step 5: Verify all predicate types work | COMMENT |
| LOW | systest/vector/load_test.go | 534 | // Step 1: Create source cluster | COMMENT |
| LOW | systest/vector/load_test.go | 594 | // Step 4: Start target cluster | COMMENT |
| LOW | systest/vector/load_test.go | 642 | // Step 1: Create source cluster | COMMENT |
| LOW | systest/vector/load_test.go | 725 | // Step 4: Start target cluster | COMMENT |
| LOW | systest/vector/load_test.go | 744 | // Step 5: Verify edge cases | COMMENT |
| LOW | edgraph/server.go | 203 | // The following code block checks if the operation should run or not. | COMMENT |
| LOW | graphql/schema/schemagen.go | 304 | // but we need to check if it makes sense to our layer. | COMMENT |
| LOW | query/outputnode_graphql.go | 199 | // we need to check if the field should be skipped only when it is encountered for | COMMENT |
| LOW | posting/index.go | 516 | // For countIndex we need to check if some posting already exists for uid and length of posting | COMMENT |
| LOW | posting/mvcc_test.go | 204 | // Step 1: Write UID 1 at commitTs=10 and populate cache via UpdateCachedKeys | COMMENT |
| LOW | posting/mvcc_test.go | 236 | // Step 2: Write UID 2 at commitTs=20 to disk, but DON'T call UpdateCachedKeys | COMMENT |
| LOW | posting/mvcc_test.go | 260 | // Step 3: Read at readTs=25 (greater than cache maxTs) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tok/tok_test.go | 661 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit", | CODE |
| LOW | tok/tok_test.go | 661 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit", | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1213 | _:p3 <name> "Lorem ipsum" . | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1214 | _:p4 <name> "Lorem ipsum dolor sit amet" . | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1214 | _:p4 <name> "Lorem ipsum dolor sit amet" . | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1215 | _:p5 <name> "Lorem ipsum dolor sit amet, consectetur adipiscing elit" . | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1215 | _:p5 <name> "Lorem ipsum dolor sit amet, consectetur adipiscing elit" . | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1216 | _:p6 <name> "Lorem ipsum"@en . | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1217 | _:p7 <name> "Lorem ipsum dolor sit amet"@en . | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1217 | _:p7 <name> "Lorem ipsum dolor sit amet"@en . | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1218 | _:p8 <name> "Lorem ipsum dolor sit amet, consectetur adipiscing elit"@en . | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1218 | _:p8 <name> "Lorem ipsum dolor sit amet, consectetur adipiscing elit"@en . | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1219 | _:p9 <name> "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed varius tellus ut sem bibendum, eu tristi | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1219 | _:p9 <name> "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed varius tellus ut sem bibendum, eu tristi | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1262 | in: `{q(func:eq(name,"Lorem ipsum")){name}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1263 | out: `{"q": [{"name":"Lorem ipsum"}]}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1266 | in: `{q(func:eq(name,"Lorem ipsum dolor sit amet")){name}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1266 | in: `{q(func:eq(name,"Lorem ipsum dolor sit amet")){name}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1267 | out: `{"q": [{"name":"Lorem ipsum dolor sit amet"}]}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1267 | out: `{"q": [{"name":"Lorem ipsum dolor sit amet"}]}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1270 | in: `{q(func:eq(name@en,"Lorem ipsum")){name@en}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1271 | out: `{"q": [{"name@en":"Lorem ipsum"}]}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1274 | in: `{q(func:eq(name@.,"Lorem ipsum dolor sit amet")){name@en}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1274 | in: `{q(func:eq(name@.,"Lorem ipsum dolor sit amet")){name@en}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1275 | out: `{"q": [{"name@en":"Lorem ipsum dolor sit amet"}]}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1275 | out: `{"q": [{"name@en":"Lorem ipsum dolor sit amet"}]}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1286 | in: `{q(func:eq(name,["Lorem ipsum","Lorem ipsum dolor sit amet, consectetur adipiscing elit",""])){name}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1286 | in: `{q(func:eq(name,["Lorem ipsum","Lorem ipsum dolor sit amet, consectetur adipiscing elit",""])){name}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1287 | out: `{"q": [{"name":""},{"name":"Lorem ipsum"},{"name":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}]}` | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1287 | out: `{"q": [{"name":""},{"name":"Lorem ipsum"},{"name":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}]}` | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1290 | in: `{q(func:eq(name,["Lorem ipsum","Lorem ipsum","Lorem ipsum","Lorem ipsum","Lorem ipsum"])){name}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1291 | out: `{"q": [{"name":"Lorem ipsum"}]}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1294 | in: `{q(func:eq(name@en,["Lorem ipsum","Lorem ipsum dolor sit amet, consectetur adipiscing elit",""])){name@en}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1294 | in: `{q(func:eq(name@en,["Lorem ipsum","Lorem ipsum dolor sit amet, consectetur adipiscing elit",""])){name@en}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1295 | out: `{"q": [{"name@en":"Lorem ipsum"},{"name@en":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}]}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1295 | out: `{"q": [{"name@en":"Lorem ipsum"},{"name@en":"Lorem ipsum dolor sit amet, consectetur adipiscing elit"}]}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1298 | in: `{q(func:eq(name@en,["Lorem ipsum","Lorem ipsum","Lorem ipsum","Lorem ipsum","Lorem ipsum"])){name@en}}`, | CODE |
| LOW⚡ | systest/mutations-and-queries/queries_test.go | 1299 | out: `{"q": [{"name@en":"Lorem ipsum"}]}`, | CODE |
| LOW | graphql/testdata/datagen/cmd/run.go | 28 | loremIpsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " + | CODE |
| LOW | graphql/testdata/datagen/cmd/run.go | 28 | loremIpsum = "Lorem ipsum dolor sit amet, consectetur adipiscing elit, " + | CODE |
| LOW | graphql/resolve/auth_test.go | 189 | "name": "John Doe", | CODE |
| LOW | graphql/e2e/custom_logic/custom_logic_test.go | 180 | # Dgraph.Secret Github-Api-Token "random-fake-token" | COMMENT |
| LOW | graphql/e2e/custom_logic/custom_logic_test.go | 219 | # Dgraph.Secret Github-Api-Token "random-fake-token" | COMMENT |
| LOW | graphql/e2e/custom_logic/cmd/main.go | 325 | "Github-Api-Token": {"random-fake-token"}, | CODE |
| LOW | graphql/e2e/custom_logic/cmd/main.go | 345 | "Authorization": {"random-fake-token"}, | CODE |
| LOW | posting/list_test.go | 785 | key := x.DataKey(x.AttrInRootNamespace("dummy_key"), 0x927) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | compose/cluster-viz.sh | 70 | # Box width: 14 chars per node (┌──────────┐ + 2 spaces) + margins | COMMENT |
| MEDIUM | systest/integration2/backup_summary_compat_test.go | 125 | // ── Old-binary phase ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | systest/integration2/backup_summary_compat_test.go | 142 | // ── In-place upgrade ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | systest/integration2/backup_summary_compat_test.go | 157 | // ── New-binary phase ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | systest/integration2/backup_summary_compat_test.go | 170 | // ── Verify manifest_summary.json ───────────────────────────────────────── | COMMENT |
| MEDIUM | systest/integration2/backup_summary_compat_test.go | 188 | // ── Identify backup series IDs ──────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | graphql/schema/wrappers.go | 1368 | args = f.op.inSchema.schema.Query.Fields.ForName(f.Name()).Arguments | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | t/scripts/check-deps-docker.sh | 204 | # Check if docker is already available | COMMENT |
| LOW | t/scripts/check-deps-go.sh | 39 | # Check if installed version meets minimum requirement | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | systest/bulk_live/common/bulk_live_cases.go | 764 | // TODO: Add tests similar to those in | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contrib/jepsen/main.go | 9 | // Example usage: | COMMENT |