Repository Analysis

pgbackrest/pgbackrest

Reliable PostgreSQL Backup & Restore

9.9 Low AI signal View on GitHub

Analysis Overview

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).

9.9
Adjusted Score
9.9
Raw Score
100%
Time Factor
2026-08-08
Last Push
4.3K
Stars
C
Language
217.1K
Lines of Code
786
Files
931
Pattern Hits
2026-08-09
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

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.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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.

CRITICAL 0HIGH 17MEDIUM 479LOW 435

Directory Score Breakdown

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.

Pattern Findings

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.

AI Slop Vocabulary337 hits · 1320 pts
SeverityFileLineSnippetContext
MEDIUMtest/uncrustify.cfg3091# Whether to apply special formatting for Qt SIGNAL/SLOT macros. Essentially,COMMENT
MEDIUMtest/define.yaml15# * define - defines for C code (will also be applied to the test harness)COMMENT
MEDIUMtest/define.yaml22# * feature - Defines a feature that is now available in the harness. For example, the "error" feature defines HRN_FCOMMENT
MEDIUMtest/define.yaml25# * harness - Adds a harness module that contains functions to aid in testing. For example, the "log" harness includCOMMENT
MEDIUMtest/define.yaml26# harness/log module to aid in expect log testing.COMMENT
MEDIUMtest/define.yaml27# * shim - list of modules that are shimmed in the harness, included in the order listed. This allows the harness COMMENT
MEDIUMtest/define.yaml30# _SHIMMED and an implementation with the same function signature must be provided in the harness. Generally speCOMMENT
MEDIUMtest/define.yaml1238 # The test library, which sits on top of the doc library. It is the harness that runs everything here, so it is declarCOMMENT
MEDIUMtest/ci.py22# Do not cache bytecode. The harness runs from a copy of the repository that the linter then scans, so a __pycache__ wriCOMMENT
MEDIUMtest/ci.py23# import would be reported as an unexpected binary file. This must be set before the harness modules are imported below.COMMENT
MEDIUMtest/ci.py26# Each tool keeps its library beside itself and may use the libraries below it in the hierarchy, which for the harness iCOMMENT
MEDIUMtest/ci.py27# them. Insert them first, lowest last, so the harness modules are found before anything else on the path.COMMENT
MEDIUMtest/test.py21# Do not cache bytecode. The harness runs from a copy of the repository that the linter then scans, so a __pycache__ wriCOMMENT
MEDIUMtest/test.py22# import would be reported as an unexpected binary file. This must be set before the harness modules are imported below.COMMENT
MEDIUMtest/test.py25# Each tool keeps its library beside itself and may use the libraries below it in the hierarchy, which for the harness iCOMMENT
MEDIUMtest/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.py386 # Files to test/include. A file covered by a harness is pulled in by including that harness instead.COMMENT
MEDIUMtest/lib/command/test/build.py395 # 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/unit.py89 # Coverage is written where the caller asks for it, since the harness runs from a copy of the repository and the repCOMMENT
MEDIUMtest/lib/command/test/python.py19# Library the harness itself lives in, which is the one this script is part ofCOMMENT
MEDIUMtest/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
MEDIUMtest/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.py226 # 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.py588 # forks; those just use the image they built.COMMENT
MEDIUMtest/src/test.c119#include "harness/debug.h"COMMENT
MEDIUMtest/src/test.c120#include "harness/test.intern.h"COMMENT
MEDIUMtest/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/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.py272 # A test declared before the harness does not have itCOMMENT
MEDIUMtest/src/module/test/command/test/define_test.py275 # A bare name is a harness that includes nothingCOMMENT
MEDIUMtest/src/module/test/command/test/define_test.py283 # A harness that shims modules includes them in the order they are listedCOMMENT
MEDIUMtest/src/module/test/command/test/define_test.py298 # A shimmed module with no functions is included in the harness but has nothing to shimCOMMENT
MEDIUMtest/src/module/test/command/test/define_test.py305 # The shim takes the integration flag of the harness that declared itCOMMENT
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.py433 # 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.py447 # 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.py448 # source compiled in. The harness itself is not, since the wrapper includes it directly.COMMENT
MEDIUMtest/src/module/test/command/test/build_test.py465 # The wrapper includes the harness rather than the module, since the harness is what pulls the module in. Both cCOMMENT
MEDIUMtest/src/module/test/command/test/build_test.py466 # modules come from the one harness so it is included once.COMMENT
MEDIUMtest/src/module/test/command/test/build_test.py467 assert_in('#include "test/src/harness/config.c"\n', _read(path, path_unit, "test.c"))CODE
MEDIUMtest/src/module/test/command/test/build_test.py484 # The module this test depends on that a harness already includes is not compiled againCOMMENT
MEDIUMtest/src/module/test/command/test/build_test.py489 # A harness that reaches into a module is compiled in when this module is not the one being tested, and one thatCOMMENT
MEDIUMtest/src/module/test/command/test/build_test.py503 # Nothing was shimmed and no harness needed a copyCOMMENT
277 more matches not shown…
Decorative Section Separators138 hits · 331 pts
SeverityFileLineSnippetContext
MEDIUMCONTRIBUTING.md387# ----------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml79 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml87 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml92 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml100 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml110 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml114 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml127 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml135 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml142 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml149 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml156 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml188 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml195 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml202 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml210 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml218 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml230 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml239 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml246 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml253 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml260 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml267 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml274 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml282 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml289 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml425 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml432 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml439 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml527 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml534 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml541 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml645 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml655 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml665 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml673 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml680 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml687 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml738 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml745 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml753 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml789 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml798 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml805 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml815 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml823 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml833 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml897 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml904 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml914 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml923 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml930 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml937 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml944 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml1009 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml1015 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml1021 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml1027 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml1033 # --------------------------------------------------------------------------------------------------------------------COMMENT
MEDIUMtest/define.yaml1039 # --------------------------------------------------------------------------------------------------------------------COMMENT
78 more matches not shown…
Over-Commented Block244 hits · 216 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
184 more matches not shown…
Unused Imports120 hits · 120 pts
SeverityFileLineSnippetContext
LOWtest/ci.py33CODE
LOWtest/ci.py35CODE
LOWtest/test.py35CODE
LOWtest/lib/config/config.py8CODE
LOWtest/lib/config/cli.py22CODE
LOWtest/lib/command/lint/ascii.py8CODE
LOWtest/lib/command/lint/line.py7CODE
LOWtest/lib/command/lint/string_id.py10CODE
LOWtest/lib/command/lint/lint.py15CODE
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.py22CODE
LOWtest/lib/command/test/test.py25CODE
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.py13CODE
LOWtest/src/module/test/command/lint/lint_test.py15CODE
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/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
LOWtest/src/module/test/command/test/job_test.py20CODE
LOWtest/src/module/test/command/test/job_test.py23CODE
LOWtest/src/module/test/command/test/job_test.py26CODE
60 more matches not shown…
Cross-Language Confusion13 hits · 60 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/ci.py158 "sudo apt-get -qq update || true",CODE
HIGHtest/lib/command/test/test.py291 "chmod 700 -R %s/test-* 2>&1 || true && rm -rf %s/temp %s/test-* %s/data-*"CODE
HIGHtest/lib/command/test/test.py291 "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.py173 result += "service ssh restart && bash"CODE
HIGHtest/src/module/test/command/vm/build_test.py126ENTRYPOINT service ssh restart && bash"""CODE
HIGHtest/src/module/test/command/vm/build_test.py332 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
Hyper-Verbose Identifiers31 hits · 31 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/code/format_test.py184def test_code_format_permission():CODE
LOWtest/src/module/test/command/vm/build_test.py305def 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.py187def test_image_build_cached_miss():CODE
LOWtest/src/module/doc/command/render/host_test.py206def test_image_build_cached_fork():CODE
LOWtest/src/module/doc/command/render/host_test.py239def 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
Deep Nesting29 hits · 29 pts
SeverityFileLineSnippetContext
LOWtest/lib/command/lint/ascii.py15CODE
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.py139CODE
LOWtest/lib/command/test/test.py221CODE
LOWtest/lib/command/vm/build.py267CODE
LOWtest/lib/command/vm/build.py539CODE
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.py392CODE
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
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 Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMtest/smoke.py385 # Create the stanza and confirm archiving works end to endCOMMENT
MEDIUMtest/lib/command/test/test.py338 # Create the repository copy path first so an obvious rsync error is reported rather than a confusing oneCOMMENT
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.py201 except Exception as error:CODE
LOWtest/test.py89 except Exception as error:CODE
LOWdoc/release.py393 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.py99 # Read the file, skipping any that cannot be read. Committed files are always readable after checkout, so this oCOMMENT
LOWtest/lib/command/test/test.py186 # 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