AI Slop Code RIsk Monitor

RsyncProject/rsync

An open source utility that provides fast incremental file transfer. It also has useful features for backup and restore operations among many other use cases.

11.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for RsyncProject/rsync, a C project with 5,279 GitHub stars. SynthScan examined 145,279 lines of code across 592 source files, recording 772 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 11.4 (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.

11.4
Adjusted Signal
11.4
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
5.3K
Stars
C
Language
145.3K
Lines of Code
592
Files
772
Pattern Hits
2026-10-12
Scan Date
0.28
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 13.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 12.2/100 · LOW

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

Agent Over-Engineering Ratio 26.0/100 · MEDIUM

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

PR Review Velocity Impact 46.8/100 · MEDIUM

Which changes need focused human review? 772 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 163MEDIUM 123LOW 486

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 772 distinct pattern matches across 15 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.

Empty Error Handlers86 hits · 430 pts
SeverityFileLineSnippetContext
HIGHruntests.py162except (FileNotFoundError, subprocess.TimeoutExpired):CODE
HIGHruntests.py177except FileNotFoundError:CODE
HIGHruntests.py194except FileNotFoundError:CODE
HIGHruntests.py226except OSError:CODE
HIGHruntests.py242except OSError:CODE
HIGHruntests.py627except FileNotFoundError:CODE
HIGHruntests.py205except subprocess.CalledProcessError:CODE
HIGHruntests.py645except FileNotFoundError:CODE
HIGHruntests.py959except FileNotFoundError:CODE
HIGHtestsuite/rsync_proto.py701except (ProtocolError, socket.timeout, OSError):CODE
HIGHtestsuite/rsync_proto.py869except (ProtocolError, socket.timeout, OSError):CODE
HIGHtestsuite/rsync_proto.py936except socket.timeout:CODE
HIGHtestsuite/rsync_proto.py943except OSError:CODE
HIGHtestsuite/rsync_proto.py1066except (OSError, ProtocolError):CODE
HIGHtestsuite/rsync_proto.py1072except OSError:CODE
HIGHtestsuite/copy-xattrs-symlink-race_test.py112except OSError:CODE
HIGHtestsuite/copy-xattrs-symlink-race_test.py143except OSError:CODE
HIGHtestsuite/preallocate_test.py90except OSError:CODE
HIGHtestsuite/rsyncfns.py304except (OSError, struct.error):CODE
HIGHtestsuite/rsyncfns.py323except (OSError, struct.error):CODE
HIGHtestsuite/rsyncfns.py631except OSError:CODE
HIGHtestsuite/rsyncfns.py739except OSError:CODE
HIGHtestsuite/rsyncfns.py265except OSError:CODE
HIGHtestsuite/rsyncfns.py309except OSError:CODE
HIGHtestsuite/rsyncfns.py1227except OSError:CODE
HIGHtestsuite/rsyncfns.py417except OSError:CODE
HIGHtestsuite/rsyncfns.py486except OSError:CODE
HIGHtestsuite/rsyncfns.py655except (OSError, subprocess.SubprocessError):CODE
HIGHtestsuite/rsyncfns.py679except ValueError:CODE
HIGHtestsuite/rsyncfns.py736except (subprocess.TimeoutExpired, OSError):CODE
HIGHtestsuite/rsyncfns.py2741except OSError:CODE
HIGHtestsuite/rsyncfns.py2766except OSError:CODE
HIGHtestsuite/rsyncfns.py2780except OSError:CODE
HIGHtestsuite/daemon-proxy-protocol_test.py138except OSError:CODE
HIGHtestsuite/daemon-proxy-protocol_test.py128except OSError:CODE
HIGHtestsuite/files-from-leak_test.py98except OSError:CODE
HIGHtestsuite/daemon-argv-limit_test.py39except (ConnectionResetError, BrokenPipeError):CODE
HIGHtestsuite/daemon-http-proxy_test.py78except OSError:CODE
HIGHtestsuite/proto-parent-ndx-empty-dirflist_test.py84except (OSError, rp.ProtocolError):CODE
HIGHtestsuite/abdiff.py522except OSError:CODE
HIGHtestsuite/abdiff.py534except OSError:CODE
HIGHtestsuite/abdiff.py686except OSError:CODE
HIGHtestsuite/abdiff.py1230except OSError:CODE
HIGHtestsuite/abdiff.py1236except OSError:CODE
HIGHtestsuite/abdiff.py1241except OSError:CODE
HIGHtestsuite/abdiff.py1518except OSError:CODE
HIGHtestsuite/abdiff.py2320except OSError:CODE
HIGHtestsuite/abdiff.py110except OSError:CODE
HIGHtestsuite/rename-fullpath-symlink-race_test.py94except OSError:CODE
HIGHtestsuite/perftest.py165except OSError:CODE
HIGHtestsuite/perftest.py215except OSError:CODE
HIGHtestsuite/perftest.py200except OSError:CODE
HIGHtestsuite/perftest.py498except OSError:CODE
HIGHtestsuite/proxy-host-crlf_test.py55except socket.timeout:CODE
HIGHtestsuite/proxy-host-crlf_test.py52except socket.timeout:CODE
HIGHtestsuite/dir-sgid_test.py74except FileNotFoundError:CODE
HIGHtestsuite/rrsync-sender-leaf-flip_test.py83except (OSError, UnicodeDecodeError):CODE
HIGHtestsuite/recv-discard-nullderef_test.py89except OSError:CODE
HIGHtestsuite/output-control-chars_test.py81except OSError:CODE
HIGHtestsuite/copy-dest-symlink-readleak_test.py72except OSError:CODE
26 more matches not shown…
Over-Commented Block308 hits · 286 pts
SeverityFileLineSnippetContext
LOWerrcode.h21/* If you change these, please also update the string mappings in log.c andCOMMENT
LOWerrcode.h61#define RERR_CMD_FAILED 124COMMENT
LOWversion.h1#define RSYNC_VERSION "3.5.1"COMMENT
LOWloadparm.c101#endifCOMMENT
LOWloadparm.c121 { LOG_MAIL, "mail" },COMMENT
LOWloadparm.c141#ifdef LOG_LOCAL1COMMENT
LOWio.c201#define IOBUF_RESTORE_SIZE(siz) (((siz) | 0xFF) + 1)COMMENT
LOWrsync.h21#define False 0COMMENT
LOWrsync.h41/* a non-zero CHAR_OFFSET makes the rolling sum stronger, but isCOMMENT
LOWrsync.h61#define XMIT_USER_NAME_FOLLOWS (1<<10) /* protocols 30 - now */COMMENT
LOWrsync.h81#define FLAG_CONTENT_DIR (1<<2) /* sender/receiver/generator */COMMENT
LOWrsync.h141 * MAX_PROTOCOL_VERSION: either to allow new major-rev versions thatCOMMENT
LOWrsync.h201COMMENT
LOWrsync.h221COMMENT
LOWrsync.h241#define FNAMECMP_FUZZY 0x83COMMENT
LOWrsync.h261#define ITEM_MISSING_DATA (1<<16) /* used by log_formatted() */COMMENT
LOWrsync.h321/* For calling delete_item() and delete_dir_contents(). */COMMENT
LOWrsync.h341COMMENT
LOWrsync.h361# include <stddef.h>COMMENT
LOWrsync.h381#endifCOMMENT
LOWrsync.h401#ifdef HAVE_SYS_TIME_HCOMMENT
LOWrsync.h421COMMENT
LOWrsync.h441# define NOFOLLOW_HIT_SYMLINK(e) ((e) == ELOOP || (e) == EMLINK)COMMENT
LOWrsync.h461#define CAN_SET_NSEC 1COMMENT
LOWrsync.h481#ifdef HAVE_SYS_MODE_HCOMMENT
LOWrsync.h501#endifCOMMENT
LOWrsync.h521# define makedev mkdevCOMMENT
LOWrsync.h541# include <floss.h(floss_getpwuid,floss_select,floss_seteuid)>COMMENT
LOWrsync.h561#elseCOMMENT
LOWrsync.h581#ifndef HAVE_PID_TCOMMENT
LOWrsync.h601COMMENT
LOWrsync.h621#endifCOMMENT
LOWrsync.h641# define SIZEOF_INT32 4COMMENT
LOWrsync.h661#ifndef uint32COMMENT
LOWrsync.h681 * that's the maximum size the file system can handle and there is noCOMMENT
LOWrsync.h701#elif SIZEOF_OFF_T == 8COMMENT
LOWrsync.h741#define HT_NODE(tbl, bkts, i) ((void*)((char*)(bkts) + (size_t)(i)*(tbl)->node_size))COMMENT
LOWrsync.h761#ifndef MAXPATHLENCOMMENT
LOWrsync.h781#ifndef INADDR_NONECOMMENT
LOWrsync.h801#define PREALLOCATE_NEEDS_TRUNCATE 1COMMENT
LOWrsync.h861extern int pathname_ndx;COMMENT
LOWrsync.h881#define OPT_EXTRA(f,bump) ((union file_extras*)(f) - file_extra_cnt - 1 - (bump))COMMENT
LOWrsync.h901#define F_MOD_NSEC(f) OPT_EXTRA(f, 0)->unumCOMMENT
LOWrsync.h921#define F_XATTR(f) REQ_EXTRA(f, xattrs_ndx)->numCOMMENT
LOWrsync.h941#define F_SUM(f) ((char*)OPT_EXTRA(f, START_BUMP(f) + HLINK_BUMP(f) \COMMENT
LOWrsync.h1041#define FILTRULE_DIRECTORY (1<<6) /* this matches only directories */COMMENT
LOWrsync.h1121 size_t len; /* len = chars following pos */COMMENT
LOWrsync.h1141#define MPLX_TO_BUFFERED 2COMMENT
LOWrsync.h1161COMMENT
LOWrsync.h1201#endifCOMMENT
LOWrsync.h1241#include "proto.h"COMMENT
LOWrsync.h1261int vsnprintf(char *str, size_t count, const char *fmt, va_list args);COMMENT
LOWrsync.h1281#endifCOMMENT
LOWrsync.h1301#define EWOULDBLOCK EAGAINCOMMENT
LOWrsync.h1321#define S_IWUSR 0200COMMENT
LOWrsync.h1341COMMENT
LOWrsync.h1361COMMENT
LOWrsync.h1381#elif defined SYSVCOMMENT
LOWrsync.h1401#define INITACCESSPERMS 0700COMMENT
LOWrsync.h1441#endifCOMMENT
248 more matches not shown…
Cross-Language Confusion48 hits · 275 pts
SeverityFileLineSnippetContext
HIGHtestsuite/xrsync.py108 c.push(files)CODE
HIGHtestsuite/rsyncfns.py1104 if (errno == ENOSYS || errno == EINVAL || errno == EOPNOTSUPP)CODE
HIGHtestsuite/rsyncfns.py1134 while (getppid() == parent && mono() < deadline)CODE
HIGHtestsuite/fake-super-backup-fifo-regression_test.py71 return oldname && newname && strcmp(oldname, "victim") == 0CODE
HIGHtestsuite/pseudo-paths_test.py29 [bash, '-c', 'echo "probe" > >(cat > /dev/null)'],CODE
HIGHtestsuite/daemon-leaf-type-race-fchmod_test.py123 int ok = fd >= 0 && write(fd, &byte, 1) == 1;CODE
HIGHtestsuite/daemon-leaf-type-race-fchmod_test.py135 int ok = fd >= 0 && read(fd, &byte, 1) == 1 && byte == 'D';CODE
HIGHtestsuite/daemon-leaf-type-race-fchmod_test.py152 if (!ready || !done || send_ready(ready) < 0 || await_done(done) < 0) {CODE
HIGHtestsuite/daemon-leaf-type-race-fchmod_test.py174 if (!synchronizing && rc < 0 && (flags & O_DIRECTORY) && leafCODE
HIGH…stsuite/partial-protected-regular-retry-policy_test.py75 return wanted && fcntl(fd, F_GETPATH, path) == 0CODE
HIGH…stsuite/partial-protected-regular-retry-policy_test.py83 if (swapped && partial && held) {CODE
HIGH…stsuite/partial-protected-regular-retry-policy_test.py108 if (!swapped && path && strcmp(path, "victim") == 0CODE
HIGH…stsuite/partial-protected-regular-retry-policy_test.py111 if (rename(partial, held) == 0 && symlink("secret", partial) == 0) {CODE
HIGH…stsuite/partial-protected-regular-retry-policy_test.py126 if (swapped && fd >= 0 && path && strcmp(path, "victim") == 0CODE
HIGH…stsuite/partial-protected-regular-retry-policy_test.py153 if (!swapped && path && strstr(path, "pdir/victim")CODE
HIGH…stsuite/partial-protected-regular-retry-policy_test.py155 if (rename(partial, held) == 0 && symlink("secret", partial) == 0) {CODE
HIGH…stsuite/partial-protected-regular-retry-policy_test.py171 if (swapped && fd >= 0 && path && strstr(path, "pdir/victim")CODE
HIGH…stsuite/partial-protected-regular-retry-policy_test.py186 if (rc == 0 && swapped && path && strcmp(path, "pdir") == 0CODE
HIGHtestsuite/partial-protected-regular-retry-linux_test.py126 if (!wanted || fd < 0)CODE
HIGHtestsuite/partial-protected-regular-retry-linux_test.py140 if (swapped && partial && held) {CODE
HIGHtestsuite/partial-protected-regular-retry-linux_test.py153 if (partial && held && rename(partial, held) == 0CODE
HIGHtestsuite/partial-protected-regular-retry-linux_test.py178 return path && strcmp(path, "victim") == 0CODE
HIGHtestsuite/partial-protected-regular-retry-linux_test.py199 if (!swapped && is_victim_write(path, flags) && (flags & O_CREAT)CODE
HIGHtestsuite/partial-protected-regular-retry-linux_test.py212 if (swapped && fd >= 0 && is_victim_write(path, flags)CODE
HIGHtestsuite/partial-protected-regular-retry-linux_test.py235 if (!swapped && path && strstr(path, "pdir/victim")CODE
HIGHtestsuite/partial-protected-regular-retry-linux_test.py247 if (swapped && fd >= 0 && path && strstr(path, "pdir/victim")CODE
HIGHtestsuite/partial-protected-regular-retry-linux_test.py304 if (rc == 0 && swapped && path && strcmp(path, "pdir") == 0CODE
HIGHtestsuite/partial-protected-regular-retry-linux_test.py349 if (rc == 0 && swapped && path && strcmp(path, "pdir") == 0CODE
HIGHtestsuite/proto-hlink-flag-oob_test.py57# daemon's stderr to /dev/null). The daemon inherits this env.STRING
HIGH⚡testsuite/fleettest.py257# command execution (ssh for remote, local shell when ssh_host is null)COMMENT
HIGH⚡testsuite/fleettest.py1053 command -v taskkill >/dev/null 2>&1 || return 0CODE
HIGH⚡testsuite/fleettest.py1054 command -v ps >/dev/null 2>&1 || return 0CODE
HIGH⚡testsuite/fleettest.py1055 for p in $(pgrep -f "$1" 2>/dev/null); doCODE
HIGH⚡testsuite/fleettest.py1061 command -v pgrep >/dev/null 2>&1 || return 0CODE
HIGH⚡testsuite/fleettest.py1063 [ "$before" -gt 0 ] 2>/dev/null || return 0CODE
HIGH⚡testsuite/fleettest.py1067 if [ "$(pgrep -f "$2" 2>/dev/null | wc -l | tr -d ' ')" -gt 0 ] 2>/dev/null; thenCODE
HIGH⚡testsuite/fleettest.py1073 [ "$killed" -gt 0 ] 2>/dev/null && echo "KILLED $killed stray $1(s)"CODE
HIGH⚡testsuite/fleettest.py1074 if [ "$after" -gt 0 ] 2>/dev/null; thenCODE
HIGH⚡testsuite/fleettest.py1084 if rm -rf -- "$d" 2>/dev/null || sudo -n rm -rf -- "$d" 2>/dev/null; thenCODE
HIGH⚡testsuite/fleettest.py1084 if rm -rf -- "$d" 2>/dev/null || sudo -n rm -rf -- "$d" 2>/dev/null; thenCODE
HIGHtestsuite/fleettest.py434 f'{t.make} -j{t.pipe_jobs} check-progs || exit 5\n'CODE
HIGH⚡testsuite/batch-file-symlink_test.py191 # on every platform. A hardcoded makedev(1, 3) is only Linux's /dev/null;COMMENT
HIGHtestsuite/ki62-io-error-mask_test.py5# Without masking, a malicious peer could set arbitrary (undefined) bits, whichCOMMENT
HIGHtestsuite/pseudo-paths-daemon_test.py27probe_bash = subprocess.run([bash, '-c', 'echo "probe" > >(cat > /dev/null)'], env=bash_env, capture_output=True)CODE
HIGHtestsuite/source-change-size-continues_test.py109 if (truncate(target_path, 0) == 0 && mark && *mark) {CODE
HIGHtestsuite/link-dest-symlink-enotsup_test.py73 if (e && strcmp(e, "EPERM") == 0)CODE
HIGHtestsuite/link-dest-symlink-enotsup_test.py75 if (e && strcmp(e, "ENOSYS") == 0)CODE
HIGHtestsuite/daemon-chroot-munge-default_test.py15 munge_symlinks default = !use_chroot || module_dirlenSTRING
Decorative Section Separators92 hits · 263 pts
SeverityFileLineSnippetContext
MEDIUMtestsuite/rsync_proto.py36# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/rsync_proto.py38# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/rsync_proto.py100# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/rsync_proto.py102# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/rsync_proto.py270# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/rsync_proto.py272# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/rsync_proto.py388# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/rsync_proto.py390# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/abdiff.py44# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/abdiff.py136# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/abdiff.py270# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/abdiff.py495# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/abdiff.py544# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/abdiff.py715# ===========================================================================COMMENT
MEDIUMtestsuite/abdiff.py722# ===========================================================================COMMENT
MEDIUMtestsuite/abdiff.py2475# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/perftest.py47# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/perftest.py49# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/perftest.py229# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/perftest.py231# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/perftest.py322# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/perftest.py324# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/perftest.py390# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/perftest.py392# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/pseudo-paths_test.py168# -------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/pseudo-paths_test.py170# -------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/pseudo-paths_test.py192# -------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/pseudo-paths_test.py194# -------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/pseudo-paths_test.py325 # -------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/pseudo-paths_test.py327 # -------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/pseudo-paths_test.py52# -------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/pseudo-paths_test.py54# -------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/pseudo-paths_test.py90# -------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/pseudo-paths_test.py92# -------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/pseudo-paths_test.py146# -------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/pseudo-paths_test.py148# -------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/pseudo-paths_test.py228# -------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/pseudo-paths_test.py230# -------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/pseudo-paths_test.py300 # -------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/pseudo-paths_test.py302 # -------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/log-file-symlink_test.py69# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/log-file-symlink_test.py71# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/log-file-symlink_test.py97# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/log-file-symlink_test.py99# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/ki72-safe-links-backup_test.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/ki72-safe-links-backup_test.py62# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/ki72-safe-links-backup_test.py81# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/ki72-safe-links-backup_test.py84# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/ki72-safe-links-backup_test.py99# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/ki72-safe-links-backup_test.py103# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/excludefrom-symlink_test.py83# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/excludefrom-symlink_test.py85# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/excludefrom-symlink_test.py100# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/excludefrom-symlink_test.py102# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/fleettest.py256# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/fleettest.py258# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/fleettest.py977# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡testsuite/fleettest.py979# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/fleettest.py303# ---------------------------------------------------------------------------COMMENT
MEDIUMtestsuite/fleettest.py305# ---------------------------------------------------------------------------COMMENT
32 more matches not shown…
Cross-File Repetition29 hits · 145 pts
SeverityFileLineSnippetContext
HIGHtestsuite/match-want-i-nolen_test.py0\ pid file = {scratchdir}/readargs-rsyncd.pid use chroot = no [mod] path = {mod} read only = noSTRING
HIGHtestsuite/match-append-empty-nullmap_test.py0\ pid file = {scratchdir}/readargs-rsyncd.pid use chroot = no [mod] path = {mod} read only = noSTRING
HIGHtestsuite/io-noop-flood-recursion_test.py0\ pid file = {scratchdir}/readargs-rsyncd.pid use chroot = no [mod] path = {mod} read only = noSTRING
HIGHtestsuite/proto-hlink-flag-oob_test.py0\ pid file = {scratchdir}/readargs-rsyncd.pid use chroot = no [mod] path = {mod} read only = noSTRING
HIGHtestsuite/io-readargs-argv-nullwrite_test.py0\ pid file = {scratchdir}/readargs-rsyncd.pid use chroot = no [mod] path = {mod} read only = noSTRING
HIGHtestsuite/daemon-deny-dns-failopen_test.py0return rsync's exit code for listing the module over the daemon.STRING
HIGHtestsuite/daemon-access-idn_test.py0return rsync's exit code for listing the module over the daemon.STRING
HIGHtestsuite/daemon-access-ip_test.py0return rsync's exit code for listing the module over the daemon.STRING
HIGHtestsuite/proto-cleared-ndx_test.py0\ pid file = {scratchdir}/cd-rsyncd.pid use chroot = no log file = {log} [mod] path = {mod} read only = noSTRING
HIGHtestsuite/proto-parent-ndx-empty-dirflist_test.py0\ pid file = {scratchdir}/cd-rsyncd.pid use chroot = no log file = {log} [mod] path = {mod} read only = noSTRING
HIGHtestsuite/proto-sender-selftest_test.py0\ pid file = {scratchdir}/cd-rsyncd.pid use chroot = no log file = {log} [mod] path = {mod} read only = noSTRING
HIGHtestsuite/proto-msg-info-assert_test.py0\ pid file = {scratchdir}/cd-rsyncd.pid use chroot = no log file = {log} [mod] path = {mod} read only = noSTRING
HIGHtestsuite/proto-subflist-freed_test.py0\ pid file = {scratchdir}/cd-rsyncd.pid use chroot = no log file = {log} [mod] path = {mod} read only = noSTRING
HIGHtestsuite/proto-hlink-gnum_test.py0\ pid file = {scratchdir}/cd-rsyncd.pid use chroot = no log file = {log} [mod] path = {mod} read only = noSTRING
HIGHtestsuite/proto-cleared-dirflist_test.py0\ pid file = {scratchdir}/cd-rsyncd.pid use chroot = no log file = {log} [mod] path = {mod} read only = noSTRING
HIGHtestsuite/files-from-leak_test.py0reset the workspace. call only while the flipper is stopped.STRING
HIGHtestsuite/filter-leak_test.py0reset the workspace. call only while the flipper is stopped.STRING
HIGHtestsuite/operator-path-backup-symlink_test.py0reset the workspace. call only while the flipper is stopped.STRING
HIGHtestsuite/operator-path-backup-rmdir_test.py0reset the workspace. call only while the flipper is stopped.STRING
HIGHtestsuite/daemon-scan-cwd-desync_test.py0\ pid file = {base}/rsyncd.pid use chroot = no {ids} log file = {base}/rsyncd.log [m] path = {mod} read only = yesSTRING
HIGHtestsuite/daemon-copy-links-symlink_test.py0\ pid file = {base}/rsyncd.pid use chroot = no {ids} log file = {base}/rsyncd.log [m] path = {mod} read only = yesSTRING
HIGHtestsuite/daemon-scan-dir-escape_test.py0\ pid file = {base}/rsyncd.pid use chroot = no {ids} log file = {base}/rsyncd.log [m] path = {mod} read only = yesSTRING
HIGHtestsuite/daemon-subdir-climb-symlink_test.py0\ pid file = {base}/rsyncd.pid use chroot = no {ids} log file = {base}/rsyncd.log [m] path = {mod} read only = yesSTRING
HIGHtestsuite/README.md0\ pid file = {base}/rsyncd.pid use chroot = no {ids} log file = {base}/rsyncd.log [m] path = {mod} read only = yesSTRING
HIGHtestsuite/copy-dest-source-symlink_test.py0\ use chroot = no log file = {scratchdir}/rsyncd.log [upload] path = {mod} use chroot = no read only = noSTRING
HIGHtestsuite/acl-symlink-race_test.py0\ use chroot = no log file = {scratchdir}/rsyncd.log [upload] path = {mod} use chroot = no read only = noSTRING
HIGHtestsuite/sender-flist-symlink-leak_test.py0\ use chroot = no log file = {scratchdir}/rsyncd.log [upload] path = {mod} use chroot = no read only = noSTRING
HIGHtestsuite/alt-dest-symlink-race_test.py0\ use chroot = no log file = {scratchdir}/rsyncd.log [upload] path = {mod} use chroot = no read only = noSTRING
HIGHtestsuite/chdir-symlink-race_test.py0\ use chroot = no log file = {scratchdir}/rsyncd.log [upload] path = {mod} use chroot = no read only = noSTRING
Unused Imports103 hits · 102 pts
SeverityFileLineSnippetContext
LOWpackaging/release.py19CODE
LOWpackaging/release.py24CODE
LOWpackaging/release.py24CODE
LOWpackaging/release.py24CODE
LOWtestsuite/filter-depth_test.py11CODE
LOWtestsuite/filter-depth_test.py13CODE
LOWtestsuite/metadata-depth_test.py13CODE
LOWtestsuite/exclude_test.py17CODE
LOWtestsuite/exclude_test.py17CODE
LOWtestsuite/exclude_test.py17CODE
LOWtestsuite/exclude_test.py17CODE
LOWtestsuite/ssh-basic_test.py14CODE
LOWtestsuite/ssh-basic_test.py44CODE
LOWtestsuite/ssh-basic_test.py44CODE
LOWtestsuite/mutatefns.py16CODE
LOWtestsuite/acls_test.py9CODE
LOWtestsuite/hardlinks_test.py14CODE
LOWtestsuite/hardlinks_test.py14CODE
LOWtestsuite/files-from_test.py8CODE
LOWtestsuite/files-from_test.py8CODE
LOWtestsuite/files-from_test.py8CODE
LOWtestsuite/daemon-refuse_test.py12CODE
LOWtestsuite/devices-fake_test.py13CODE
LOWtestsuite/devices-fake_test.py13CODE
LOWtestsuite/devices-fake_test.py13CODE
LOWtestsuite/devices-fake_test.py13CODE
LOWtestsuite/devices-fake_test.py13CODE
LOWtestsuite/rsyncfns.py18CODE
LOWtestsuite/daemon-link-dest-escape_test.py22CODE
LOWtestsuite/variety_test.py32CODE
LOWtestsuite/missing_test.py12CODE
LOWtestsuite/symlink-unix-perms_test.py6CODE
LOWtestsuite/symlink-unix-perms_test.py8CODE
LOWtestsuite/abdiff.py25CODE
LOWtestsuite/reverse-daemon-delta_test.py26CODE
LOWtestsuite/symlink-exclude-meta_test.py14CODE
LOWtestsuite/rrsync-sender-parent-pin_test.py30CODE
LOWtestsuite/write-touched-blocks_test.py4CODE
LOWtestsuite/write-touched-blocks_test.py5CODE
LOWtestsuite/dir-sgid_test.py9CODE
LOW…uite/operator-path-traversal-backup-dir-daemon_test.py8CODE
LOWtestsuite/remote-shell-newline-escaping_test.py12CODE
LOWtestsuite/recv-discard-nullderef_test.py34CODE
LOWtestsuite/acls-depth_test.py10CODE
LOWtestsuite/read-batch-pipe_test.py7CODE
LOWtestsuite/deep-path_test.py17CODE
LOWtestsuite/daemon-filter-merge-bypass_test.py47CODE
LOWtestsuite/daemon-standalone-detach_test.py20CODE
LOW…tsuite/operator-path-traversal-dest-dir-daemon_test.py7CODE
LOWtestsuite/daemon-leaf-type-race-fchmod_test.py15CODE
LOWtestsuite/daemon-leaf-type-race-fchmod_test.py21CODE
LOWtestsuite/filter-leak_test.py4CODE
LOWtestsuite/variety-symlink-traversal_test.py23CODE
LOWtestsuite/variety-symlink-traversal_test.py25CODE
LOWtestsuite/chroot-link-dest-inner-module_test.py2CODE
LOWtestsuite/symlink-dirlink-basis_test.py20CODE
LOWtestsuite/symlink-dirlink-basis_test.py20CODE
LOWtestsuite/symlink-dirlink-basis_test.py20CODE
LOWtestsuite/clean-fname-underflow_test.py12CODE
LOWtestsuite/daemon_test.py16CODE
43 more matches not shown…
AI Slop Vocabulary16 hits · 48 pts
SeverityFileLineSnippetContext
MEDIUMtestsuite/daemon-auth_test.py23# test harness cannot redirect, so it would hang `make coverage` (or any runCOMMENT
MEDIUMtestsuite/contimeout-rsh_test.py51# not keep the harness's captured-pipe open after rsync has already exited.COMMENT
MEDIUMtestsuite/abdiff.py212 # "is this file hardlinked at all" (link-dest / -H) -- a robustCOMMENT
MEDIUMtestsuite/rename-fullpath-symlink-race_test.py99 # which is harness noise, not a write escape.COMMENT
MEDIUMtestsuite/rrsync-symlink_test.py118# Patched rrsync: RSYNC → fake_rsync (via the shared, path-robust helper).COMMENT
MEDIUMtestsuite/daemon-standalone-detach_test.py33# disconnected Windows process the harness can't reap, so it lingers as an orphanCOMMENT
MEDIUMtestsuite/ownership-depth_test.py10# Rerun under the fleet harness's non-root pass (testsuite/fleettest.py): the uidCOMMENT
MEDIUMtestsuite/daemon-leaf-type-race-fchmod_test.py72# Enter helper mode before importing the test harness, which requires runnerCOMMENT
MEDIUMtestsuite/daemon-namecvt-empty-response_test.py53# Skips as root (see the my_uid==0 guard below), so the fleet harness reruns itCOMMENT
MEDIUMtestsuite/daemon-namecvt-empty-response_test.py79 # for the fleet harness's non-root pass) or it will silently never run in CI.COMMENT
MEDIUMtestsuite/daemon_test.py9# Rerun under the fleet harness's non-root pass (testsuite/fleettest.py): aCOMMENT
MEDIUM…connect-prog-nested-singlequote-host-injection_test.py34# transfer until the harness timeout instead of failing fast.COMMENT
MEDIUMtestsuite/fleettest.py130# Set from --repo in main() (default: cwd). The harness builds whatever rsyncCOMMENT
MEDIUMtestsuite/daemon-auth-digest-floor_test.py44# /dev/tty and would hang the harness) -- see daemon-auth_test.py.COMMENT
MEDIUM.github/workflows/ubuntu-build.yml65 # harness's nonroot_tests).COMMENT
MEDIUM.github/workflows/fleettest.yml7# Bitrot check for testsuite/fleettest.py (the developer fleet CI harness).COMMENT
Self-Referential Comments9 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMtestsuite/symlink-unix-perms_test.py27# Create a test directory and a test file in FROMDIR for use later as symlinkCOMMENT
MEDIUMtestsuite/symlink-unix-perms_test.py75# Create a number of symlinks to use for testing rsync.COMMENT
MEDIUMtestsuite/write-touched-blocks_test.py92# Create a file with written data on the ends, but a massive 4 MiB hole in the middle.COMMENT
MEDIUM⚡testsuite/pseudo-paths_test.py178# Create the trusted nested symlink pointing to the kernel pipeCOMMENT
MEDIUM⚡testsuite/pseudo-paths_test.py200# Create a local, relative 'dev/fd' structure inside our working directoryCOMMENT
MEDIUM⚡testsuite/pseudo-paths_test.py204# Create a real file called 'pipe:[' with valid dataCOMMENT
MEDIUM⚡testsuite/pseudo-paths_test.py208# Create a symlink named '99' that points to the literal file 'pipe:['COMMENT
MEDIUM⚡testsuite/pseudo-paths_test.py337 # Create the trusted nested symlink pointing to the kernel pipeCOMMENT
MEDIUMtestsuite/alt-dest_test.py33# Create a side dir with one identically-named candidate so copy_file()'sCOMMENT
Deep Nesting39 hits · 32 pts
SeverityFileLineSnippetContext
LOWruntests.py182CODE
LOWruntests.py270CODE
LOWruntests.py565CODE
LOWruntests.py661CODE
LOWpackaging/pkglib.py26CODE
LOWpackaging/pkglib.py174CODE
LOWpackaging/pkglib.py209CODE
LOWpackaging/release.py176CODE
LOWpackaging/release.py293CODE
LOWtestsuite/rsync_proto.py804CODE
LOWtestsuite/rsync_proto.py857CODE
LOWtestsuite/xrsync.py91CODE
LOWtestsuite/rsyncfns.py1206CODE
LOWtestsuite/rsyncfns.py1463CODE
LOWtestsuite/rsyncfns.py2308CODE
LOWtestsuite/rsyncfns.py2612CODE
LOWtestsuite/rsyncfns.py2804CODE
LOWtestsuite/rsyncfns.py2822CODE
LOWtestsuite/files-from-leak_test.py102CODE
LOWtestsuite/abdiff.py173CODE
LOWtestsuite/abdiff.py1803CODE
LOWtestsuite/abdiff.py2248CODE
LOWtestsuite/abdiff.py2550CODE
LOWtestsuite/abdiff.py2712CODE
LOWtestsuite/perftest.py170CODE
LOWtestsuite/perftest.py282CODE
LOWtestsuite/perftest.py336CODE
LOWtestsuite/perftest.py381CODE
LOWtestsuite/perftest.py394CODE
LOWtestsuite/rrsync-sender-leaf-flip_test.py76CODE
LOWtestsuite/rrsync-pull-arg-shapes_test.py110CODE
LOWtestsuite/filter-leak_test.py104CODE
LOWtestsuite/fleettest.py329CODE
LOWtestsuite/fleettest.py755CODE
LOWtestsuite/fleettest.py1152CODE
LOWtestsuite/early-input-symlink_test.py88CODE
LOW…licious-server-partial-basis-symlink-overwrite_test.py58CODE
LOW…uite/authenticate-no-ocloexec-build-regression_test.py13CODE
LOWtestsuite/daemon-stdin-unix-listener_test.py30CODE
Excessive Try-Catch Wrapping27 hits · 30 pts
SeverityFileLineSnippetContext
LOWtestsuite/rrsync-specials-denied_test.py166 except Exception:CODE
LOWtestsuite/mutatefns.py54 except Exception as e: # noqa: BLE001 - report itCODE
LOWtestsuite/rsyncfns.py889 except Exception:CODE
LOWtestsuite/checksum-zero-blocklen_test.py57 except Exception as exc: # noqa: BLE001 - reported belowCODE
LOWtestsuite/peer-legacy-implied-delete-scope_test.py76 except Exception as exc: # noqa: BLE001CODE
MEDIUMtestsuite/peer-legacy-implied-delete-scope_test.py44def serve():CODE
LOWtestsuite/symlink-unix-perms_test.py61except Exception as e:CODE
MEDIUMtestsuite/abdiff.py2736def worker(s):CODE
LOWtestsuite/abdiff.py2420 except Exception as ex:CODE
LOWtestsuite/abdiff.py2739 except Exception as ex: # never let one scenario kill the poolCODE
LOWtestsuite/mkvariety.py45 except Exception:CODE
LOWtestsuite/malicious-dot-file-delete-scope_test.py70 except Exception as exc: # noqa: BLE001 - reported belowCODE
MEDIUMtestsuite/malicious-dot-file-delete-scope_test.py54def serve():CODE
LOWtestsuite/malicious-dot-dir-delete-scope_test.py73 except Exception as exc: # noqa: BLE001 - reported belowCODE
MEDIUMtestsuite/malicious-dot-dir-delete-scope_test.py53def serve():CODE
LOWtestsuite/daemon-chroot_test.py45 except Exception:CODE
MEDIUMtestsuite/fleettest.py968def current_branch() -> str:CODE
LOW⚡testsuite/fleettest.py973 except Exception:CODE
LOWtestsuite/fleettest.py1364 except Exception as e: # never let one target kill the runSTRING
LOWtestsuite/fleettest.py1378 except Exception as e: # a whole group died: account for eachSTRING
LOWtestsuite/xattr-wire-cap_test.py72 except Exception as exc: # noqa: BLE001 - reported belowCODE
LOWtestsuite/scanner-batch-flag-mismatch_test.py33 except Exception as e:CODE
LOWtestsuite/stdio_daemon.py50 except Exception:CODE
LOW…uite/daemon-copylinks-parent-target-regression_test.py43except Exception as exc: # noqa: BLE001 - retain daemon stderr for the oracleCODE
LOW…licious-server-partial-basis-symlink-overwrite_test.py197 except Exception as exc: # noqa: BLE001CODE
MEDIUM…licious-server-partial-basis-symlink-overwrite_test.py58def serve():CODE
LOW…stsuite/readonly-partial-abort-mode-regression_test.py97 except Exception as exc:CODE
Hyper-Verbose Identifiers8 hits · 7 pts
SeverityFileLineSnippetContext
LOWtestsuite/rsyncfns.py2448def hardlink_symlinks_supported(where=None) -> bool:STRING
LOWtestsuite/files-from-leak_test.py102def root_owned_backup_symlink():CODE
LOWtestsuite/rrsync-sender-parent-pin_test.py108def resolve_with_parent_swapped(source):STRING
LOWtestsuite/macos-setgid-ordinary-mode-regression_test.py42def _scratch_with_ungrantable_group():CODE
LOWtestsuite/filter-leak_test.py104def root_owned_backup_symlink():CODE
LOWtestsuite/bare-do-open-symlink-race_test.py50def verify_outside_unchanged_or_absent(label: str, target: str) -> None:CODE
LOWtestsuite/variety-symlink-traversal_test.py139def case_receiver_intermediate():CODE
LOW…stsuite/readonly-partial-abort-mode-regression_test.py54def wait_for_generator_request():CODE
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡testsuite/write-touched-blocks_test.py151# Step 1: Generate the batch file (Sender side)COMMENT
LOW⚡testsuite/write-touched-blocks_test.py158# Step 2: Apply the batch file and collect stats (Receiver side)COMMENT
Structural Annotation Overuse2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡testsuite/write-touched-blocks_test.py151# Step 1: Generate the batch file (Sender side)COMMENT
LOW⚡testsuite/write-touched-blocks_test.py158# Step 2: Apply the batch file and collect stats (Receiver side)COMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWpackaging/pkglib.py20# Set this to an encoding name or set it to None to avoid the default encoding idiom.COMMENT
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWtestsuite/rsync_proto.py283CODE
LOWtestsuite/abdiff.py548CODE