A scalable, distributed, collaborative, document-graph database, for the realtime web
1092 matches across 15 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | Cargo.toml | 341 | |
| LOW | Cargo.toml | 361 | bool_assert_comparison = "allow" |
| LOW | Cargo.toml | 381 | # https://rust-lang.github.io/rust-clippy/master/#explicit_into_iter_loop |
| LOW | Cargo.toml | 401 | # https://rust-lang.github.io/rust-clippy/master/#inefficient_to_string |
| LOW | Cargo.toml | 421 | # https://rust-lang.github.io/rust-clippy/master/#option_as_ref_cloned |
| LOW | deny.toml | 1 | # See all available configuration options at: |
| LOW | deny.toml | 21 | # The lint level for when a crate version requirement is set to `*`. |
| LOW | deny.toml | 41 | allow-registry = ["https://github.com/rust-lang/crates.io-index"] |
| LOW | deny.toml | 61 | # - for RUSTSEC-2023-0071, rsa gas a constant-time implementation allowing attackers to recover keys |
| LOW | language-tests/src/tests/schema/mod.rs | 81 | /// Specifies which backends this test should run on. |
| LOW | language-tests/src/tests/schema/mod.rs | 281 | #[serde(rename_all = "kebab-case")] |
| LOW | surrealdb/token/src/lib.rs | 1 | //! SurrealQL token lexer definitions |
| LOW | surrealdb/token/src/base.rs | 21 | pub enum BaseTokenKind { |
| LOW | surrealdb/token/src/base.rs | 161 | #[regex(r#"r'([^'\\]|\\.)*'"#)] |
| LOW | surrealdb/token/src/base.rs | 181 | #[regex(r"(?&bracket_ident)")] |
| LOW | surrealdb/token/src/base.rs | 281 | #[regex(r"(?i)COMPUTED")] |
| LOW | surrealdb/token/src/base.rs | 301 | KwDefine, |
| LOW | surrealdb/token/src/base.rs | 361 | #[regex(r"(?i)FILTERS")] |
| LOW | surrealdb/token/src/base.rs | 441 | #[regex(r"(?i)MAPPER")] |
| LOW | surrealdb/token/src/base.rs | 541 | KwRoles, |
| LOW | surrealdb/token/src/base.rs | 581 | #[regex(r"(?i)STRICT")] |
| LOW | surrealdb/token/src/datetime.rs | 1 | use logos::Logos; |
| LOW | surrealdb/token/src/record_id_key.rs | 21 | OpenBracket, |
| LOW | surrealdb/token/src/js_function.rs | 21 | TemplateOpen, |
| LOW | surrealdb/types/tests/error_types.rs | 921 | // Round-trip |
| LOW | surrealdb/types/tests/error_types.rs | 1081 | fn test_error_wire_not_allowed_auth_not_allowed_iam() { |
| LOW | surrealdb/types/tests/error_types.rs | 1621 | // "message": "Already connected", |
| LOW | surrealdb/types/derive/src/lib.rs | 21 | mod kind; |
| LOW | surrealdb/types/derive/src/lib.rs | 41 | /// - `#[surreal(crate = "path")]` - Specify a custom path to the types crate (e.g., |
| LOW | surrealdb/types/derive/src/lib.rs | 61 | /// |
| LOW | surrealdb/types/derive/src/lib.rs | 81 | /// #[derive(SurrealValue)] |
| LOW | surrealdb/types/derive/src/lib.rs | 101 | /// |
| LOW | surrealdb/types/derive/src/lib.rs | 121 | /// types. For example, if type `A` contains `B` and `B` contains `A`, each |
| LOW | surrealdb/types/derive/src/lib.rs | 161 | /// - Escape hatches: `(expr)` for arbitrary Rust expressions |
| LOW | surrealdb/types/derive/src/lib.rs | 181 | /// }); |
| LOW | surrealdb/types/derive/src/lib.rs | 201 | /// write_sql!(f, fmt, "format string", arg1, arg2, ...) |
| LOW | surrealdb/types/derive/src/lib.rs | 221 | /// let fmt = SqlFormat::SingleLine; |
| LOW | surrealdb/types/derive/src/kind.rs | 281 | /// - Literals: `true`, `false`, `42`, `"hello"` |
| LOW | surrealdb/types/src/error.rs | 41 | // ----------------------------------------------------------------------------- |
| LOW | surrealdb/types/src/error.rs | 501 | ErrorDetails::Connection(d) => d.as_ref(), |
| LOW | surrealdb/types/src/error.rs | 521 | /// _ => ..., |
| LOW | surrealdb/types/src/error.rs | 681 | // ----------------------------------------------------------------------------- |
| LOW | surrealdb/types/src/error.rs | 701 | #[surreal(skip_content)] |
| LOW | surrealdb/types/src/error.rs | 741 | #[derive(Clone, Debug, PartialEq, Eq, SurrealValue)] |
| LOW | surrealdb/types/src/error.rs | 821 | #[derive(Clone, Debug, PartialEq, Eq, SurrealValue)] |
| LOW | surrealdb/types/src/error.rs | 861 | name: String, |
| LOW | surrealdb/types/src/error.rs | 881 | NotExecuted, |
| LOW | surrealdb/types/src/error.rs | 921 | /// Database already exists. |
| LOW | surrealdb/types/src/error.rs | 961 | /// # Examples |
| LOW | surrealdb/types/src/lib.rs | 21 | pub use notification::*; |
| LOW | surrealdb/types/src/lib.rs | 81 | /// ```rust |
| LOW | surrealdb/types/src/lib.rs | 101 | /// |
| LOW | surrealdb/types/src/lib.rs | 121 | } |
| LOW | surrealdb/types/src/lib.rs | 161 | /// |
| LOW | surrealdb/types/src/lib.rs | 181 | /// "user-id": 12345, // quoted string |
| LOW | surrealdb/types/src/hashmap.rs | 1 | //! A concurrent hashmap wrapper around papaya's HashMap. |
| LOW | surrealdb/types/src/hashmap.rs | 21 | //! let map: HashMap<String, i32> = HashMap::new(); |
| LOW | surrealdb/types/src/sql.rs | 1 | //! SQL utilities. |
| LOW | surrealdb/types/src/sql.rs | 21 | /// Example usage: |
| LOW | surrealdb/types/src/traits/surreal_value.rs | 21 | /// Trait for converting between SurrealDB values and Rust types |
| 793 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | deny.toml | 4 | # -------------------------------------------------- |
| MEDIUM | deny.toml | 6 | # -------------------------------------------------- |
| MEDIUM | deny.toml | 14 | # -------------------------------------------------- |
| MEDIUM | deny.toml | 16 | # -------------------------------------------------- |
| MEDIUM | deny.toml | 30 | # -------------------------------------------------- |
| MEDIUM | deny.toml | 32 | # -------------------------------------------------- |
| MEDIUM | deny.toml | 43 | # -------------------------------------------------- |
| MEDIUM | deny.toml | 45 | # -------------------------------------------------- |
| MEDIUM | deny.toml | 76 | # -------------------------------------------------- |
| MEDIUM | deny.toml | 78 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 29 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 31 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 713 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 715 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 261 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 263 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 365 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 367 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 469 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 471 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 525 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 527 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 592 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 594 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 621 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 623 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 649 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 651 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 828 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 830 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 905 | # -------------------------------------------------- |
| MEDIUM | Makefile.ci.toml | 907 | # -------------------------------------------------- |
| MEDIUM | .rustfmt.toml | 9 | # ----------------------------------- |
| MEDIUM | .rustfmt.toml | 11 | # ----------------------------------- |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 5 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 7 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 111 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 113 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 221 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 223 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 317 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 319 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 449 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 453 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 548 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 552 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 658 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/types/tests/surreal_value/collections.rs | 661 | // ────────────────────────────────────────────────────────────── |
| MEDIUM | surrealdb/core/src/exec/index.rs | 14 | //! ┌─────────────────────────────────────────────────────────────────┐ |
| MEDIUM | surrealdb/core/src/exec/index.rs | 16 | //! ├─────────────────────────────────────────────────────────────────┤ |
| MEDIUM | surrealdb/core/src/exec/index.rs | 19 | //! └─────────────────────────────────────────────────────────────────┘ |
| MEDIUM | surrealdb/core/src/exec/index.rs | 22 | //! ┌─────────────────────────────────────────────────────────────────┐ |
| MEDIUM | surrealdb/core/src/exec/index.rs | 24 | //! ├─────────────────────────────────────────────────────────────────┤ |
| MEDIUM | surrealdb/core/src/exec/index.rs | 26 | //! └─────────────────────────────────────────────────────────────────┘ |
| MEDIUM | surrealdb/core/src/exec/planner.rs | 10 | //! ┌──────────────┐ ┌──────────────┐ ┌────────────────┐ |
| MEDIUM | surrealdb/core/src/exec/planner.rs | 14 | //! └──────────────┘ └──────────────┘ └────────────────┘ |
| MEDIUM | surrealdb/core/src/exec/operators/recursion/repeat.rs | 132 | // ── Discovery mode ────────────────────────────────────────────── |
| MEDIUM | surrealdb/core/src/exec/operators/recursion/repeat.rs | 170 | // ── Assembly mode ─────────────────────────────────────────────── |
| MEDIUM | surrealdb/core/src/exec/operators/recursion/repeat.rs | 252 | // ── Phase 1: Forward BFS Discovery ────────────────────────────── |
| MEDIUM | surrealdb/core/src/exec/operators/recursion/repeat.rs | 352 | // ── Phase 2: Backward Assembly ────────────────────────────────── |
| 59 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | language-tests/src/cmd/upgrade/mod.rs | 119 | .with_filter(|x| no_results || x.test.config.parsed.test.results.is_some()) |
| CRITICAL | language-tests/src/cmd/upgrade/mod.rs | 128 | if let Some(ver_req) = x.test.config.parsed.test.version.as_ref() |
| CRITICAL | language-tests/src/cmd/upgrade/mod.rs | 134 | if let Some(ver_req) = x.test.config.parsed.test.importing_version.as_ref() |
| CRITICAL | language-tests/src/cmd/run/mod.rs | 106 | set_builder.with_filter(|x| x.test.config.parsed.test.results.is_none()) |
| CRITICAL | language-tests/src/tests/report/update.rs | 21 | let mut doc = self.case.test.config.toml.clone().unwrap_or_default(); |
| CRITICAL | language-tests/src/tests/report/update.rs | 33 | if let Some(slice) = self.case.test.config.range.clone() { |
| CRITICAL | language-tests/src/tests/run/mod.rs | 78 | for import in case.config.parsed.env.imports.iter() { |
| CRITICAL | surrealdb/src/lib.rs | 201 | self.surreal.inner.waiter.0.send(Some(WaitFor::Connection)).ok(); |
| CRITICAL | surrealdb/src/method/use_db.rs | 53 | self.client.inner.waiter.0.send(Some(WaitFor::Database)).ok(); |
| CRITICAL | surrealml/core/src/execution/compute.rs | 100 | let mut buffer = Vec::with_capacity(self.surml_file.header.keys.store.len()); |
| CRITICAL | surrealml/core/src/execution/compute.rs | 211 | if self.surml_file.header.output.normaliser.is_none() { |
| CRITICAL | surrealml/core/src/execution/compute.rs | 216 | let output_normaliser = match self.surml_file.header.output.normaliser.as_ref() { |
| CRITICAL | .github/workflows/community-pr-label.yml | 52 | const author = context.payload.pull_request.user.login.toLowerCase(); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | surrealdb/core/tests/function.rs | 1062 | "Lehem ipsum dolor sit amet, dicta latine an eam." |
| LOW | surrealdb/core/tests/function.rs | 1165 | "Lorem ipsum dolor sit amet, dicta latine an eam." |
| LOW | surrealdb/core/tests/function.rs | 1165 | "Lorem ipsum dolor sit amet, dicta latine an eam." |
| LOW | surrealdb/core/tests/function.rs | 1251 | "Lehem ipsum dolor sit amet, dicta latine an eam." |
| LOW | surrealdb/core/benches/statements.rs | 55 | "CREATE person SET name = 'Test', age = 30, email = 'test@example.com', scores = [90, 80, 70], address = {{ street: '1 |
| LOW | surrealdb/core/benches/statements.rs | 64 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit.".repeat(10_000) |
| LOW | surrealdb/core/benches/statements.rs | 64 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit.".repeat(10_000) |
| LOW | surrealdb/core/src/idx/ft/fulltext.rs | 1049 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus |
| LOW | surrealdb/core/src/idx/ft/fulltext.rs | 1049 | "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus |
| LOW | surrealdb/core/src/gql/auth.rs | 35 | /// authentication variables (e.g., `{ email: "user@example.com", pass: "secret" }`). |
| LOW | surrealdb/core/src/dbs/iterator.rs | 97 | /// CREATE person CONTENT { name: 'John Doe' } |
| LOW | surrealdb/core/src/expr/statements/insert.rs | 292 | // INSERT INTO person (id, name) VALUES (1, 'John Doe') |
| LOW | surrealdb/core/src/expr/statements/insert.rs | 295 | // v: { name: 'John Doe' } |
| LOW | surrealdb/core/src/iam/signup.rs | 64 | /// ("email".to_string(), "user@example.com".into()), |
| LOW | surrealdb/core/src/iam/signup.rs | 145 | /// ("email".to_string(), "user@example.com".into()), |
| LOW | surrealdb/core/src/iam/signin.rs | 223 | /// ("email".to_string(), "user@example.com".into()), |
| LOW | surrealdb/tests/api_integration/basic.rs | 370 | SET name = 'John Doe' |
| LOW | surrealdb/tests/api_integration/basic.rs | 381 | assert_eq!(name, "John Doe"); |
| LOW | surrealdb/tests/api_integration/basic.rs | 389 | let _ = db.query("CREATE user:john SET name = 'John Doe'").await.unwrap().check().unwrap(); |
| LOW | surrealdb/tests/api_integration/basic.rs | 394 | assert_eq!(name, "John Doe"); |
| LOW | surrealdb/tests/api_integration/basic.rs | 417 | .bind(("name", "John Doe".to_string())) |
| LOW | surrealdb/tests/api_integration/basic.rs | 423 | assert_eq!(record.name, "John Doe"); |
| LOW | surrealdb/tests/api_integration/basic.rs | 432 | assert_eq!(record.name, "John Doe"); |
| LOW | surrealdb/tests/api_integration/basic.rs | 436 | name: "John Doe".to_owned(), |
| LOW | surrealdb/tests/api_integration/basic.rs | 443 | assert_eq!(record.name, "John Doe"); |
| LOW | surrealdb/tests/api_integration/basic.rs | 522 | name: "John Doe".to_owned(), |
| LOW | surrealdb/tests/api_integration/basic.rs | 529 | name: "John Doe".to_owned(), |
| LOW | surrealdb/tests/api_integration/basic.rs | 543 | name: "John Doe".to_owned(), |
| LOW | surrealdb/tests/api_integration/basic.rs | 551 | name: "Jane Doe".to_owned(), |
| LOW | surrealdb/tests/api_integration/basic.rs | 581 | name: "John Doe".to_owned(), |
| LOW | surrealdb/tests/api_integration/basic.rs | 591 | name: "John Doe".to_owned(), |
| LOW | surrealdb/tests/api_integration/basic.rs | 1112 | name: "Jane Doe".to_owned(), |
| LOW | surrealdb/tests/api_integration/basic.rs | 1116 | assert_eq!(user.unwrap().name, "Jane Doe"); |
| LOW | surrealdb/tests/api_integration/basic.rs | 1120 | name: "John Doe".to_owned(), |
| LOW | surrealdb/tests/api_integration/basic.rs | 1124 | assert_eq!(user.unwrap().name, "John Doe"); |
| LOW | surrealdb/tests/api_integration/basic.rs | 1126 | assert_eq!(user.unwrap().name, "John Doe"); |
| LOW | surrealdb/src/method/query.rs | 226 | /// .bind(("name", "John Doe")) |
| LOW | surrealdb/src/method/query.rs | 247 | /// name: "John Doe", |
| LOW | surrealdb/src/method/query.rs | 849 | title: "Lorem Ipsum".to_owned(), |
| LOW | surrealdb/src/method/query.rs | 877 | title: "Lorem Ipsum".to_owned(), |
| LOW | surrealdb/src/method/query.rs | 878 | body: "Lorem Ipsum Lorem Ipsum".to_owned(), |
| LOW | surrealdb/src/method/query.rs | 913 | title: "Lorem Ipsum".to_owned(), |
| LOW | surrealdb/src/method/query.rs | 914 | body: "Lorem Ipsum Lorem Ipsum".to_owned(), |
| LOW | surrealdb/src/method/tests/mod.rs | 88 | DB.query("CREATE user:john SET name = $name").bind(("name", "John Doe")).await.unwrap(); |
| LOW | surrealdb/src/method/tests/mod.rs | 93 | name: "John Doe".to_owned(), |
| LOW | tests/graphql_integration.rs | 1325 | CREATE author:a1 SET name = "Jane Doe"; |
| LOW | tests/graphql_integration.rs | 1362 | assert_eq!(author["name"], "Jane Doe"); |
| LOW | tests/graphql_integration.rs | 1401 | assert_eq!(wrote_in[0]["in"]["name"], "Jane Doe"); |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | surrealml/tests/scripts/build_assets.py | 0 | checks to see if a directory exists and deletes it if it does. :param dir_path: the path to the directory. |
| HIGH | surrealml/tests/scripts/local_build.py | 0 | checks to see if a directory exists and deletes it if it does. :param dir_path: the path to the directory. |
| HIGH | surrealml/tests/model_builder/utils.py | 0 | checks to see if a directory exists and deletes it if it does. :param dir_path: the path to the directory. |
| HIGH | surrealml/tests/scripts/build_assets.py | 0 | checks to see if a file exists and deletes it if it does. :param file_path: the path to the file. |
| HIGH | surrealml/tests/scripts/local_build.py | 0 | checks to see if a file exists and deletes it if it does. :param file_path: the path to the file. |
| HIGH | surrealml/tests/model_builder/utils.py | 0 | checks to see if a file exists and deletes it if it does. :param file_path: the path to the file. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | surrealdb/core/tests/index.rs | 432 | // Step 1: Create a shared datastore and set up 3 namespaces × 3 databases = 9 isolated |
| LOW | surrealdb/core/tests/index.rs | 444 | // Step 2: Start a background index compaction loop that continuously triggers compaction |
| LOW | surrealdb/core/tests/index.rs | 449 | // Step 3: For each session (namespace/database pair), define multiple indexes of different |
| LOW | surrealdb/core/tests/index.rs | 481 | // Step 4: For each of the 9 sessions, spawn 6 concurrent write tasks (3 for `user` records |
| LOW | surrealdb/core/tests/index.rs | 528 | // Step 5: Let the concurrent writes and index compaction run together for 2 seconds, |
| LOW | surrealdb/core/tests/index.rs | 533 | // Step 6: Await all write tasks and the compaction loop, propagating any errors. |
| LOW | surrealdb/core/tests/index.rs | 539 | // Step 7: Verify that the background compaction loop actually performed work. |
| LOW | surrealdb/core/src/idx/trees/hnsw/index.rs | 399 | // If there is a filter, we need to check if the record is truthy |
| LOW | surrealdb/core/src/kvs/tests/tx_cache_test.rs | 85 | // Step 1: Populate the cache with an empty index list |
| LOW | surrealdb/core/src/kvs/tests/tx_cache_test.rs | 89 | // Step 2: Add an index via put_tb_index |
| LOW | surrealdb/core/src/kvs/tests/tx_cache_test.rs | 101 | // Step 3: Query all indexes again — this must see the new index |
| LOW | surrealdb/core/src/kvs/tests/tx_cache_test.rs | 168 | // Step 1: Populate the cache with an empty field list |
| LOW | surrealdb/core/src/kvs/tests/tx_cache_test.rs | 172 | // Step 2: Add a field via put_tb_field |
| LOW | surrealdb/core/src/kvs/tests/tx_cache_test.rs | 180 | // Step 3: Query all fields again — this must see the new field |
| LOW | surrealdb/core/src/syn/parser/stmt/mod.rs | 306 | // ANALYZE is not a reserved keyword, so we need to check if it's an identifier |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | Makefile.ci.toml | 706 | # Generate coverage report, excluding the harness code |
| MEDIUM | surrealdb/core/src/iam/jwks.rs | 219 | // default, we could allow users to leverage this. This will most likely |
| MEDIUM | surrealdb/core/src/iam/verify.rs | 76 | // Now that the audience claim is validated by default, we could allow users to leverage this. |
| MEDIUM | surrealdb/parser/src/parse/special.rs | 783 | // The last is the least robust and relies on the fact the `()` `{}` and `[]` are also part |
| MEDIUM | surrealdb/ast/examples/working_with_ast.rs | 47 | // Essentially creating a linked list of nodes. |
| MEDIUM | surrealdb/src/opt/auth.rs | 209 | /// seamless long-term sessions while maintaining security. |
| MEDIUM | surrealdb/src/opt/auth.rs | 282 | /// tokens when the current access token expires. This enables seamless user |
| MEDIUM | .github/workflows/release.yml | 4 | # For comprehensive documentation, see doc/RELEASING.md |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | .github/workflows/crud-bench.yml | 388 | # Create a fallback report if analysis failed |
| MEDIUM | .github/workflows/bench.yml | 77 | # # Create a summary of the comparison |
| MEDIUM | .github/workflows/bench.yml | 201 | # Create a summary of the comparison |
| MEDIUM | .github/scripts/update-main-version.sh | 67 | # Create a branch for the PR |
| MEDIUM | .github/actions/publish-crate/action.yml | 48 | # Create a temporary branch in case the git ref is not a branch |
| MEDIUM | .github/actions/publish-crate/action.yml | 66 | # Create a temporary branch in case the git ref is not a branch |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | surrealml/tests/unit_tests/test_surml_file.py | 25 | print(f"Error: surmlcache : {e.strerror}") |
| MEDIUM | surrealml/tests/unit_tests/engine/test_torch.py | 24 | print(f"Error: surmlcache : {e.strerror}") |
| MEDIUM | surrealml/tests/unit_tests/engine/test_sklearn.py | 25 | print(f"Error: surmlcache : {e.strerror}") |
| MEDIUM | .github/scripts/analyze_benchmark.py | 20 | print("Error: Python 3.9 or higher is required for secure path validation", file=sys.stderr) |
| LOW | .github/scripts/analyze_benchmark.py | 114 | except Exception: |
| LOW | .github/scripts/analyze_benchmark.py | 135 | except Exception as e: |
| LOW | .github/scripts/analyze_benchmark.py | 569 | except Exception as e: |
| MEDIUM | .github/scripts/analyze_benchmark.py | 570 | print(f"Error during analysis: {e}", file=sys.stderr) |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | surrealml/tests/model_builder/utils.py | 19 | # Check if the package is installed |
| LOW | .github/workflows/ci.yml | 1178 | # Check if any job failed (skipped is ok for conditional jobs) |
| LOW | .github/scripts/update-main-version.sh | 25 | # Check if this is a stable x.y.0 release (no hyphen = no pre-release) |
| LOW | .github/scripts/update-main-version.sh | 96 | # Check if PR already exists |
| LOW | .github/scripts/analyze_benchmark.py | 472 | # Check if this key_type has any operations |
| LOW | .github/actions/publish-crate/action.yml | 73 | # Check if the failure was because everything is already published |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | surrealdb/core/src/idx/ft/fulltext.rs | 556 | // Don't forget to process the last term if there was one |
| LOW | surrealdb/parser/src/parse/stmt/define.rs | 755 | // Don't forget to update the expectation strings inside the macro if you ever |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | surrealml/tests/scripts/local_build.py | 36 | def find_and_move_rust_surrealml_file(start_path: os.path, destination_path: os.path, new_name: str) -> None: |
| LOW | surrealml/tests/scripts/ci_local_build.py | 11 | def find_and_move_rust_surrealml_file(start_path: os.path, destination_path: os.path, new_name: str) -> None: |
| LOW | .github/scripts/analyze_benchmark.py | 62 | def _validate_and_resolve_input_path(file_path: Path, base_dir: Path) -> Optional[Path]: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .github/scripts/analyze_benchmark.py | 92 | |
| LOW | .github/scripts/analyze_benchmark.py | 143 | |
| LOW | .github/scripts/analyze_benchmark.py | 304 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | surrealdb/types/src/sql.rs | 21 | /// Example usage: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | surrealml/tests/unit_tests/test_rust_adapter.py | 3 |