AI Slop Code RIsk Monitor

pgbackrest/pgbackrest

Reliable PostgreSQL Backup & Restore

9.7 Moderate pattern signal View on GitHub

Maintenance and Governance Review

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.

9.7
Adjusted Signal
9.7
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
4.4K
Stars
C
Language
224.5K
Lines of Code
793
Files
946
Pattern Hits
2026-10-12
Scan Date
0.03
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 30.3/100 · MEDIUM

Can maintainers explain intent, assumptions, and trade-offs? 656 finding(s).

Hallucinated Dependency & Supply Chain Risk 4.2/100 · LOW

Are imports declared and package/API names verified? 139 finding(s).

Agent Over-Engineering Ratio 8.5/100 · LOW

Are wrappers, guards, and repeated structures necessary? 183 finding(s).

PR Review Velocity Impact 36.1/100 · MEDIUM

Which changes need focused human review? 946 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

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.

Severity Breakdown

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.

CRITICAL 0HIGH 22MEDIUM 476LOW 448

Directory Score Breakdown

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.

Pattern Findings

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.

AI Slop Vocabulary334 hits · 1313 pts
SeverityFileLineSnippetContext
MEDIUMtest/uncrustify.cfg3091# Whether to apply special formatting for Qt SIGNAL/SLOT macros. Essentially,COMMENT
MEDIUM⚡test/define.yaml15# * define - defines for C code (will also be applied to the test harness)COMMENT
MEDIUM⚡test/define.yaml22# * feature - Defines a feature that is now available in the harness. For example, the "error" feature defines HRN_FCOMMENT
MEDIUM⚡test/define.yaml25# * harness - Adds a harness module that contains functions to aid in testing. For example, the "log" harness includCOMMENT
MEDIUM⚡test/define.yaml26# harness/log module to aid in expect log testing.COMMENT
MEDIUM⚡test/define.yaml27# * shim - list of modules that are shimmed in the harness, included in the order listed. This allows the harness COMMENT
MEDIUM⚡test/define.yaml30# _SHIMMED and an implementation with the same function signature must be provided in the harness. Generally speCOMMENT
MEDIUM⚡test/define.yaml1257 # The test library, which sits on top of the doc library. It is the harness that runs everything here, so it is declarCOMMENT
MEDIUM⚡test/ci.py22# Do not cache bytecode. The harness runs from a copy of the repository that the linter then scans, so a __pycache__ wriCOMMENT
MEDIUM⚡test/ci.py23# import would be reported as an unexpected binary file. This must be set before the harness modules are imported below.COMMENT
MEDIUM⚡test/ci.py26# Each tool keeps its library beside itself and may use the libraries below it in the hierarchy, which for the harness iCOMMENT
MEDIUM⚡test/ci.py27# them. Insert them first, lowest last, so the harness modules are found before anything else on the path.COMMENT
MEDIUM⚡test/test.py21# Do not cache bytecode. The harness runs from a copy of the repository that the linter then scans, so a __pycache__ wriCOMMENT
MEDIUM⚡test/test.py22# import would be reported as an unexpected binary file. This must be set before the harness modules are imported below.COMMENT
MEDIUM⚡test/test.py25# Each tool keeps its library beside itself and may use the libraries below it in the hierarchy, which for the harness iCOMMENT
MEDIUM⚡test/test.py26# them. Insert them first, lowest last, so the harness modules are found before anything else on the path.COMMENT
MEDIUMtest/test.py90 # An unexpected exception is a harness bug, so show the stack trace. It goes to stdout like everything else.COMMENT
MEDIUMtest/lib/harness/test.py37# What a test module gets from "from harness.test import *". Listing it here means a test module never has to update itsCOMMENT
MEDIUMtest/lib/command/test/build.py162 # The shim module .c is always shimmed and written since the harness includes it. A function may instead be COMMENT
MEDIUMtest/lib/command/test/build.py208 # Skip this harness for integration testsCOMMENT
MEDIUMtest/lib/command/test/build.py214 # If there are includes then copy and update the harnessCOMMENT
MEDIUMtest/lib/command/test/build.py228 # Else harness can be referenced directly from the repo pathCOMMENT
MEDIUMtest/lib/command/test/build.py301 # Add harness dependsCOMMENT
MEDIUMtest/lib/command/test/build.py307 # Skip the harness when one of its includes is covered or included by the module, since test.c includes it dCOMMENT
MEDIUMtest/lib/command/test/build.py387 # Files to test/include. A file covered by a harness is pulled in by including that harness instead.COMMENT
MEDIUMtest/lib/command/test/build.py396 # A module pulled in by a harness is covered by including that harness rather than the module itselfCOMMENT
MEDIUMtest/lib/command/test/define.py102 self.include_list = include_list # Modules included directly in the harness, in the order they are includedCODE
MEDIUMtest/lib/command/test/define.py198 # Shim modules are included in the harness in the order listedCOMMENT
MEDIUMtest/lib/command/test/define.py204 # Apply the harness integration flag to its shims now that the whole harness has been parsedCOMMENT
MEDIUMtest/lib/command/test/job.py137 # A python test is run by the harness above so there is no binary to run hereCOMMENT
MEDIUMtest/lib/command/test/job.py215 # The data path is created even for a performance test, which writes nothing to it, since the harness clearsCOMMENT
MEDIUMtest/lib/command/test/test.py150 # not run the code generation that the build does. The interfaces the harness uses are not part of the build at all,COMMENT
MEDIUMtest/lib/command/test/unit.py89 # Coverage is written where the caller asks for it, since the harness runs from a copy of the repository and the repCOMMENT
MEDIUM⚡test/lib/command/test/python.py19# Library the harness itself lives in, which is the one this script is part ofCOMMENT
MEDIUM⚡test/lib/command/test/python.py28 # 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.py32 # The test harness is support for the tests rather than part of the harness under test, so it is always availablCOMMENT
MEDIUMtest/lib/command/test/python.py106 # The libraries the test may import from come first, in the order given, followed by the harness library the tests tCOMMENT
MEDIUMtest/lib/command/test/python.py125 # Imported here rather than at the top so the guard above is installed before the harness is loadedCOMMENT
MEDIUMtest/lib/command/vm/build.py235 # The test harness needs a python3 that PyYAML is packaged for. Where that is not the platform python, which mesCOMMENT
LOWtest/lib/command/vm/build.py597 # forks; those just use the image they built.COMMENT
MEDIUM⚡test/src/test.c119#include "harness/debug.h"COMMENT
MEDIUM⚡test/src/test.c120#include "harness/test.intern.h"COMMENT
MEDIUM⚡test/src/test.c130#include "harness/log.h"COMMENT
MEDIUMtest/src/test.c141#include "harness/server.h"COMMENT
MEDIUMtest/src/module/test/config/config_test.py61 # Paths are normalized so the harness does not depend on the working directoryCOMMENT
MEDIUMtest/src/module/test/command/lint/lint_test.py537 # A header, a generated .auto.c.inc, C source outside src, a python module in the test harness, and a code module onCOMMENT
MEDIUMtest/src/module/test/command/test/unit_test.py192 # The path is created since the harness runs from a copy of the repository and the report is built from the origCOMMENT
MEDIUMtest/src/module/test/command/test/define_test.py249 # The harness and the documentation tool live beside their own sourceCOMMENT
MEDIUM⚡test/src/module/test/command/test/define_test.py297 # A test declared before the harness does not have itCOMMENT
MEDIUM⚡test/src/module/test/command/test/define_test.py300 # A bare name is a harness that includes nothingCOMMENT
MEDIUM⚡test/src/module/test/command/test/define_test.py308 # A harness that shims modules includes them in the order they are listedCOMMENT
MEDIUMtest/src/module/test/command/test/define_test.py323 # A shimmed module with no functions is included in the harness but has nothing to shimCOMMENT
MEDIUMtest/src/module/test/command/test/define_test.py330 # The shim takes the integration flag of the harness that declared itCOMMENT
MEDIUMtest/src/module/test/command/test/test_test.py255 # The interfaces the harness uses are generated into the repository, the same as everything else, even though noCOMMENT
MEDIUMtest/src/module/test/command/test/build_test.py22# The repository the build reads. Only the modules a harness shims are read as source, so those are the only ones writteCOMMENT
MEDIUMtest/src/module/test/command/test/build_test.py89# A module a harness shims, with an extern function, a static function, and a function defined in an included moduleSTRING
MEDIUMtest/src/module/test/command/test/build_test.py434 # The harness includes the shimmed copy rather than the one in the repository, while a module it reaches into buCOMMENT
MEDIUMtest/src/module/test/command/test/build_test.py448 # The feature the module introduces is defined, the modules it depends on are compiled in, and the harness has iCOMMENT
MEDIUMtest/src/module/test/command/test/build_test.py449 # source compiled in. The harness itself is not, since the wrapper includes it directly.COMMENT
MEDIUM⚡test/src/module/test/command/test/build_test.py466 # The wrapper includes the harness rather than the module, since the harness is what pulls the module in. Both cCOMMENT
274 more matches not shown…
Decorative Section Separators139 hits · 331 pts
SeverityFileLineSnippetContext
MEDIUMCONTRIBUTING.md677# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml79 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml87 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml92 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml100 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml110 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml114 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml127 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml135 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml142 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml149 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml156 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml188 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml195 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml202 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml210 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml218 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml230 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml239 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml246 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml253 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml260 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml267 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml274 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml282 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml289 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml435 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml443 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml450 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml538 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml545 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml552 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml679 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml687 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml694 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml701 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml756 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml763 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml771 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml807 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml816 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml823 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml833 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml841 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml851 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml916 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml923 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml933 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml942 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml949 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml956 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml963 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml1028 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml1034 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml1040 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml1046 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml1052 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml1058 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml1064 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUM⚡test/define.yaml1070 # --------------------------------------------------------------------------------------------------------------------COMMENT
79 more matches not shown…
Over-Commented Block250 hits · 222 pts
SeverityFileLineSnippetContext
LOWtest/uncrustify.cfg1# Uncrustify-0.72.0_fCOMMENT
LOWtest/uncrustify.cfg21COMMENT
LOWtest/uncrustify.cfg41disable_processing_nl_cont = false # true/falseCOMMENT
LOWtest/uncrustify.cfg81COMMENT
LOWtest/uncrustify.cfg141# Add or remove space after assignment '=' in enum.COMMENT
LOWtest/uncrustify.cfg221# Add or remove space before a reference sign '&'.COMMENT
LOWtest/uncrustify.cfg241sp_before_byref_func = remove # ignore/add/remove/forceCOMMENT
LOWtest/uncrustify.cfg561# Add or remove space between ')' and '{' of a function call in objectCOMMENT
LOWtest/uncrustify.cfg721COMMENT
LOWtest/uncrustify.cfg741# Default: removeCOMMENT
LOWtest/uncrustify.cfg841#COMMENT
LOWtest/uncrustify.cfg901COMMENT
LOWtest/uncrustify.cfg941# Default: 8COMMENT
LOWtest/uncrustify.cfg961indent_param = 0 # unsigned numberCOMMENT
LOWtest/uncrustify.cfg1041# Whether to indent the stuff after a leading class initializer colon.COMMENT
LOWtest/uncrustify.cfg1061indent_var_def_blk = 0 # numberCOMMENT
LOWtest/uncrustify.cfg1081COMMENT
LOWtest/uncrustify.cfg1121# This allows reducing the indent in macros that have (for example)COMMENT
LOWtest/uncrustify.cfg1141# When opening a paren for a control statement (if, for, while, etc), increaseCOMMENT
LOWtest/uncrustify.cfg1181indent_col1_multi_string_literal = false # true/falseCOMMENT
LOWtest/uncrustify.cfg1201# If true, this option forces 'indent_access_spec=0'.COMMENT
LOWtest/uncrustify.cfg1221indent_paren_after_func_decl = false # true/falseCOMMENT
LOWtest/uncrustify.cfg1261COMMENT
LOWtest/uncrustify.cfg1281# (OC) Whether to indent Objective-C blocks at brace level instead of usualCOMMENT
LOWtest/uncrustify.cfg1301# (OC) Whether to indent blocks the way that Xcode does by defaultCOMMENT
LOWtest/uncrustify.cfg1321COMMENT
LOWtest/uncrustify.cfg1341# true: add both the indent from return & the compound literal open brace (ie:COMMENT
LOWtest/uncrustify.cfg1581COMMENT
LOWtest/uncrustify.cfg1621# Add or remove newline after 'template<...>' of a template class.COMMENT
LOWtest/uncrustify.cfg1641# Overrides nl_template_class_def.COMMENT
LOWtest/uncrustify.cfg1681# Add or remove newline before or after (depending on pos_class_comma,COMMENT
LOWtest/uncrustify.cfg1981# into a single line. If true, prevents other brace newline rules from turningCOMMENT
LOWtest/uncrustify.cfg2001COMMENT
LOWtest/uncrustify.cfg2061nl_after_func_class_proto_group = 0 # unsigned numberCOMMENT
LOWtest/uncrustify.cfg2081#COMMENT
LOWtest/uncrustify.cfg2101COMMENT
LOWtest/uncrustify.cfg2161#COMMENT
LOWtest/uncrustify.cfg2181# Overrides nl_typedef_blk_start and nl_var_def_blk_start.COMMENT
LOWtest/uncrustify.cfg2201COMMENT
LOWtest/uncrustify.cfg2241#COMMENT
LOWtest/uncrustify.cfg2281# The position of the comma in the constructor initialization list.COMMENT
LOWtest/uncrustify.cfg2341COMMENT
LOWtest/uncrustify.cfg2361COMMENT
LOWtest/uncrustify.cfg2381# The span for aligning variable definitions.COMMENT
LOWtest/uncrustify.cfg2421align_var_def_inline = false # true/falseCOMMENT
LOWtest/uncrustify.cfg2441#COMMENT
LOWtest/uncrustify.cfg2461align_var_class_span = 0 # unsigned numberCOMMENT
LOWtest/uncrustify.cfg2501# 0: Don't mix them at all (default)COMMENT
LOWtest/uncrustify.cfg2521COMMENT
LOWtest/uncrustify.cfg2541# may be "pulled in".COMMENT
LOWtest/uncrustify.cfg2581# 0: Don't align (default).COMMENT
LOWtest/uncrustify.cfg2621# (OC) Span for aligning parameters in an Objective-C message callCOMMENT
LOWtest/uncrustify.cfg2641# Comment modification optionsCOMMENT
LOWtest/uncrustify.cfg2701# For multi-line comments with a '*' lead, remove leading spaces if the firstCOMMENT
LOWtest/uncrustify.cfg2721# '$(filename)', that will be replaced with the current file's name.COMMENT
LOWtest/uncrustify.cfg2741# '@param' and '@return' stuff.COMMENT
LOWtest/uncrustify.cfg2781COMMENT
LOWtest/uncrustify.cfg2801COMMENT
LOWtest/uncrustify.cfg2941#COMMENT
LOWtest/uncrustify.cfg2981COMMENT
190 more matches not shown…
Unused Imports123 hits · 123 pts
SeverityFileLineSnippetContext
LOWtest/ci.py33CODE
LOWtest/ci.py35CODE
LOWtest/test.py35CODE
LOWtest/lib/config/config.py8CODE
LOWtest/lib/config/cli.py21CODE
LOWtest/lib/command/lint/ascii.py8CODE
LOWtest/lib/command/lint/line.py7CODE
LOWtest/lib/command/lint/string_id.py10CODE
LOWtest/lib/command/lint/macro.py17CODE
LOWtest/lib/command/lint/lint.py22CODE
LOWtest/lib/command/test/build.py14CODE
LOWtest/lib/command/test/list.py9CODE
LOWtest/lib/command/test/job.py17CODE
LOWtest/lib/command/test/job.py20CODE
LOWtest/lib/command/test/test.py11CODE
LOWtest/lib/command/test/test.py23CODE
LOWtest/lib/command/test/test.py26CODE
LOWtest/lib/command/test/unit.py25CODE
LOWtest/lib/command/test/unit.py27CODE
LOWtest/lib/command/test/unit.py29CODE
LOWtest/lib/command/code/format.py14CODE
LOWtest/lib/command/vm/build.py23CODE
LOWtest/lib/command/vm/build.py26CODE
LOWtest/src/module/test/config/cli_test.py7CODE
LOWtest/src/module/test/config/cli_test.py9CODE
LOWtest/src/module/test/config/config_test.py7CODE
LOWtest/src/module/test/config/config_test.py9CODE
LOWtest/src/module/test/config/config_test.py10CODE
LOWtest/src/module/test/config/config_test.py11CODE
LOWtest/src/module/test/common/vm_test.py8CODE
LOWtest/src/module/test/common/vm_test.py10CODE
LOWtest/src/module/test/common/vm_test.py11CODE
LOWtest/src/module/test/command/lint/lint_test.py14CODE
LOWtest/src/module/test/command/lint/lint_test.py16CODE
LOWtest/src/module/test/command/lint/lint_test.py17CODE
LOWtest/src/module/test/command/lint/lint_test.py18CODE
LOWtest/src/module/test/command/lint/lint_test.py19CODE
LOWtest/src/module/test/command/lint/lint_test.py20CODE
LOWtest/src/module/test/command/lint/lint_test.py21CODE
LOWtest/src/module/test/command/lint/lint_test.py22CODE
LOWtest/src/module/test/command/lint/lint_test.py23CODE
LOWtest/src/module/test/command/test/unit_test.py14CODE
LOWtest/src/module/test/command/test/unit_test.py16CODE
LOWtest/src/module/test/command/test/unit_test.py17CODE
LOWtest/src/module/test/command/test/unit_test.py18CODE
LOWtest/src/module/test/command/test/define_test.py7CODE
LOWtest/src/module/test/command/test/define_test.py9CODE
LOWtest/src/module/test/command/test/define_test.py10CODE
LOWtest/src/module/test/command/test/test_test.py16CODE
LOWtest/src/module/test/command/test/test_test.py18CODE
LOWtest/src/module/test/command/test/test_test.py19CODE
LOWtest/src/module/test/command/test/test_test.py20CODE
LOWtest/src/module/test/command/test/test_test.py22CODE
LOWtest/src/module/test/command/test/build_test.py14CODE
LOWtest/src/module/test/command/test/build_test.py16CODE
LOWtest/src/module/test/command/test/build_test.py18CODE
LOWtest/src/module/test/command/test/build_test.py19CODE
LOWtest/src/module/test/command/test/python_test.py18CODE
LOWtest/src/module/test/command/test/python_test.py20CODE
LOWtest/src/module/test/command/test/job_test.py15CODE
63 more matches not shown…
Cross-Language Confusion15 hits · 70 pts
SeverityFileLineSnippetContext
HIGHtest/ci.py121 ["sudo mkdir -p /tmp/%s && sudo chown root:root /tmp/%s && sudo chmod 700 /tmp/%s" % ((PROJECT_EXE,) * 3)],CODE
HIGHtest/lib/command/test/test.py346 "chmod 700 -R %s/test-* 2>&1 || true && rm -rf %s/temp %s/test-* %s/data-*"CODE
HIGHtest/lib/command/test/test.py346 "chmod 700 -R %s/test-* 2>&1 || true && rm -rf %s/temp %s/test-* %s/data-*"CODE
HIGHtest/lib/command/vm/build.py149 return "getent group %s >/dev/null || addgroup -g%u %s" % (name, id, name)CODE
HIGHtest/lib/command/vm/build.py166 "badname=$(adduser --help 2>&1 | grep -q -- --allow-bad-names && echo --allow-bad-names || "CODE
HIGHtest/lib/command/vm/build.py182 result += "service ssh restart && bash"CODE
HIGHtest/src/module/test/command/vm/build_test.py99 badname=$(adduser --help 2>&1 | grep -q -- --allow-bad-names && echo --allow-bad-names || echo --force-badname) && \CODE
HIGHtest/src/module/test/command/vm/build_test.py99 badname=$(adduser --help 2>&1 | grep -q -- --allow-bad-names && echo --allow-bad-names || echo --force-badname) && \CODE
HIGHtest/src/module/test/command/vm/build_test.py127ENTRYPOINT service ssh restart && bash"""CODE
HIGHtest/src/module/test/command/vm/build_test.py333 assert_true("getent group %s >/dev/null || addgroup" % group_name() in script)CODE
HIGHtest/src/module/doc/common/exec_test.py32 exec_one("echo bad && false")CODE
HIGHtest/src/module/doc/common/exec_test.py34 assert_equal(str(error.exception), "echo bad && false terminated unexpectedly [1]: bad")CODE
HIGHdoc/lib/common/eval.py7loosest and is split first, so "a || b && c" is "a || (b && c)"."""STRING
HIGHdoc/lib/common/eval.py7loosest and is split first, so "a || b && c" is "a || (b && c)"."""STRING
HIGHdoc/lib/command/render/html.py31 "<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}"CODE
Deep Nesting32 hits · 32 pts
SeverityFileLineSnippetContext
LOWtest/lib/command/lint/lex.py91CODE
LOWtest/lib/command/lint/ascii.py15CODE
LOWtest/lib/command/lint/macro.py70CODE
LOWtest/lib/command/lint/lint.py97CODE
LOWtest/lib/command/test/build.py50CODE
LOWtest/lib/command/test/build.py154CODE
LOWtest/lib/command/test/list.py89CODE
LOWtest/lib/command/test/define.py149CODE
LOWtest/lib/command/test/test.py187CODE
LOWtest/lib/command/test/test.py276CODE
LOWtest/lib/command/vm/build.py276CODE
LOWtest/lib/command/vm/build.py548CODE
LOWtest/src/module/test/command/test/unit_test.py113CODE
LOWtest/src/module/test/command/test/test_test.py172CODE
LOWtest/src/module/test/command/test/python_test.py170CODE
LOWtest/src/module/test/command/test/job_test.py122CODE
LOWtest/src/module/test/command/code/format_test.py63CODE
LOWtest/src/module/test/command/vm/build_test.py393CODE
LOWdoc/lib/common/eval.py22CODE
LOWdoc/lib/command/render/release.py308CODE
LOWdoc/lib/command/render/release.py394CODE
LOWdoc/lib/command/render/manifest.py126CODE
LOWdoc/lib/command/render/render.py215CODE
LOWdoc/lib/command/render/render.py340CODE
LOWdoc/lib/command/render/render.py397CODE
LOWdoc/lib/command/render/render.py500CODE
LOWdoc/lib/command/render/execute.py197CODE
LOWdoc/lib/command/render/html.py209CODE
LOWdoc/lib/command/render/html.py321CODE
LOWdoc/lib/command/render/html.py428CODE
LOWdoc/lib/command/render/markdown.py48CODE
LOWdoc/lib/command/render/markdown.py104CODE
Hyper-Verbose Identifiers32 hits · 32 pts
SeverityFileLineSnippetContext
LOWtest/src/module/test/command/test/unit_test.py335def test_unit_build_retry_clean():CODE
LOWtest/src/module/test/command/test/unit_test.py353def test_unit_build_retry_mode():CODE
LOWtest/src/module/test/command/test/define_test.py243def test_define_coverage_file():CODE
LOWtest/src/module/test/command/code/format_test.py184def test_code_format_permission():CODE
LOWtest/src/module/test/command/vm/build_test.py306def test_container_script_test_vm():CODE
LOWtest/src/module/doc/config/project_test.py43def test_project_version_error():CODE
LOWtest/src/module/doc/common/var_store_test.py13def test_var_store_replace_str():CODE
LOWtest/src/module/doc/common/var_store_test.py38def test_var_store_replace_node():CODE
LOWtest/src/module/doc/command/render/manifest_test.py201def test_manifest_link_verify():CODE
LOWtest/src/module/doc/command/render/manifest_test.py281def test_manifest_cache_missing():CODE
LOWtest/src/module/doc/command/render/manifest_test.py294def test_manifest_cache_reset():CODE
LOWtest/src/module/doc/command/render/manifest_test.py316def test_manifest_cache_format():CODE
LOWtest/src/module/doc/command/render/release_test.py269def test_release_render_error():CODE
LOWtest/src/module/doc/command/render/release_test.py297def test_release_render_commit():CODE
LOWtest/src/module/doc/command/render/release_test.py328def test_release_render_contributor():CODE
LOWtest/src/module/doc/command/render/release_test.py371def test_release_render_contributor_default():CODE
LOWtest/src/module/doc/command/render/release_test.py391def test_release_render_commit_share():CODE
LOWtest/src/module/doc/command/render/release_test.py418def test_release_render_commit_ambiguous():CODE
LOWtest/src/module/doc/command/render/html_test.py468def test_html_render_cache_reset():CODE
LOWtest/src/module/doc/command/render/html_test.py498def test_page_highlight_missing():CODE
LOWtest/src/module/doc/command/render/html_test.py602def test_page_postgres_config():CODE
LOWtest/src/module/doc/command/render/markdown_test.py183def test_markdown_execute_error():CODE
LOWtest/src/module/doc/command/render/markdown_test.py259def test_markdown_render_cache_reset():CODE
LOWtest/src/module/doc/command/render/markdown_test.py285def test_markdown_render_default():CODE
LOWtest/src/module/doc/command/render/markdown_test.py335def test_markdown_execute_no_output():CODE
LOWtest/src/module/doc/command/render/host_test.py192def test_image_build_cached_miss():CODE
LOWtest/src/module/doc/command/render/host_test.py211def test_image_build_cached_fork():CODE
LOWtest/src/module/doc/command/render/host_test.py244def test_image_build_cached_push_fail():CODE
LOWtest/src/module/doc/command/render/execute_test.py598def test_backrest_config_remove():CODE
LOWtest/src/module/doc/command/render/execute_test.py951def test_backrest_config_reset():CODE
LOWtest/src/module/doc/command/render/execute_test.py986def test_backrest_config_hidden():CODE
LOWtest/src/module/doc/command/render/execute_test.py1015def test_backrest_config_remove_one():CODE
Empty Error Handlers3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtest/smoke.py453except SmokeError:CODE
HIGHtest/smoke.py433except SmokeError:CODE
HIGHtest/lib/command/test/unit.py38except FileNotFoundError:CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtest/lib/config/config.py0parse the command line and apply the rules that cannot be expressed in the parser.STRING
HIGHdoc/release.py0parse the command line and apply the rules that cannot be expressed in the parser.STRING
HIGHdoc/lib/command/doc.py0parse the command line and apply the rules that cannot be expressed in the parser.STRING
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMtest/smoke.py386 # Create the stanza and confirm archiving works end to endCOMMENT
MEDIUMdoc/xml/user-guide.xml351 # Create an ssh key for root so all hosts can ssh to each other as rootCOMMENT
MEDIUMdoc/xml/user-guide.xml428 # Create an ssh key for root so all hosts can ssh to each other as rootCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtest/src/harness/server.c304 // Generate as many TLS errors as requestedCOMMENT
Excessive Try-Catch Wrapping5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtest/ci.py199 except Exception as error:CODE
LOWtest/test.py89 except Exception as error:CODE
LOWdoc/release.py426 except Exception as error:CODE
LOWdoc/doc.py59 except Exception as error:CODE
LOWdoc/lib/common/var_store.py31 except Exception as error:CODE
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMdoc/xml/user-guide.xml3779 <p>For demonstration purposes streaming replication will be broken to force <postgres/> to get WAL using the <pgCODE
MEDIUMsrc/common/type/pack.h36Here is a simple example of a pack:CODE
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWtest/lib/command/lint/lint.py142 # Read the file, skipping any that cannot be read. Committed files are always readable after checkout, so this oCOMMENT
LOWtest/lib/command/test/test.py234 # Assign tests to the vms that are freeCOMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtest/lib/harness/test.py39__all__ = [CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOWdoc/xml/user-guide.xml1072 git config --global user.email "test@test.com" &amp;&amp;CODE