DuckDB is an analytical in-process SQL database management system
This report presents the forensic synthetic code analysis of duckdb/duckdb, a C++ project with 39,373 GitHub stars. SynthScan v2.0 examined 1,596,355 lines of code across 6335 source files, recording 4753 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 3.1 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 4753 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmark/interpreted_benchmark.cpp | 1 | #include "interpreted_benchmark.hpp" | COMMENT |
| LOW | benchmark/benchmark_runner.cpp | 1 | #include "benchmark_runner.hpp" | COMMENT |
| LOW | benchmark/include/duckdb_benchmark.hpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | benchmark/include/benchmark_runner.hpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | benchmark/include/interpreted_benchmark.hpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | benchmark/include/benchmark_configuration.hpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | benchmark/include/benchmark.hpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | benchmark/include/duckdb_benchmark_macro.hpp | 1 | //===----------------------------------------------------------------------===// | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 21 | .#..# | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 41 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 101 | .##.# | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 121 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 161 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 221 | #.#.. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 281 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 301 | .#.#. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 341 | #..## | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 361 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 381 | #...# | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 681 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 701 | #.#.# | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 741 | ...#. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 781 | #.#.# | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 841 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 901 | ##### | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 921 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 1001 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 1121 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 1141 | ##..# | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 1181 | .#.## | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 1221 | #.#.# | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 1301 | #.#.# | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 1321 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 1381 | #.#.. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 1421 | #.### | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 1501 | ##### | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 1661 | #.#.# | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 1701 | #.#.. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 1741 | ...#. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 1781 | .#.#. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 1841 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 2061 | #.#.. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 2081 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 2101 | ##.#. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 2161 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 2181 | .##.. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 2221 | .#.## | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 2361 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 2381 | ####. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 2421 | ..#.. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 2561 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 2581 | .#.#. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 2641 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 2681 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 2741 | ###.# | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 3041 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 3101 | ####. | COMMENT |
| LOW | benchmark/aoc24/queries/day25.sql | 3121 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 3361 | COMMENT | |
| LOW | benchmark/aoc24/queries/day25.sql | 3401 | COMMENT | |
| 3747 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/sqllogic/tests/test_unittest_stdin.py | 4 | def test_unittest_stdin_separate_writes(unittest_binary): | CODE |
| LOW⚡ | tools/shell/tests/test_autocomplete.py | 161 | def test_autocomplete_funky_column(shell, autocomplete_extension): | CODE |
| LOW⚡ | tools/shell/tests/test_autocomplete.py | 170 | def test_autocomplete_semicolon(shell, autocomplete_extension): | CODE |
| LOW⚡ | tools/shell/tests/test_autocomplete.py | 178 | def test_autocomplete_comments(shell, autocomplete_extension): | CODE |
| LOW⚡ | tools/shell/tests/test_autocomplete.py | 188 | def test_autocomplete_scalar_functions(shell, autocomplete_extension): | CODE |
| LOW⚡ | tools/shell/tests/test_autocomplete.py | 196 | def test_autocomplete_aggregates(shell, autocomplete_extension): | CODE |
| LOW⚡ | tools/shell/tests/test_autocomplete.py | 204 | def test_autocomplete_builtin_views(shell, autocomplete_extension): | CODE |
| LOW⚡ | tools/shell/tests/test_autocomplete.py | 212 | def test_autocomplete_table_function(shell, autocomplete_extension): | CODE |
| LOW⚡ | tools/shell/tests/test_autocomplete.py | 280 | def test_autocomplete_disambiguation_column(shell, autocomplete_extension): | CODE |
| LOW⚡ | tools/shell/tests/test_autocomplete.py | 289 | def test_autocomplete_disambiguation_table(shell, autocomplete_extension): | CODE |
| LOW⚡ | tools/shell/tests/test_autocomplete.py | 298 | def test_autocomplete_directory(shell, autocomplete_extension, tmp_path): | CODE |
| LOW | tools/shell/tests/test_autocomplete.py | 20 | def test_autocomplete_first_from(shell, autocomplete_extension): | CODE |
| LOW | tools/shell/tests/test_autocomplete.py | 64 | def test_autocomplete_into_table(shell, autocomplete_extension): | CODE |
| LOW | tools/shell/tests/test_autocomplete.py | 91 | def test_autocomplete_delete_from(shell, autocomplete_extension): | CODE |
| LOW | tools/shell/tests/test_autocomplete.py | 100 | def test_autocomplete_from_table(shell, autocomplete_extension): | CODE |
| LOW | tools/shell/tests/test_autocomplete.py | 118 | def test_autocomplete_update_table(shell, autocomplete_extension): | CODE |
| LOW | tools/shell/tests/test_autocomplete.py | 135 | def test_autocomplete_update_column(shell, autocomplete_extension): | CODE |
| LOW | tools/shell/tests/test_autocomplete.py | 144 | def test_autocomplete_funky_table(shell, autocomplete_extension): | CODE |
| LOW | tools/shell/tests/test_highlighting.py | 13 | def test_highlight_column_header(shell): | CODE |
| LOW | tools/shell/tests/test_highlighting.py | 35 | def test_custom_highlight_error(shell): | CODE |
| LOW | tools/shell/tests/conftest.py | 19 | def pytest_collection_modifyitems(config, items): | CODE |
| LOW | tools/shell/tests/test_shell_rendering.py | 103 | def test_mode_json_empty_result(shell): | CODE |
| LOW | tools/shell/tests/test_shell_rendering.py | 125 | def test_long_type_empty_result(shell): | CODE |
| LOW | tools/shell/tests/test_logging.py | 22 | def test_logging_custom_delim(shell): | CODE |
| LOW | tools/shell/tests/test_pager.py | 6 | def test_pager_status_default(shell): | CODE |
| LOW | tools/shell/tests/test_pager.py | 36 | def test_pager_on_with_pager_env(shell): | CODE |
| LOW | tools/shell/tests/test_pager.py | 48 | def test_pager_on_with_duckdb_pager_env(shell): | CODE |
| LOW | tools/shell/tests/test_pager.py | 61 | def test_pager_duckdb_pager_priority(shell): | CODE |
| LOW | tools/shell/tests/test_pager.py | 73 | def test_pager_custom_command(shell): | CODE |
| LOW | tools/shell/tests/test_pager.py | 84 | def test_pager_custom_command_with_args(shell): | CODE |
| LOW | tools/shell/tests/test_pager.py | 94 | def test_pager_with_query_output(shell): | CODE |
| LOW | tools/shell/tests/test_pager.py | 105 | def test_pager_doesnt_affect_error_messages(shell): | CODE |
| LOW | tools/shell/tests/test_pager.py | 117 | def test_pager_preserves_nullvalue(shell): | CODE |
| LOW | tools/shell/tests/test_pager.py | 128 | def test_pager_multiple_queries(shell): | CODE |
| LOW | tools/shell/tests/test_safe_mode.py | 22 | def test_safe_mode_dot_command(shell, param): | CODE |
| LOW | tools/shell/tests/test_safe_mode.py | 33 | def test_safe_mode_database_basic(shell, random_filepath): | CODE |
| LOW | tools/shell/tests/test_safe_mode.py | 45 | def test_safe_mode_database_commands(shell, random_filepath, command, persistent): | CODE |
| LOW⚡ | tools/shell/tests/test_prompt.py | 10 | def test_prompt_unterminated_bracket(shell): | CODE |
| LOW⚡ | tools/shell/tests/test_prompt.py | 18 | def test_prompt_unterminated_escape(shell): | CODE |
| LOW⚡ | tools/shell/tests/test_prompt.py | 26 | def test_prompt_invalid_option(shell): | CODE |
| LOW⚡ | tools/shell/tests/test_prompt.py | 34 | def test_prompt_missing_query(shell): | CODE |
| LOW⚡ | tools/shell/tests/test_prompt.py | 42 | def test_prompt_invalid_color(shell): | CODE |
| LOW | tools/shell/tests/test_errors.py | 69 | def test_single_quotes_in_error(shell): | CODE |
| LOW | tools/shell/tests/test_errors.py | 80 | def test_double_quotes_in_error(shell): | CODE |
| LOW | tools/shell/tests/test_warning.py | 82 | def test_changing_logging_settings(shell, tmp_path): | CODE |
| LOW | tools/shell/tests/test_readable_numbers.py | 23 | def test_readable_numbers_exhaustive(shell, test_rounding): | CODE |
| LOW | tools/shell/tests/test_readable_numbers.py | 45 | def test_readable_numbers_rounding(shell): | CODE |
| LOW | tools/shell/tests/test_readable_numbers.py | 58 | def test_readable_rounding_edge_case(shell): | CODE |
| LOW | tools/shell/tests/test_readable_numbers.py | 68 | def test_readable_numbers_limit(shell): | CODE |
| LOW⚡ | tools/shell/tests/test_readable_numbers.py | 98 | def test_disable_readable_numbers(shell): | CODE |
| LOW⚡ | tools/shell/tests/test_readable_numbers.py | 107 | def test_large_number_rendering_all(shell): | CODE |
| LOW⚡ | tools/shell/tests/test_readable_numbers.py | 117 | def test_readable_numbers_columns(shell): | CODE |
| LOW⚡ | tools/shell/tests/test_readable_numbers.py | 126 | def test_readable_numbers_row_count(shell): | CODE |
| LOW⚡ | tools/shell/tests/test_readable_numbers.py | 135 | def test_readable_numbers_row_count_wide(shell): | CODE |
| LOW⚡ | tools/shell/tests/test_readable_numbers.py | 144 | def test_readable_numbers_row_count_wide_single_col(shell): | CODE |
| LOW | tools/shell/tests/test_command_line_arguments.py | 38 | def test_storage_version_latest(shell): | CODE |
| LOW | tools/shell/tests/test_command_line_arguments.py | 80 | def test_storage_version_error(shell): | CODE |
| LOW | tools/shell/tests/test_schema_metadata_rendering.py | 34 | def test_detaching_default_db(shell): | CODE |
| LOW | tools/shell/tests/test_duckbox_streaming.py | 21 | def test_analyze_streaming_wrap(shell): | CODE |
| LOW | tools/shell/tests/test_read_from_stdin.py | 50 | def test_read_stdin_csv_where_filename(self, shell): | STRING |
| 312 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/shell/tests/test_format.py | 59 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | tools/shell/tests/test_format.py | 61 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/sync_out_of_tree_extensions.py | 311 | # ── Fresh clone ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/sync_out_of_tree_extensions.py | 327 | # ── Skip patches: leave the existing repo untouched ────────────────── | COMMENT |
| MEDIUM | scripts/sync_out_of_tree_extensions.py | 330 | # ── Existing repo ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | scripts/generate_util.py | 68 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | scripts/generate_util.py | 70 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | scripts/generate_util.py | 495 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | scripts/generate_util.py | 497 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | scripts/generate_util.py | 776 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM⚡ | scripts/generate_util.py | 778 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | scripts/generate_util.py | 30 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | scripts/generate_util.py | 32 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | scripts/generate_util.py | 265 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | scripts/generate_util.py | 267 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | scripts/generate_util.py | 373 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | scripts/generate_util.py | 375 | # --------------------------------------------------------------------------- | STRING |
| MEDIUM | scripts/parser/grammar_types.yml | 41 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 43 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 581 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 583 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 728 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 730 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 969 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 971 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1170 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1172 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1255 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1257 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1440 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1442 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1527 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1530 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1615 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1617 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1755 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/grammar_types.yml | 1758 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/transformer_plan.py | 9 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/transformer_plan.py | 11 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/transformer_plan.py | 219 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/transformer_plan.py | 221 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/transformer_plan.py | 746 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/transformer_plan.py | 748 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/parser/generate_transformer.py | 473 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/parser/generate_transformer.py | 483 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/generate_transformer.py | 19 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/generate_transformer.py | 21 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/generate_transformer.py | 192 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/generate_transformer.py | 198 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/generate_transformer.py | 246 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/generate_transformer.py | 248 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/generate_transformer.py | 825 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/parser/generate_transformer.py | 827 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 20 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 22 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 82 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 84 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 118 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 120 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/parser/peg/sql_formatter.cpp | 187 | // ───────────────────────────────────────────────────────────────────────────── | COMMENT |
| 19 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/shell/tests/test_autocomplete.py | 3 | CODE | |
| LOW | tools/shell/tests/test_autocomplete.py | 4 | CODE | |
| LOW | tools/shell/tests/test_autocomplete.py | 5 | CODE | |
| LOW | tools/shell/tests/test_autocomplete.py | 6 | CODE | |
| LOW | tools/shell/tests/test_autocomplete.py | 8 | CODE | |
| LOW | tools/shell/tests/test_autocomplete.py | 9 | CODE | |
| LOW | tools/shell/tests/test_highlighting.py | 4 | CODE | |
| LOW | tools/shell/tests/test_highlighting.py | 5 | CODE | |
| LOW | tools/shell/tests/test_highlighting.py | 6 | CODE | |
| LOW | tools/shell/tests/test_shell_rendering.py | 4 | CODE | |
| LOW | tools/shell/tests/test_shell_rendering.py | 5 | CODE | |
| LOW | tools/shell/tests/test_shell_rendering.py | 6 | CODE | |
| LOW | tools/shell/tests/test_shell_rendering.py | 8 | CODE | |
| LOW | tools/shell/tests/test_shell_rendering.py | 9 | CODE | |
| LOW | tools/shell/tests/test_logging.py | 3 | CODE | |
| LOW | tools/shell/tests/test_logging.py | 4 | CODE | |
| LOW | tools/shell/tests/test_logging.py | 5 | CODE | |
| LOW | tools/shell/tests/test_logging.py | 7 | CODE | |
| LOW | tools/shell/tests/test_pager.py | 3 | CODE | |
| LOW | tools/shell/tests/test_safe_mode.py | 4 | CODE | |
| LOW | tools/shell/tests/test_safe_mode.py | 5 | CODE | |
| LOW | tools/shell/tests/test_safe_mode.py | 6 | CODE | |
| LOW | tools/shell/tests/test_prompt.py | 3 | CODE | |
| LOW | tools/shell/tests/test_prompt.py | 4 | CODE | |
| LOW | tools/shell/tests/test_prompt.py | 5 | CODE | |
| LOW | tools/shell/tests/test_prompt.py | 6 | CODE | |
| LOW | tools/shell/tests/test_errors.py | 4 | CODE | |
| LOW | tools/shell/tests/test_errors.py | 5 | CODE | |
| LOW | tools/shell/tests/test_errors.py | 6 | CODE | |
| LOW | tools/shell/tests/test_profiling.py | 3 | CODE | |
| LOW | tools/shell/tests/test_profiling.py | 4 | CODE | |
| LOW | tools/shell/tests/test_profiling.py | 5 | CODE | |
| LOW | tools/shell/tests/test_profiling.py | 6 | CODE | |
| LOW | tools/shell/tests/test_readable_numbers.py | 4 | CODE | |
| LOW | tools/shell/tests/test_readable_numbers.py | 5 | CODE | |
| LOW | tools/shell/tests/test_readable_numbers.py | 6 | CODE | |
| LOW | tools/shell/tests/test_readable_numbers.py | 8 | CODE | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 3 | CODE | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 4 | CODE | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 5 | CODE | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 6 | CODE | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 8 | CODE | |
| LOW | tools/shell/tests/test_command_line_arguments.py | 9 | CODE | |
| LOW | tools/shell/tests/test_duckbox_streaming.py | 3 | CODE | |
| LOW | tools/shell/tests/test_duckbox_streaming.py | 4 | CODE | |
| LOW | tools/shell/tests/test_duckbox_streaming.py | 5 | CODE | |
| LOW | tools/shell/tests/test_duckbox_streaming.py | 6 | CODE | |
| LOW | tools/shell/tests/test_read_from_stdin.py | 4 | CODE | |
| LOW | tools/shell/tests/test_read_from_stdin.py | 5 | CODE | |
| LOW | tools/shell/tests/test_read_from_stdin.py | 6 | CODE | |
| LOW | tools/shell/tests/test_read_from_stdin.py | 8 | CODE | |
| LOW | tools/shell/tests/test_import.py | 3 | CODE | |
| LOW | tools/shell/tests/test_import.py | 4 | CODE | |
| LOW | tools/shell/tests/test_import.py | 5 | CODE | |
| LOW | tools/shell/tests/test_import.py | 6 | CODE | |
| LOW | tools/shell/tests/test_import.py | 8 | CODE | |
| LOW | tools/shell/tests/test_import.py | 9 | CODE | |
| LOW | tools/shell/tests/test_open.py | 3 | CODE | |
| LOW | tools/shell/tests/test_open.py | 4 | CODE | |
| LOW | tools/shell/tests/test_open.py | 5 | CODE | |
| 117 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 309 | if (sniffed_column_counts.state_machine.options.dialect_options.skip_rows.IsSetByUser()) { | CODE |
| CRITICAL | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 311 | sniffed_column_counts.state_machine.options.dialect_options.skip_rows.GetValue(); | CODE |
| CRITICAL | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 355 | sniffed_column_counts.state_machine.dialect_options.state_machine_options.quote.GetValue() != '\0'; | CODE |
| CRITICAL | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 216 | if (result.state_machine.dialect_options.state_machine_options.new_line.GetValue() != NewLineIdentifier::CARRY_ON) { | CODE |
| CRITICAL⚡ | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 646 | value_ptr, length, result.state_machine.dialect_options.state_machine_options.escape.GetValue(), | CODE |
| CRITICAL⚡ | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 647 | result.state_machine.dialect_options.state_machine_options.quote.GetValue(), | CODE |
| CRITICAL⚡ | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 648 | result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(), | CODE |
| CRITICAL | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 1550 | result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(), | CODE |
| CRITICAL⚡ | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 1582 | result.state_machine.dialect_options.state_machine_options.strict_mode.GetValue(), | CODE |
| CRITICAL⚡ | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 1592 | !result.state_machine.dialect_options.state_machine_options.delimiter.GetValue().empty()) { | CODE |
| CRITICAL⚡ | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 1594 | result.state_machine.dialect_options.state_machine_options.delimiter.GetValue().size() - 1; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/bwc/runner.py | 278 | except Exception as e: | CODE |
| LOW | test/bwc/runner.py | 314 | except Exception as e: | CODE |
| MEDIUM | test/bwc/update_cache.py | 52 | print(f"Error: cache directory not found in test-utils: {cache_dir}") | CODE |
| MEDIUM | test/bwc/export_cache.py | 107 | print(f"Error: runtime directory not found: {runtime_dir}") | CODE |
| LOW | test/bwc/utils/test_files_parser.py | 496 | except Exception as e: | CODE |
| LOW | test/bwc/utils/test_files_parser.py | 675 | except Exception as e: | CODE |
| LOW | test/bwc/utils/duckdb_cli.py | 62 | except Exception as e: | CODE |
| LOW | test/bwc/utils/duckdb_cli.py | 100 | except Exception: | CODE |
| LOW | test/bwc/utils/duckdb_cli.py | 106 | except Exception: | CODE |
| LOW | test/bwc/utils/duckdb_cli.py | 118 | except Exception: | CODE |
| MEDIUM | test/bwc/utils/duckdb_cli.py | 35 | def start(self): | CODE |
| LOW | test/io_metrics/run_io_metrics_test.py | 257 | except Exception as e: # noqa: BLE001 - report any test error uniformly | CODE |
| LOW | test/parquet/generate_parquet_test.py | 43 | except Exception as e: | CODE |
| MEDIUM | scripts/generate_storage_info.py | 90 | print(f"Error: {path} not found.") | CODE |
| MEDIUM | scripts/generate_storage_info.py | 112 | print(f"Error: Version map not found at {VERSION_MAP_PATH}") | CODE |
| MEDIUM | scripts/run-clang-tidy.py | 69 | print('Error: could not find compilation database.') | CODE |
| MEDIUM | scripts/run-clang-tidy.py | 337 | print('Error exporting fixes.\n', file=sys.stderr) | CODE |
| MEDIUM | scripts/run-clang-tidy.py | 346 | print('Error applying fixes.\n', file=sys.stderr) | CODE |
| MEDIUM | scripts/create_patch.py | 36 | print(f"Error: Extension CMake file not found: {cmake_path}") | CODE |
| MEDIUM | scripts/create_patch.py | 44 | print(f"Error: Could not find GIT_TAG in {cmake_path}") | CODE |
| MEDIUM | scripts/create_patch.py | 61 | print(f"Error: Failed to run git in {args.repository_path} — {e.stderr.strip()}") | CODE |
| MEDIUM | scripts/create_patch.py | 85 | print(f"Error: Failed to run git diff — {e.stderr.strip()}") | CODE |
| LOW⚡ | scripts/format.py | 34 | except Exception as e: | CODE |
| LOW⚡ | scripts/format.py | 44 | except Exception as e: | CODE |
| LOW⚡ | scripts/format.py | 53 | except Exception as e: | CODE |
| LOW | scripts/generate_serialization.py | 1033 | except Exception as e: | CODE |
| MEDIUM | scripts/cleanup_config_skip_tests.py | 166 | print(f"Error: Config directory not found: {config_dir}", file=sys.stderr) | CODE |
| MEDIUM⚡ | scripts/cleanup_config_skip_tests.py | 184 | print(f"Error parsing {config_path}: {e}", file=sys.stderr) | CODE |
| LOW⚡ | scripts/cleanup_config_skip_tests.py | 185 | except Exception as e: | CODE |
| MEDIUM⚡ | scripts/cleanup_config_skip_tests.py | 186 | print(f"Error processing {config_path}: {e}", file=sys.stderr) | CODE |
| LOW | scripts/run-clangd-tidy.py | 177 | except Exception: | STRING |
| LOW | scripts/clang-tidy-diff.py | 79 | except Exception as e: | STRING |
| LOW | scripts/asset-upload-gha.py | 74 | except Exception as e: | CODE |
| MEDIUM | scripts/format_test_benchmark.py | 64 | print("Error: -i cannot be used with stdin", file=sys.stderr) | CODE |
| MEDIUM | scripts/format_test_benchmark.py | 73 | print(f"Error: {file_path} is not a file", file=sys.stderr) | CODE |
| MEDIUM | scripts/format_test_benchmark.py | 102 | print("Error: -f/--full-path can only be used with stdin (-)", file=sys.stderr) | CODE |
| MEDIUM | scripts/format_test_benchmark.py | 105 | print("Error: -f/--full-path cannot be used with multiple files", file=sys.stderr) | CODE |
| LOW | scripts/ci/run_tests.py | 1882 | except Exception as exc: | CODE |
| LOW | scripts/ci/check_staged_extensions.py | 180 | except Exception as error: | CODE |
| LOW | scripts/ci/check_staged_extensions.py | 196 | except Exception as error: | CODE |
| LOW | scripts/lldb/pointer_print/pointer_print.py | 149 | except Exception: | CODE |
| LOW | scripts/lldb/pointer_print/pointer_print.py | 246 | except Exception: | CODE |
| MEDIUM | scripts/parser/generate_transformer_trampoline.py | 224 | print("Error: manual transformer function signatures do not match generated grammar metadata:", file=sys.stderr) | CODE |
| MEDIUM | scripts/parser/generate_transformer_trampoline.py | 471 | print("Error: missing trampoline transformer metadata in grammar_types.yml:", file=sys.stderr) | CODE |
| LOW | scripts/parser/generate_transformer_trampoline.py | 188 | except Exception as e: | CODE |
| LOW | scripts/parser/generate_transformer_trampoline.py | 404 | except Exception as e: | CODE |
| MEDIUM⚡ | scripts/parser/grammar_types.py | 22 | print("Error: PyYAML is required. Install with: pip install pyyaml", file=sys.stderr) | CODE |
| MEDIUM⚡ | scripts/parser/grammar_types.py | 26 | print(f"Error: {types_file} not found.", file=sys.stderr) | CODE |
| MEDIUM⚡ | scripts/parser/grammar_types.py | 33 | print(f"Error: {types_file} is malformed (expected a top-level mapping).", file=sys.stderr) | CODE |
| MEDIUM⚡ | scripts/parser/grammar_types.py | 42 | print(f"Error: matcher_rule_overrides in {types_file} must be a mapping.", file=sys.stderr) | CODE |
| MEDIUM | scripts/parser/grammar_types.py | 66 | print(f"Error: {types_file} contains inconsistent rule metadata:", file=sys.stderr) | CODE |
| MEDIUM⚡ | scripts/parser/grammar_types.py | 131 | print(f"Error: {types_file} contains duplicate rule listings:", file=sys.stderr) | CODE |
| MEDIUM⚡ | scripts/parser/grammar_types.py | 147 | print(f"Error: matcher_rule_overrides in {types_file} must be a mapping.", file=sys.stderr) | CODE |
| MEDIUM⚡ | scripts/parser/grammar_types.py | 158 | print(f"Error: packrat_memoized_rules in {types_file} must be a list.", file=sys.stderr) | CODE |
| MEDIUM⚡ | scripts/parser/grammar_types.py | 166 | print(f"Error: packrat_memoized_rules in {types_file} contains unknown grammar rules:", file=sys.stderr) | CODE |
| MEDIUM | scripts/parser/generate_transformer.py | 1453 | print("Error: missing transformer metadata in grammar_types.yml:", file=sys.stderr) | CODE |
| LOW | scripts/parser/generate_transformer.py | 969 | except Exception as e: | CODE |
| LOW | scripts/parser/generate_transformer.py | 1470 | except Exception as e: | CODE |
| LOW | scripts/parser/generate_transformer.py | 1494 | except Exception as e: | CODE |
| MEDIUM | scripts/parser/inline_grammar.py | 306 | print(f"Error: rule '{rule_name}' references undefined rule '{ref}'") | CODE |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/shell/tests/test_large_value_rendering.py | 11 | long_string = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW | tools/shell/tests/test_large_value_rendering.py | 11 | long_string = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et do | CODE |
| LOW⚡ | test/api/capi/test_capi_profiling.cpp | 241 | auto dummy_value = duckdb_create_bool(true); | CODE |
| LOW⚡ | test/api/capi/test_capi_profiling.cpp | 244 | count = duckdb_get_map_size(dummy_value); | CODE |
| LOW⚡ | test/api/capi/test_capi_profiling.cpp | 253 | key = duckdb_get_map_key(dummy_value, i); | CODE |
| LOW⚡ | test/api/capi/test_capi_profiling.cpp | 260 | value = duckdb_get_map_value(dummy_value, i); | CODE |
| LOW⚡ | test/api/capi/test_capi_profiling.cpp | 265 | duckdb_destroy_value(&dummy_value); | CODE |
| LOW | third_party/jemalloc/src/prof_recent.c | 85 | * "placeholder"; the real recording of the allocation requires a lock | COMMENT |
| LOW | src/include/duckdb/function/scalar/string_functions.hpp | 362 | static constexpr const char *Example = "regexp_extract('abcde', '[a-z]{3}')\001regexp_extract('abc', '([a-z])(b)', 1)\0 | CODE |
| LOW | src/include/duckdb/common/types.hpp | 200 | // A "template" type functions as a "placeholder" type for function arguments and return types. | COMMENT |
| LOW | src/function/scalar/string/functions.json | 362 | "example": "regexp_extract('John Doe', '([a-z]+) ([a-z]+)', ['first_name', 'last_name'], 'i')", | CODE |
| LOW⚡ | src/parser/peg/transformer/peg_transformer_factory.cpp | 365 | Value dummy_value; | CODE |
| LOW⚡ | src/parser/peg/transformer/peg_transformer_factory.cpp | 366 | if (!ConstructConstantFromExpression(cast.Child(), dummy_value)) { | CODE |
| LOW⚡ | src/parser/peg/transformer/peg_transformer_factory.cpp | 376 | if (!dummy_value.DefaultTryCastAs(cast_type, value, &error_message)) { | CODE |
| LOW⚡ | src/parser/peg/transformer/peg_transformer_factory.cpp | 377 | throw ConversionException("Unable to cast %s to %s", dummy_value.ToString(), | CODE |
| LOW | src/parser/tableref/pivotref.cpp | 209 | Value dummy_value; | CODE |
| LOW | src/parser/tableref/pivotref.cpp | 210 | if (!TryFoldConstantForBackwardsCompatibility(cast.Child(), dummy_value)) { | CODE |
| LOW | src/parser/tableref/pivotref.cpp | 227 | if (!dummy_value.DefaultTryCastAs(cast_type, value, &error_message)) { | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 165 | bool dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 166 | return TryCastStringBool(value_ptr, value_size, dummy_value, true); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 169 | int8_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 170 | return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, false); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 173 | int16_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 174 | return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 177 | int32_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 178 | return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 181 | int64_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 182 | return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 185 | hugeint_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 187 | dummy_value, true); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 190 | uint8_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 191 | return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 194 | uint16_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 195 | return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 198 | uint32_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 199 | return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 202 | uint64_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 203 | return TrySimpleIntegerCast(value_ptr, value_size, dummy_value, true); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 206 | uhugeint_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 208 | dummy_value, true); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 213 | double dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 214 | return TryDoubleCast<double>(value_ptr, value_size, dummy_value, true, decimal_separator); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 217 | float dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 218 | return TryDoubleCast<float>(value_ptr, value_size, dummy_value, true, decimal_separator); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 230 | date_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 231 | return Date::TryConvertDate(value_ptr, value_size, pos, dummy_value, special, true) == DateCastResult::SUCCESS; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 234 | timestamp_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 239 | .TryParseTimestamp(value, dummy_value, error_message); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 241 | return Timestamp::TryConvertTimestamp(value_ptr, value_size, dummy_value, false, nullptr, true) == | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 246 | dtime_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 247 | return Time::TryConvertTime(value_ptr, value_size, pos, dummy_value, true); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 255 | int16_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 256 | return TryDecimalStringCast<int16_t, ','>(value_ptr, value_size, dummy_value, width, scale); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 260 | int32_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 261 | return TryDecimalStringCast<int32_t, ','>(value_ptr, value_size, dummy_value, width, scale); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 265 | int64_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 266 | return TryDecimalStringCast<int64_t, ','>(value_ptr, value_size, dummy_value, width, scale); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 270 | hugeint_t dummy_value; | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 271 | return TryDecimalStringCast<hugeint_t, ','>(value_ptr, value_size, dummy_value, width, scale); | CODE |
| LOW⚡ | …cution/operator/csv_scanner/sniffer/type_detection.cpp | 282 | int16_t dummy_value; | CODE |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/shell/tests/test_rendering_mode_regression.py | 12 | CODE | |
| LOW | tools/juliapkg/scripts/generate_c_api_julia.py | 800 | CODE | |
| LOW | tools/juliapkg/scripts/generate_c_api_julia.py | 694 | CODE | |
| LOW | tools/juliapkg/scripts/generate_c_api_julia.py | 747 | CODE | |
| LOW | tools/juliapkg/scripts/generate_c_api.py | 71 | CODE | |
| LOW | tools/juliapkg/scripts/generate_c_api.py | 117 | CODE | |
| LOW | test/bwc/runner.py | 181 | CODE | |
| LOW | test/bwc/runner.py | 283 | CODE | |
| LOW | test/bwc/export_cache.py | 65 | CODE | |
| LOW | test/bwc/utils/test_files_parser.py | 208 | CODE | |
| LOW | test/bwc/utils/test_files_parser.py | 420 | CODE | |
| LOW | test/bwc/utils/duckdb_cli.py | 143 | CODE | |
| LOW | test/bwc/utils/duckdb_installer.py | 85 | CODE | |
| LOW | test/io_metrics/run_io_metrics_test.py | 200 | CODE | |
| LOW | scripts/amalgamation.py | 37 | CODE | |
| LOW | scripts/sync_out_of_tree_extensions.py | 41 | CODE | |
| LOW | scripts/sync_out_of_tree_extensions.py | 298 | CODE | |
| LOW | scripts/sync_out_of_tree_extensions.py | 423 | CODE | |
| LOW | scripts/generate_extensions_function.py | 106 | CODE | |
| LOW | scripts/test_peg_parser.py | 38 | CODE | |
| LOW | scripts/test_peg_parser.py | 110 | CODE | |
| LOW | scripts/generate_util.py | 165 | CODE | |
| LOW | scripts/generate_util.py | 788 | CODE | |
| LOW | scripts/package_build.py | 266 | CODE | |
| LOW | scripts/package_build.py | 466 | CODE | |
| LOW | scripts/run-clang-tidy.py | 164 | CODE | |
| LOW | scripts/create_patch.py | 73 | CODE | |
| LOW | scripts/create_patch.py | 93 | CODE | |
| LOW | scripts/test_benchmark_sql_runner.py | 42 | CODE | |
| LOW | scripts/generate_serialization.py | 836 | CODE | |
| LOW | scripts/generate_serialization.py | 507 | CODE | |
| LOW | scripts/test_zero_initialize.py | 79 | CODE | |
| LOW | scripts/cleanup_config_skip_tests.py | 27 | CODE | |
| LOW | scripts/test_serialization_bwc.py | 26 | CODE | |
| LOW | scripts/test_serialization_bwc.py | 166 | CODE | |
| LOW | scripts/ccache_workflow_summary.py | 175 | CODE | |
| LOW | scripts/clang-tidy-diff.py | 52 | CODE | |
| LOW | scripts/generate_c_api.py | 172 | CODE | |
| LOW | scripts/generate_c_api.py | 217 | CODE | |
| LOW | scripts/generate_c_api.py | 247 | CODE | |
| LOW | scripts/generate_c_api.py | 266 | CODE | |
| LOW | scripts/generate_c_api.py | 481 | CODE | |
| LOW | scripts/generate_c_api.py | 680 | CODE | |
| LOW | scripts/generate_c_api.py | 805 | CODE | |
| LOW | scripts/generate_functions.py | 38 | CODE | |
| LOW | scripts/generate_functions.py | 123 | CODE | |
| LOW | scripts/ci/run_tests.py | 280 | CODE | |
| LOW | scripts/ci/run_tests.py | 600 | CODE | |
| LOW | scripts/ci/run_tests.py | 627 | CODE | |
| LOW | scripts/ci/run_tests.py | 683 | CODE | |
| LOW | scripts/ci/run_tests.py | 757 | CODE | |
| LOW | scripts/ci/run_tests.py | 875 | CODE | |
| LOW | scripts/ci/run_tests.py | 906 | CODE | |
| LOW | scripts/ci/run_tests.py | 1392 | CODE | |
| LOW | scripts/ci/run_tests.py | 1558 | CODE | |
| LOW | scripts/ci/run_tests.py | 1691 | CODE | |
| LOW | scripts/ci/run_tests.py | 1822 | CODE | |
| LOW | scripts/ci/run_tests.py | 1944 | CODE | |
| LOW | scripts/ci/check_staged_extensions.py | 153 | CODE | |
| LOW | scripts/ci/test_run_tests.py | 181 | CODE | |
| 24 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tools/shell/tests/test_shell_rendering.py | 77 | .statement("select 'val || other_val' c;") | CODE |
| HIGH⚡ | tools/shell/tests/test_large_value_rendering.py | 60 | "value": {"type": {"id": "BLOB", "type_info": null}, "is_null": false, "value": "10"} | CODE |
| HIGH⚡ | tools/shell/tests/test_large_value_rendering.py | 63 | "from_table": {"type": "EMPTY", "alias": "", "sample": null, "query_location": 18446744073709551615}, | CODE |
| HIGH⚡ | tools/shell/tests/test_large_value_rendering.py | 64 | "where_clause": null, | CODE |
| HIGH⚡ | tools/shell/tests/test_large_value_rendering.py | 68 | "having": null, | CODE |
| HIGH⚡ | tools/shell/tests/test_large_value_rendering.py | 69 | "sample": null, | CODE |
| HIGH⚡ | tools/shell/tests/test_rendering_mode_regression.py | 1306 | expected_results[all_types_source]["json"] = '''[{"bool":false,"tinyint":-128,"smallint":-32768,"int":-2147483648,"bigin | STRING |
| HIGH⚡ | tools/shell/tests/test_rendering_mode_regression.py | 1307 | {"bool":true,"tinyint":127,"smallint":32767,"int":2147483647,"bigint":9223372036854775807,"hugeint":"1701411834604692317 | STRING |
| HIGH⚡ | tools/shell/tests/test_rendering_mode_regression.py | 1308 | {"bool":null,"tinyint":null,"smallint":null,"int":null,"bigint":null,"hugeint":null,"uhugeint":null,"utinyint":null,"usm | STRING |
| HIGH⚡ | tools/shell/tests/test_rendering_mode_regression.py | 1311 | expected_results[all_types_source]["jsonlines"] = '''{"bool":false,"tinyint":-128,"smallint":-32768,"int":-2147483648,"b | STRING |
| HIGH⚡ | tools/shell/tests/test_rendering_mode_regression.py | 1312 | {"bool":true,"tinyint":127,"smallint":32767,"int":2147483647,"bigint":9223372036854775807,"hugeint":"1701411834604692317 | STRING |
| HIGH⚡ | tools/shell/tests/test_rendering_mode_regression.py | 1313 | {"bool":null,"tinyint":null,"smallint":null,"int":null,"bigint":null,"hugeint":null,"uhugeint":null,"utinyint":null,"usm | STRING |
| HIGH | scripts/generate_util.py | 634 | # Non-nullable: const accessor returns const ParsedExpression& directly (assume non-null) | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | extension/icu/third_party/icu/common/locmap.cpp | 1173 | // The purpose of this function is to leverage the Windows platform name->lcid | COMMENT |
| LOW | extension/icu/third_party/icu/common/unicode/platform.h | 62 | * Solution: #define any defines for non @internal API here, so that they are visible in the docs. If you just set PRED | COMMENT |
| MEDIUM | extension/icu/third_party/icu/i18n/decNumberLocal.h | 48 | #define DECCHECK 0 /* 1 to enable robust checking */ | COMMENT |
| LOW | extension/icu/third_party/icu/i18n/dtptngen.cpp | 1299 | // in #13183 just add b/B to skeleton, no longer need to set special flags | COMMENT |
| MEDIUM | third_party/httplib/httplib.hpp | 9193 | // Cross-host/scheme redirect - create new client with robust setup | COMMENT |
| MEDIUM | third_party/httplib/httplib.hpp | 9198 | // New method for robust redirect client creation | COMMENT |
| MEDIUM | third_party/httplib/httplib.hpp | 9258 | // Setup client with robust configuration | COMMENT |
| MEDIUM | third_party/httplib/httplib.hpp | 9266 | // New method for robust client setup (based on basic_manual_redirect.cpp | COMMENT |
| MEDIUM | third_party/re2/re2/prefilter_tree.h | 114 | // These are all the nodes formed by Compile. Essentially, there is | COMMENT |
| LOW | scripts/generate_extensions_function.py | 140 | # Otherwise, just add the character if we're inside braces. | COMMENT |
| MEDIUM | scripts/test_zero_initialize.py | 146 | # generated DB files (otherwise the harness deletes loaded DBs under TEMP_DIR, leaving | COMMENT |
| MEDIUM | …nclude/duckdb/parser/parsed_data/create_macro_info.hpp | 29 | //! Essentially we used to only support a single function in the CreateMacroInfo | COMMENT |
| MEDIUM | src/function/table/direct_file_reader.cpp | 64 | // We utilize projection pushdown here to only read the file content if the 'data' column is requested | COMMENT |
| MEDIUM | src/function/table/direct_file_reader.cpp | 85 | // We utilize projection pushdown to avoid potentially expensive fs operations. | COMMENT |
| MEDIUM | src/execution/operator/join/physical_iejoin.cpp | 1850 | // We can't leverage any more threads than tasks. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …es/3. Visualizing Data.xcplaygroundpage/Contents.swift | 31 | ## Step 1: Extracting Data | COMMENT |
| LOW | …es/3. Visualizing Data.xcplaygroundpage/Contents.swift | 120 | ## Step 2: Making Charts | STRING |
| LOW | …ges/2. Getting Started.xcplaygroundpage/Contents.swift | 36 | ## Step 1: Fetching Data | COMMENT |
| LOW | …ges/2. Getting Started.xcplaygroundpage/Contents.swift | 79 | ## Step 2: Rendering Data | COMMENT |
| LOW | extension/json/json_reader.cpp | 862 | // we need to check if there is data available within our current reader | COMMENT |
| LOW⚡ | extension/icu/icu_extension.cpp | 265 | // Step 1: Strip leading zeros | COMMENT |
| LOW⚡ | extension/icu/icu_extension.cpp | 272 | // Step 2: Parse hours based on whether colon is present | COMMENT |
| LOW | extension/icu/third_party/icu/common/locmap.cpp | 1173 | // The purpose of this function is to leverage the Windows platform name->lcid | COMMENT |
| LOW | extension/icu/third_party/icu/i18n/dtptngen.cpp | 685 | // We need to check if there is an hour cycle on locale | COMMENT |
| LOW | extension/icu/third_party/icu/i18n/tzgnames.cpp | 948 | // then we need to check if the name is same with the location name. | COMMENT |
| LOW | third_party/catch/catch.hpp | 12786 | // No children have started. We need to check if they _can_ | COMMENT |
| LOW | src/function/table/arrow_conversion.cpp | 1393 | //! We need to check if our indexes fit in a uint32_t | COMMENT |
| LOW | src/function/table/arrow_conversion.cpp | 1401 | //! We need to check if our indexes fit in a uint32_t | COMMENT |
| LOW | src/execution/sample/base_reservoir_sample.cpp | 31 | //! first we need to check if the reservoir already has "m" elements | COMMENT |
| LOW⚡ | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 611 | // Step 1: Generate state machines | COMMENT |
| LOW⚡ | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 613 | // Step 2: Analyze all candidates on the first chunk | COMMENT |
| LOW⚡ | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 617 | // Step 3: Loop over candidates and find if they can still produce good results for the remaining chunks | COMMENT |
| LOW | …/operator/csv_scanner/scanner/string_value_scanner.cpp | 896 | // We need to check if we are getting the correct number of columns here. | COMMENT |
| LOW | src/main/database_manager.cpp | 406 | // If we are loading a database type from an extension, then we need to check if that extension is loaded. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tools/shell/tests/test_autocomplete.py | 304 | # Create the files | COMMENT |
| MEDIUM | tools/juliapkg/scripts/generate_c_api_julia.py | 700 | self._analyze_types(function_groups) # Create the julia type map | STRING |
| MEDIUM | test/bwc/runner.py | 332 | # Create the report database | COMMENT |
| MEDIUM | third_party/mbedtls/mbedtls_wrapper.cpp | 28 | # Create a new key | COMMENT |
| MEDIUM | scripts/regression_test_python.py | 340 | # Create the DataFrame with the specified data and column type as object | COMMENT |
| MEDIUM | scripts/generate_c_api.py | 37 | # Define the extension struct | COMMENT |
| MEDIUM | scripts/generate_c_api.py | 757 | # Create the versioning defines | STRING |
| MEDIUM | scripts/regression/benchmark.py | 71 | # Define the arguments | STRING |
| MEDIUM | scripts/regression/benchmark.py | 90 | # Create an instance of BenchmarkRunnerConfig using parsed arguments | STRING |
| MEDIUM | scripts/regression/test_runner.py | 37 | # Define the arguments | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …es/3. Visualizing Data.xcplaygroundpage/Contents.swift | 31 | ## Step 1: Extracting Data | COMMENT |
| LOW | …es/3. Visualizing Data.xcplaygroundpage/Contents.swift | 120 | ## Step 2: Making Charts | STRING |
| LOW | …ges/2. Getting Started.xcplaygroundpage/Contents.swift | 36 | ## Step 1: Fetching Data | COMMENT |
| LOW | …ges/2. Getting Started.xcplaygroundpage/Contents.swift | 79 | ## Step 2: Rendering Data | COMMENT |
| LOW⚡ | extension/icu/icu_extension.cpp | 265 | // Step 1: Strip leading zeros | COMMENT |
| LOW⚡ | extension/icu/icu_extension.cpp | 272 | // Step 2: Parse hours based on whether colon is present | COMMENT |
| LOW | …tension/icu/third_party/icu/i18n/number_scientific.cpp | 85 | // NOTE: This method is only called one place, NumberRangeFormatterImpl. | COMMENT |
| LOW | .github/workflows/OnPR.yml | 24 | # WARNING: This workflow runs with base-repository privileges. | COMMENT |
| LOW⚡ | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 611 | // Step 1: Generate state machines | COMMENT |
| LOW⚡ | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 613 | // Step 2: Analyze all candidates on the first chunk | COMMENT |
| LOW⚡ | …ion/operator/csv_scanner/sniffer/dialect_detection.cpp | 617 | // Step 3: Loop over candidates and find if they can still produce good results for the remaining chunks | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/icu/third_party/icu/i18n/double-conversion-bignum.cpp | 434 | // Don't forget to update the used_digits and the exponent. | COMMENT |
| MEDIUM | extension/icu/third_party/icu/i18n/unicode/dtfmtsym.h | 68 | * DateFormatSymbols object, they can feel free to modify the date-time | COMMENT |
| MEDIUM | extension/icu/third_party/icu/i18n/unicode/dtitvinf.h | 146 | * they can feel free to modify it as necessary. | COMMENT |
| LOW | extension/icu/scripts/makedata.sh | 37 | # build the data, make sure to create "filters.json" first, see above | COMMENT |
| LOW | third_party/thrift/thrift/transport/TBufferTransports.h | 481 | // Don't forget to update constrctors, initCommon, and swap if | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/juliapkg/scripts/generate_c_api_julia.py | 443 | # Check if the argument is (likely) an index | COMMENT |
| LOW | test/bwc/utils/test_report.py | 75 | # Check if `self.comparison_results_file_name` exists | COMMENT |
| LOW | test/bwc/utils/duckdb_installer.py | 20 | # Check if the cli already exists | COMMENT |
| LOW | scripts/merge_vcpkg_deps.py | 88 | # Print output | COMMENT |
| LOW | scripts/generate_serialization.py | 977 | # Check if is a templated class | COMMENT |
| LOW | scripts/cleanup_config_skip_tests.py | 44 | # Check if this config inherits from another | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/shell/tests/test_read_from_stdin.py | 200 | CODE | |
| MEDIUM | tools/shell/tests/test_read_from_stdin.py | 221 | CODE | |
| MEDIUM | tools/shell/tests/test_read_from_stdin.py | 222 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | extension/json/json_functions/json_contains.cpp | 151 | // TODO: implement json_contains that accepts path argument as well | COMMENT |
| LOW | extension/icu/third_party/icu/i18n/rbnf.cpp | 1481 | // TODO: implement UParseError | COMMENT |
| LOW | src/include/duckdb/function/window_function.hpp | 283 | auto HasSerializationCallbacks() const -> bool { return false; } // TODO: implement this | CODE |
| LOW | src/logging/log_manager.cpp | 25 | // TODO: implement ThreadLocalLogger and return it here | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 133 | Please do not submit pull requests generated by AI (LLMs). | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/shell/tests/test_format.py | 66 | CODE | |
| LOW | tools/juliapkg/scripts/generate_c_api_julia.py | 360 | CODE | |
| LOW | test/bwc/utils/query_exclusions.py | 60 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | extension/icu/third_party/icu/common/ucase.cpp | 1448 | # Usage: | COMMENT |
| LOW | scripts/generate_extensions_function.py | 15 | # Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/generate_metrics.py | 126 | def update_source(data: dict, source_path: str) -> None: | CODE |