Reliable PostgreSQL Backup & Restore
This report presents the forensic synthetic code analysis of pgbackrest/pgbackrest, a C project with 4,297 GitHub stars. SynthScan v2.0 examined 217,125 lines of code across 786 source files, recording 931 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 9.9 places this repository in the Low AI signal 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).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
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 931 distinct pattern matches across 15 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 |
|---|---|---|---|---|
| MEDIUM | test/uncrustify.cfg | 3091 | # Whether to apply special formatting for Qt SIGNAL/SLOT macros. Essentially, | COMMENT |
| MEDIUM⚡ | test/define.yaml | 15 | # * define - defines for C code (will also be applied to the test harness) | COMMENT |
| MEDIUM⚡ | test/define.yaml | 22 | # * feature - Defines a feature that is now available in the harness. For example, the "error" feature defines HRN_F | COMMENT |
| MEDIUM⚡ | test/define.yaml | 25 | # * harness - Adds a harness module that contains functions to aid in testing. For example, the "log" harness includ | COMMENT |
| MEDIUM⚡ | test/define.yaml | 26 | # harness/log module to aid in expect log testing. | COMMENT |
| MEDIUM⚡ | test/define.yaml | 27 | # * shim - list of modules that are shimmed in the harness, included in the order listed. This allows the harness | COMMENT |
| MEDIUM⚡ | test/define.yaml | 30 | # _SHIMMED and an implementation with the same function signature must be provided in the harness. Generally spe | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1238 | # The test library, which sits on top of the doc library. It is the harness that runs everything here, so it is declar | COMMENT |
| MEDIUM⚡ | test/ci.py | 22 | # Do not cache bytecode. The harness runs from a copy of the repository that the linter then scans, so a __pycache__ wri | COMMENT |
| MEDIUM⚡ | test/ci.py | 23 | # import would be reported as an unexpected binary file. This must be set before the harness modules are imported below. | COMMENT |
| MEDIUM⚡ | test/ci.py | 26 | # Each tool keeps its library beside itself and may use the libraries below it in the hierarchy, which for the harness i | COMMENT |
| MEDIUM⚡ | test/ci.py | 27 | # them. Insert them first, lowest last, so the harness modules are found before anything else on the path. | COMMENT |
| MEDIUM⚡ | test/test.py | 21 | # Do not cache bytecode. The harness runs from a copy of the repository that the linter then scans, so a __pycache__ wri | COMMENT |
| MEDIUM⚡ | test/test.py | 22 | # import would be reported as an unexpected binary file. This must be set before the harness modules are imported below. | COMMENT |
| MEDIUM⚡ | test/test.py | 25 | # Each tool keeps its library beside itself and may use the libraries below it in the hierarchy, which for the harness i | COMMENT |
| MEDIUM⚡ | test/test.py | 26 | # them. Insert them first, lowest last, so the harness modules are found before anything else on the path. | COMMENT |
| MEDIUM | test/test.py | 90 | # An unexpected exception is a harness bug, so show the stack trace. It goes to stdout like everything else. | COMMENT |
| MEDIUM | test/lib/harness/test.py | 37 | # What a test module gets from "from harness.test import *". Listing it here means a test module never has to update its | COMMENT |
| MEDIUM | test/lib/command/test/build.py | 162 | # The shim module .c is always shimmed and written since the harness includes it. A function may instead be | COMMENT |
| MEDIUM | test/lib/command/test/build.py | 208 | # Skip this harness for integration tests | COMMENT |
| MEDIUM | test/lib/command/test/build.py | 214 | # If there are includes then copy and update the harness | COMMENT |
| MEDIUM | test/lib/command/test/build.py | 228 | # Else harness can be referenced directly from the repo path | COMMENT |
| MEDIUM | test/lib/command/test/build.py | 301 | # Add harness depends | COMMENT |
| MEDIUM | test/lib/command/test/build.py | 307 | # Skip the harness when one of its includes is covered or included by the module, since test.c includes it d | COMMENT |
| MEDIUM | test/lib/command/test/build.py | 386 | # Files to test/include. A file covered by a harness is pulled in by including that harness instead. | COMMENT |
| MEDIUM | test/lib/command/test/build.py | 395 | # A module pulled in by a harness is covered by including that harness rather than the module itself | COMMENT |
| MEDIUM | test/lib/command/test/define.py | 102 | self.include_list = include_list # Modules included directly in the harness, in the order they are included | CODE |
| MEDIUM | test/lib/command/test/define.py | 198 | # Shim modules are included in the harness in the order listed | COMMENT |
| MEDIUM | test/lib/command/test/define.py | 204 | # Apply the harness integration flag to its shims now that the whole harness has been parsed | COMMENT |
| MEDIUM | test/lib/command/test/job.py | 137 | # A python test is run by the harness above so there is no binary to run here | COMMENT |
| MEDIUM | test/lib/command/test/unit.py | 89 | # Coverage is written where the caller asks for it, since the harness runs from a copy of the repository and the rep | COMMENT |
| MEDIUM⚡ | test/lib/command/test/python.py | 19 | # Library the harness itself lives in, which is the one this script is part of | COMMENT |
| MEDIUM⚡ | test/lib/command/test/python.py | 28 | # Libraries a module may be found in. The harness library is included even when the test may not import from it, | COMMENT |
| MEDIUM⚡ | test/lib/command/test/python.py | 32 | # The test harness is support for the tests rather than part of the harness under test, so it is always availabl | COMMENT |
| MEDIUM | test/lib/command/test/python.py | 106 | # The libraries the test may import from come first, in the order given, followed by the harness library the tests t | COMMENT |
| MEDIUM | test/lib/command/test/python.py | 125 | # Imported here rather than at the top so the guard above is installed before the harness is loaded | COMMENT |
| MEDIUM | test/lib/command/vm/build.py | 226 | # The test harness needs a python3 that PyYAML is packaged for. Where that is not the platform python, which mes | COMMENT |
| LOW | test/lib/command/vm/build.py | 588 | # forks; those just use the image they built. | COMMENT |
| MEDIUM⚡ | test/src/test.c | 119 | #include "harness/debug.h" | COMMENT |
| MEDIUM⚡ | test/src/test.c | 120 | #include "harness/test.intern.h" | COMMENT |
| MEDIUM⚡ | test/src/test.c | 130 | #include "harness/log.h" | COMMENT |
| MEDIUM | test/src/test.c | 141 | #include "harness/server.h" | COMMENT |
| MEDIUM | test/src/module/test/config/config_test.py | 61 | # Paths are normalized so the harness does not depend on the working directory | COMMENT |
| MEDIUM | test/src/module/test/command/test/unit_test.py | 192 | # The path is created since the harness runs from a copy of the repository and the report is built from the orig | COMMENT |
| MEDIUM⚡ | test/src/module/test/command/test/define_test.py | 272 | # A test declared before the harness does not have it | COMMENT |
| MEDIUM⚡ | test/src/module/test/command/test/define_test.py | 275 | # A bare name is a harness that includes nothing | COMMENT |
| MEDIUM⚡ | test/src/module/test/command/test/define_test.py | 283 | # A harness that shims modules includes them in the order they are listed | COMMENT |
| MEDIUM | test/src/module/test/command/test/define_test.py | 298 | # A shimmed module with no functions is included in the harness but has nothing to shim | COMMENT |
| MEDIUM | test/src/module/test/command/test/define_test.py | 305 | # The shim takes the integration flag of the harness that declared it | COMMENT |
| MEDIUM | test/src/module/test/command/test/build_test.py | 22 | # The repository the build reads. Only the modules a harness shims are read as source, so those are the only ones writte | COMMENT |
| MEDIUM | test/src/module/test/command/test/build_test.py | 89 | # A module a harness shims, with an extern function, a static function, and a function defined in an included module | STRING |
| MEDIUM | test/src/module/test/command/test/build_test.py | 433 | # The harness includes the shimmed copy rather than the one in the repository, while a module it reaches into bu | COMMENT |
| MEDIUM | test/src/module/test/command/test/build_test.py | 447 | # The feature the module introduces is defined, the modules it depends on are compiled in, and the harness has i | COMMENT |
| MEDIUM | test/src/module/test/command/test/build_test.py | 448 | # source compiled in. The harness itself is not, since the wrapper includes it directly. | COMMENT |
| MEDIUM⚡ | test/src/module/test/command/test/build_test.py | 465 | # The wrapper includes the harness rather than the module, since the harness is what pulls the module in. Both c | COMMENT |
| MEDIUM⚡ | test/src/module/test/command/test/build_test.py | 466 | # modules come from the one harness so it is included once. | COMMENT |
| MEDIUM⚡ | test/src/module/test/command/test/build_test.py | 467 | assert_in('#include "test/src/harness/config.c"\n', _read(path, path_unit, "test.c")) | CODE |
| MEDIUM | test/src/module/test/command/test/build_test.py | 484 | # The module this test depends on that a harness already includes is not compiled again | COMMENT |
| MEDIUM | test/src/module/test/command/test/build_test.py | 489 | # A harness that reaches into a module is compiled in when this module is not the one being tested, and one that | COMMENT |
| MEDIUM | test/src/module/test/command/test/build_test.py | 503 | # Nothing was shimmed and no harness needed a copy | COMMENT |
| 277 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CONTRIBUTING.md | 387 | # ---------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 79 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 87 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 92 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 100 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 110 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 114 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 127 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 135 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 142 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 149 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 156 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 188 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 195 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 202 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 210 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 218 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 230 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 239 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 246 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 253 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 260 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 267 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 274 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 282 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 289 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 425 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 432 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 439 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 527 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 534 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 541 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 645 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 655 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 665 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 673 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 680 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 687 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 738 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 745 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 753 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 789 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 798 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 805 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 815 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 823 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 833 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 897 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 904 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 914 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 923 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 930 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 937 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 944 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1009 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1015 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1021 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1027 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1033 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1039 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| 78 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/uncrustify.cfg | 1 | # Uncrustify-0.72.0_f | COMMENT |
| LOW | test/uncrustify.cfg | 21 | COMMENT | |
| LOW | test/uncrustify.cfg | 41 | disable_processing_nl_cont = false # true/false | COMMENT |
| LOW | test/uncrustify.cfg | 81 | COMMENT | |
| LOW | test/uncrustify.cfg | 141 | # Add or remove space after assignment '=' in enum. | COMMENT |
| LOW | test/uncrustify.cfg | 221 | # Add or remove space before a reference sign '&'. | COMMENT |
| LOW | test/uncrustify.cfg | 241 | sp_before_byref_func = remove # ignore/add/remove/force | COMMENT |
| LOW | test/uncrustify.cfg | 561 | # Add or remove space between ')' and '{' of a function call in object | COMMENT |
| LOW | test/uncrustify.cfg | 721 | COMMENT | |
| LOW | test/uncrustify.cfg | 741 | # Default: remove | COMMENT |
| LOW | test/uncrustify.cfg | 841 | # | COMMENT |
| LOW | test/uncrustify.cfg | 901 | COMMENT | |
| LOW | test/uncrustify.cfg | 941 | # Default: 8 | COMMENT |
| LOW | test/uncrustify.cfg | 961 | indent_param = 0 # unsigned number | COMMENT |
| LOW | test/uncrustify.cfg | 1041 | # Whether to indent the stuff after a leading class initializer colon. | COMMENT |
| LOW | test/uncrustify.cfg | 1061 | indent_var_def_blk = 0 # number | COMMENT |
| LOW | test/uncrustify.cfg | 1081 | COMMENT | |
| LOW | test/uncrustify.cfg | 1121 | # This allows reducing the indent in macros that have (for example) | COMMENT |
| LOW | test/uncrustify.cfg | 1141 | # When opening a paren for a control statement (if, for, while, etc), increase | COMMENT |
| LOW | test/uncrustify.cfg | 1181 | indent_col1_multi_string_literal = false # true/false | COMMENT |
| LOW | test/uncrustify.cfg | 1201 | # If true, this option forces 'indent_access_spec=0'. | COMMENT |
| LOW | test/uncrustify.cfg | 1221 | indent_paren_after_func_decl = false # true/false | COMMENT |
| LOW | test/uncrustify.cfg | 1261 | COMMENT | |
| LOW | test/uncrustify.cfg | 1281 | # (OC) Whether to indent Objective-C blocks at brace level instead of usual | COMMENT |
| LOW | test/uncrustify.cfg | 1301 | # (OC) Whether to indent blocks the way that Xcode does by default | COMMENT |
| LOW | test/uncrustify.cfg | 1321 | COMMENT | |
| LOW | test/uncrustify.cfg | 1341 | # true: add both the indent from return & the compound literal open brace (ie: | COMMENT |
| LOW | test/uncrustify.cfg | 1581 | COMMENT | |
| LOW | test/uncrustify.cfg | 1621 | # Add or remove newline after 'template<...>' of a template class. | COMMENT |
| LOW | test/uncrustify.cfg | 1641 | # Overrides nl_template_class_def. | COMMENT |
| LOW | test/uncrustify.cfg | 1681 | # Add or remove newline before or after (depending on pos_class_comma, | COMMENT |
| LOW | test/uncrustify.cfg | 1981 | # into a single line. If true, prevents other brace newline rules from turning | COMMENT |
| LOW | test/uncrustify.cfg | 2001 | COMMENT | |
| LOW | test/uncrustify.cfg | 2061 | nl_after_func_class_proto_group = 0 # unsigned number | COMMENT |
| LOW | test/uncrustify.cfg | 2081 | # | COMMENT |
| LOW | test/uncrustify.cfg | 2101 | COMMENT | |
| LOW | test/uncrustify.cfg | 2161 | # | COMMENT |
| LOW | test/uncrustify.cfg | 2181 | # Overrides nl_typedef_blk_start and nl_var_def_blk_start. | COMMENT |
| LOW | test/uncrustify.cfg | 2201 | COMMENT | |
| LOW | test/uncrustify.cfg | 2241 | # | COMMENT |
| LOW | test/uncrustify.cfg | 2281 | # The position of the comma in the constructor initialization list. | COMMENT |
| LOW | test/uncrustify.cfg | 2341 | COMMENT | |
| LOW | test/uncrustify.cfg | 2361 | COMMENT | |
| LOW | test/uncrustify.cfg | 2381 | # The span for aligning variable definitions. | COMMENT |
| LOW | test/uncrustify.cfg | 2421 | align_var_def_inline = false # true/false | COMMENT |
| LOW | test/uncrustify.cfg | 2441 | # | COMMENT |
| LOW | test/uncrustify.cfg | 2461 | align_var_class_span = 0 # unsigned number | COMMENT |
| LOW | test/uncrustify.cfg | 2501 | # 0: Don't mix them at all (default) | COMMENT |
| LOW | test/uncrustify.cfg | 2521 | COMMENT | |
| LOW | test/uncrustify.cfg | 2541 | # may be "pulled in". | COMMENT |
| LOW | test/uncrustify.cfg | 2581 | # 0: Don't align (default). | COMMENT |
| LOW | test/uncrustify.cfg | 2621 | # (OC) Span for aligning parameters in an Objective-C message call | COMMENT |
| LOW | test/uncrustify.cfg | 2641 | # Comment modification options | COMMENT |
| LOW | test/uncrustify.cfg | 2701 | # For multi-line comments with a '*' lead, remove leading spaces if the first | COMMENT |
| LOW | test/uncrustify.cfg | 2721 | # '$(filename)', that will be replaced with the current file's name. | COMMENT |
| LOW | test/uncrustify.cfg | 2741 | # '@param' and '@return' stuff. | COMMENT |
| LOW | test/uncrustify.cfg | 2781 | COMMENT | |
| LOW | test/uncrustify.cfg | 2801 | COMMENT | |
| LOW | test/uncrustify.cfg | 2941 | # | COMMENT |
| LOW | test/uncrustify.cfg | 2981 | COMMENT | |
| 184 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/ci.py | 33 | CODE | |
| LOW | test/ci.py | 35 | CODE | |
| LOW | test/test.py | 35 | CODE | |
| LOW | test/lib/config/config.py | 8 | CODE | |
| LOW | test/lib/config/cli.py | 22 | CODE | |
| LOW | test/lib/command/lint/ascii.py | 8 | CODE | |
| LOW | test/lib/command/lint/line.py | 7 | CODE | |
| LOW | test/lib/command/lint/string_id.py | 10 | CODE | |
| LOW | test/lib/command/lint/lint.py | 15 | CODE | |
| LOW | test/lib/command/test/build.py | 14 | CODE | |
| LOW | test/lib/command/test/list.py | 9 | CODE | |
| LOW | test/lib/command/test/job.py | 17 | CODE | |
| LOW | test/lib/command/test/job.py | 20 | CODE | |
| LOW | test/lib/command/test/test.py | 11 | CODE | |
| LOW | test/lib/command/test/test.py | 22 | CODE | |
| LOW | test/lib/command/test/test.py | 25 | CODE | |
| LOW | test/lib/command/test/unit.py | 25 | CODE | |
| LOW | test/lib/command/test/unit.py | 27 | CODE | |
| LOW | test/lib/command/test/unit.py | 29 | CODE | |
| LOW | test/lib/command/code/format.py | 14 | CODE | |
| LOW | test/lib/command/vm/build.py | 23 | CODE | |
| LOW | test/lib/command/vm/build.py | 26 | CODE | |
| LOW | test/src/module/test/config/cli_test.py | 7 | CODE | |
| LOW | test/src/module/test/config/cli_test.py | 9 | CODE | |
| LOW | test/src/module/test/config/config_test.py | 7 | CODE | |
| LOW | test/src/module/test/config/config_test.py | 9 | CODE | |
| LOW | test/src/module/test/config/config_test.py | 10 | CODE | |
| LOW | test/src/module/test/config/config_test.py | 11 | CODE | |
| LOW | test/src/module/test/common/vm_test.py | 8 | CODE | |
| LOW | test/src/module/test/common/vm_test.py | 10 | CODE | |
| LOW | test/src/module/test/common/vm_test.py | 11 | CODE | |
| LOW | test/src/module/test/command/lint/lint_test.py | 13 | CODE | |
| LOW | test/src/module/test/command/lint/lint_test.py | 15 | CODE | |
| LOW | test/src/module/test/command/lint/lint_test.py | 16 | CODE | |
| LOW | test/src/module/test/command/lint/lint_test.py | 17 | CODE | |
| LOW | test/src/module/test/command/lint/lint_test.py | 18 | CODE | |
| LOW | test/src/module/test/command/lint/lint_test.py | 19 | CODE | |
| LOW | test/src/module/test/command/lint/lint_test.py | 20 | CODE | |
| LOW | test/src/module/test/command/test/unit_test.py | 14 | CODE | |
| LOW | test/src/module/test/command/test/unit_test.py | 16 | CODE | |
| LOW | test/src/module/test/command/test/unit_test.py | 17 | CODE | |
| LOW | test/src/module/test/command/test/unit_test.py | 18 | CODE | |
| LOW | test/src/module/test/command/test/define_test.py | 7 | CODE | |
| LOW | test/src/module/test/command/test/define_test.py | 9 | CODE | |
| LOW | test/src/module/test/command/test/define_test.py | 10 | CODE | |
| LOW | test/src/module/test/command/test/test_test.py | 16 | CODE | |
| LOW | test/src/module/test/command/test/test_test.py | 18 | CODE | |
| LOW | test/src/module/test/command/test/test_test.py | 19 | CODE | |
| LOW | test/src/module/test/command/test/test_test.py | 20 | CODE | |
| LOW | test/src/module/test/command/test/test_test.py | 22 | CODE | |
| LOW | test/src/module/test/command/test/build_test.py | 14 | CODE | |
| LOW | test/src/module/test/command/test/build_test.py | 16 | CODE | |
| LOW | test/src/module/test/command/test/build_test.py | 18 | CODE | |
| LOW | test/src/module/test/command/test/build_test.py | 19 | CODE | |
| LOW | test/src/module/test/command/test/python_test.py | 18 | CODE | |
| LOW | test/src/module/test/command/test/python_test.py | 20 | CODE | |
| LOW | test/src/module/test/command/test/job_test.py | 15 | CODE | |
| LOW | test/src/module/test/command/test/job_test.py | 20 | CODE | |
| LOW | test/src/module/test/command/test/job_test.py | 23 | CODE | |
| LOW | test/src/module/test/command/test/job_test.py | 26 | CODE | |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/ci.py | 121 | ["sudo mkdir -p /tmp/%s && sudo chown root:root /tmp/%s && sudo chmod 700 /tmp/%s" % ((PROJECT_EXE,) * 3)], | CODE |
| HIGH | test/ci.py | 158 | "sudo apt-get -qq update || true", | CODE |
| HIGH | test/lib/command/test/test.py | 291 | "chmod 700 -R %s/test-* 2>&1 || true && rm -rf %s/temp %s/test-* %s/data-*" | CODE |
| HIGH | test/lib/command/test/test.py | 291 | "chmod 700 -R %s/test-* 2>&1 || true && rm -rf %s/temp %s/test-* %s/data-*" | CODE |
| HIGH | test/lib/command/vm/build.py | 149 | return "getent group %s >/dev/null || addgroup -g%u %s" % (name, id, name) | CODE |
| HIGH | test/lib/command/vm/build.py | 173 | result += "service ssh restart && bash" | CODE |
| HIGH | test/src/module/test/command/vm/build_test.py | 126 | ENTRYPOINT service ssh restart && bash""" | CODE |
| HIGH | test/src/module/test/command/vm/build_test.py | 332 | assert_true("getent group %s >/dev/null || addgroup" % group_name() in script) | CODE |
| HIGH | test/src/module/doc/common/exec_test.py | 32 | exec_one("echo bad && false") | CODE |
| HIGH | test/src/module/doc/common/exec_test.py | 34 | assert_equal(str(error.exception), "echo bad && false terminated unexpectedly [1]: bad") | CODE |
| HIGH | doc/lib/common/eval.py | 7 | loosest and is split first, so "a || b && c" is "a || (b && c)".""" | STRING |
| HIGH | doc/lib/common/eval.py | 7 | loosest and is split first, so "a || b && c" is "a || (b && c)".""" | STRING |
| HIGH | doc/lib/command/render/html.py | 31 | "<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/src/module/test/command/test/unit_test.py | 335 | def test_unit_build_retry_clean(): | CODE |
| LOW | test/src/module/test/command/test/unit_test.py | 353 | def test_unit_build_retry_mode(): | CODE |
| LOW | test/src/module/test/command/code/format_test.py | 184 | def test_code_format_permission(): | CODE |
| LOW | test/src/module/test/command/vm/build_test.py | 305 | def test_container_script_test_vm(): | CODE |
| LOW | test/src/module/doc/config/project_test.py | 43 | def test_project_version_error(): | CODE |
| LOW | test/src/module/doc/common/var_store_test.py | 13 | def test_var_store_replace_str(): | CODE |
| LOW | test/src/module/doc/common/var_store_test.py | 38 | def test_var_store_replace_node(): | CODE |
| LOW | test/src/module/doc/command/render/manifest_test.py | 201 | def test_manifest_link_verify(): | CODE |
| LOW | test/src/module/doc/command/render/manifest_test.py | 281 | def test_manifest_cache_missing(): | CODE |
| LOW | test/src/module/doc/command/render/manifest_test.py | 294 | def test_manifest_cache_reset(): | CODE |
| LOW | test/src/module/doc/command/render/manifest_test.py | 316 | def test_manifest_cache_format(): | CODE |
| LOW | test/src/module/doc/command/render/release_test.py | 269 | def test_release_render_error(): | CODE |
| LOW | test/src/module/doc/command/render/release_test.py | 297 | def test_release_render_commit(): | CODE |
| LOW | test/src/module/doc/command/render/release_test.py | 328 | def test_release_render_contributor(): | CODE |
| LOW | test/src/module/doc/command/render/release_test.py | 371 | def test_release_render_contributor_default(): | CODE |
| LOW | test/src/module/doc/command/render/release_test.py | 391 | def test_release_render_commit_share(): | CODE |
| LOW | test/src/module/doc/command/render/release_test.py | 418 | def test_release_render_commit_ambiguous(): | CODE |
| LOW | test/src/module/doc/command/render/html_test.py | 468 | def test_html_render_cache_reset(): | CODE |
| LOW | test/src/module/doc/command/render/html_test.py | 498 | def test_page_highlight_missing(): | CODE |
| LOW | test/src/module/doc/command/render/html_test.py | 602 | def test_page_postgres_config(): | CODE |
| LOW | test/src/module/doc/command/render/markdown_test.py | 183 | def test_markdown_execute_error(): | CODE |
| LOW | test/src/module/doc/command/render/markdown_test.py | 259 | def test_markdown_render_cache_reset(): | CODE |
| LOW | test/src/module/doc/command/render/markdown_test.py | 285 | def test_markdown_render_default(): | CODE |
| LOW | test/src/module/doc/command/render/markdown_test.py | 335 | def test_markdown_execute_no_output(): | CODE |
| LOW | test/src/module/doc/command/render/host_test.py | 187 | def test_image_build_cached_miss(): | CODE |
| LOW | test/src/module/doc/command/render/host_test.py | 206 | def test_image_build_cached_fork(): | CODE |
| LOW | test/src/module/doc/command/render/host_test.py | 239 | def test_image_build_cached_push_fail(): | CODE |
| LOW | test/src/module/doc/command/render/execute_test.py | 598 | def test_backrest_config_remove(): | CODE |
| LOW | test/src/module/doc/command/render/execute_test.py | 951 | def test_backrest_config_reset(): | CODE |
| LOW | test/src/module/doc/command/render/execute_test.py | 986 | def test_backrest_config_hidden(): | CODE |
| LOW | test/src/module/doc/command/render/execute_test.py | 1015 | def test_backrest_config_remove_one(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/lib/command/lint/ascii.py | 15 | CODE | |
| LOW | test/lib/command/test/build.py | 50 | CODE | |
| LOW | test/lib/command/test/build.py | 154 | CODE | |
| LOW | test/lib/command/test/list.py | 89 | CODE | |
| LOW | test/lib/command/test/define.py | 149 | CODE | |
| LOW | test/lib/command/test/test.py | 139 | CODE | |
| LOW | test/lib/command/test/test.py | 221 | CODE | |
| LOW | test/lib/command/vm/build.py | 267 | CODE | |
| LOW | test/lib/command/vm/build.py | 539 | CODE | |
| LOW | test/src/module/test/command/test/unit_test.py | 113 | CODE | |
| LOW | test/src/module/test/command/test/test_test.py | 172 | CODE | |
| LOW | test/src/module/test/command/test/python_test.py | 170 | CODE | |
| LOW | test/src/module/test/command/test/job_test.py | 122 | CODE | |
| LOW | test/src/module/test/command/code/format_test.py | 63 | CODE | |
| LOW | test/src/module/test/command/vm/build_test.py | 392 | CODE | |
| LOW | doc/lib/common/eval.py | 22 | CODE | |
| LOW | doc/lib/command/render/release.py | 308 | CODE | |
| LOW | doc/lib/command/render/release.py | 394 | CODE | |
| LOW | doc/lib/command/render/manifest.py | 126 | CODE | |
| LOW | doc/lib/command/render/render.py | 215 | CODE | |
| LOW | doc/lib/command/render/render.py | 340 | CODE | |
| LOW | doc/lib/command/render/render.py | 397 | CODE | |
| LOW | doc/lib/command/render/render.py | 500 | CODE | |
| LOW | doc/lib/command/render/execute.py | 197 | CODE | |
| LOW | doc/lib/command/render/html.py | 209 | CODE | |
| LOW | doc/lib/command/render/html.py | 321 | CODE | |
| LOW | doc/lib/command/render/html.py | 428 | CODE | |
| LOW | doc/lib/command/render/markdown.py | 48 | CODE | |
| LOW | doc/lib/command/render/markdown.py | 104 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/lib/config/config.py | 0 | parse the command line and apply the rules that cannot be expressed in the parser. | STRING |
| HIGH | doc/release.py | 0 | parse the command line and apply the rules that cannot be expressed in the parser. | STRING |
| HIGH | doc/lib/command/doc.py | 0 | parse the command line and apply the rules that cannot be expressed in the parser. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test/smoke.py | 385 | # Create the stanza and confirm archiving works end to end | COMMENT |
| MEDIUM | test/lib/command/test/test.py | 338 | # Create the repository copy path first so an obvious rsync error is reported rather than a confusing one | COMMENT |
| MEDIUM | doc/xml/user-guide.xml | 351 | # Create an ssh key for root so all hosts can ssh to each other as root | COMMENT |
| MEDIUM | doc/xml/user-guide.xml | 428 | # Create an ssh key for root so all hosts can ssh to each other as root | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | test/src/harness/server.c | 304 | // Generate as many TLS errors as requested | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/ci.py | 201 | except Exception as error: | CODE |
| LOW | test/test.py | 89 | except Exception as error: | CODE |
| LOW | doc/release.py | 393 | except Exception as error: | CODE |
| LOW | doc/doc.py | 59 | except Exception as error: | CODE |
| LOW | doc/lib/common/var_store.py | 31 | except Exception as error: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | doc/xml/user-guide.xml | 3779 | <p>For demonstration purposes streaming replication will be broken to force <postgres/> to get WAL using the <pg | CODE |
| MEDIUM | src/common/type/pack.h | 36 | Here is a simple example of a pack: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/lib/command/lint/lint.py | 99 | # Read the file, skipping any that cannot be read. Committed files are always readable after checkout, so this o | COMMENT |
| LOW | test/lib/command/test/test.py | 186 | # Assign tests to the vms that are free | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | test/lib/harness/test.py | 39 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | doc/xml/user-guide.xml | 1072 | git config --global user.email "test@test.com" && | CODE |