Reliable PostgreSQL Backup & Restore
This report summarizes scanner evidence for pgbackrest/pgbackrest, a C project with 4,429 GitHub stars. SynthScan examined 224,526 lines of code across 793 source files, recording 946 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 9.7 (Moderate pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 656 finding(s).
Are imports declared and package/API names verified? 139 finding(s).
Are wrappers, guards, and repeated structures necessary? 183 finding(s).
Which changes need focused human review? 946 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 946 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| 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 | 1257 | # 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 | 387 | # 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 | 396 | # 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/job.py | 215 | # The data path is created even for a performance test, which writes nothing to it, since the harness clears | COMMENT |
| MEDIUM | test/lib/command/test/test.py | 150 | # not run the code generation that the build does. The interfaces the harness uses are not part of the build at all, | 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 | 235 | # 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 | 597 | # 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/lint/lint_test.py | 537 | # A header, a generated .auto.c.inc, C source outside src, a python module in the test harness, and a code module on | 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 | 249 | # The harness and the documentation tool live beside their own source | COMMENT |
| MEDIUM⚡ | test/src/module/test/command/test/define_test.py | 297 | # A test declared before the harness does not have it | COMMENT |
| MEDIUM⚡ | test/src/module/test/command/test/define_test.py | 300 | # A bare name is a harness that includes nothing | COMMENT |
| MEDIUM⚡ | test/src/module/test/command/test/define_test.py | 308 | # A harness that shims modules includes them in the order they are listed | COMMENT |
| MEDIUM | test/src/module/test/command/test/define_test.py | 323 | # 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 | 330 | # The shim takes the integration flag of the harness that declared it | COMMENT |
| MEDIUM | test/src/module/test/command/test/test_test.py | 255 | # The interfaces the harness uses are generated into the repository, the same as everything else, even though no | 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 | 434 | # 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 | 448 | # 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 | 449 | # 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 | 466 | # The wrapper includes the harness rather than the module, since the harness is what pulls the module in. Both c | COMMENT |
| 274 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | CONTRIBUTING.md | 677 | # ---------------------------------------------------------------------------------------------------------------------- | 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 | 435 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 443 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 450 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 538 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 545 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 552 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 679 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 687 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 694 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 701 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 756 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 763 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 771 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 807 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 816 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 823 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 833 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 841 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 851 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 916 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 923 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 933 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 942 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 949 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 956 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 963 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1028 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1034 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1040 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1046 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1052 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1058 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1064 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | test/define.yaml | 1070 | # -------------------------------------------------------------------------------------------------------------------- | COMMENT |
| 79 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 | |
| 190 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 | 21 | 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/macro.py | 17 | CODE | |
| LOW | test/lib/command/lint/lint.py | 22 | 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 | 23 | CODE | |
| LOW | test/lib/command/test/test.py | 26 | 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 | 14 | 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/lint/lint_test.py | 21 | CODE | |
| LOW | test/src/module/test/command/lint/lint_test.py | 22 | CODE | |
| LOW | test/src/module/test/command/lint/lint_test.py | 23 | 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 | |
| 63 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/lib/command/test/test.py | 346 | "chmod 700 -R %s/test-* 2>&1 || true && rm -rf %s/temp %s/test-* %s/data-*" | CODE |
| HIGH | test/lib/command/test/test.py | 346 | "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 | 166 | "badname=$(adduser --help 2>&1 | grep -q -- --allow-bad-names && echo --allow-bad-names || " | CODE |
| HIGH | test/lib/command/vm/build.py | 182 | result += "service ssh restart && bash" | CODE |
| HIGH | test/src/module/test/command/vm/build_test.py | 99 | badname=$(adduser --help 2>&1 | grep -q -- --allow-bad-names && echo --allow-bad-names || echo --force-badname) && \ | CODE |
| HIGH | test/src/module/test/command/vm/build_test.py | 99 | badname=$(adduser --help 2>&1 | grep -q -- --allow-bad-names && echo --allow-bad-names || echo --force-badname) && \ | CODE |
| HIGH | test/src/module/test/command/vm/build_test.py | 127 | ENTRYPOINT service ssh restart && bash""" | CODE |
| HIGH | test/src/module/test/command/vm/build_test.py | 333 | 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/lib/command/lint/lex.py | 91 | CODE | |
| LOW | test/lib/command/lint/ascii.py | 15 | CODE | |
| LOW | test/lib/command/lint/macro.py | 70 | CODE | |
| LOW | test/lib/command/lint/lint.py | 97 | 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 | 187 | CODE | |
| LOW | test/lib/command/test/test.py | 276 | CODE | |
| LOW | test/lib/command/vm/build.py | 276 | CODE | |
| LOW | test/lib/command/vm/build.py | 548 | 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 | 393 | 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 |
|---|---|---|---|---|
| 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/test/define_test.py | 243 | def test_define_coverage_file(): | 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 | 306 | 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 | 192 | def test_image_build_cached_miss(): | CODE |
| LOW | test/src/module/doc/command/render/host_test.py | 211 | def test_image_build_cached_fork(): | CODE |
| LOW | test/src/module/doc/command/render/host_test.py | 244 | 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 |
|---|---|---|---|---|
| HIGH | test/smoke.py | 453 | except SmokeError: | CODE |
| HIGH | test/smoke.py | 433 | except SmokeError: | CODE |
| HIGH | test/lib/command/test/unit.py | 38 | except FileNotFoundError: | 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 | 386 | # Create the stanza and confirm archiving works end to end | 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 | 199 | except Exception as error: | CODE |
| LOW | test/test.py | 89 | except Exception as error: | CODE |
| LOW | doc/release.py | 426 | 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 | 142 | # 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 | 234 | # 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 |