AI Slop Code Risk Monitor

systemd/systemd

SlopCodeMonitor badge for systemd/systemd Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The systemd System and Service Manager

1.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for systemd/systemd, a C project with 16,963 GitHub stars. SynthScan examined 1,510,918 lines of code across 4710 source files, recording 2374 pattern matches distributed across 15 syntactic categories. The legacy adjusted pattern signal is 1.8 (Low 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.

1.8
Adjusted Signal
1.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
17.0K
Stars
C
Language
1.5M
Lines of Code
4.7K
Files
2.4K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 7.6/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.2/100 · LOW

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

Agent Over-Engineering Ratio 0.9/100 · LOW

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

PR Review Velocity Impact 8.7/100 · LOW

Which changes need focused human review? 2374 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 8MEDIUM 168LOW 2198

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

Over-Commented Block1926 hits · 1910 pts
SeverityFileLineSnippetContext
LOW.ycm_extra_conf.py1#!/usr/bin/env python3COMMENT
LOW.ycm_extra_conf.py21# In jurisdictions that recognize copyright laws, the author or authorsCOMMENT
LOW.ycm_extra_conf.py121flags = [COMMENT
LOWman/libsystemd.xml21 <refpurpose>Functions for implementing services and interacting with systemd</refpurpose>COMMENT
LOWman/yubikey-crypttab.sh1# SPDX-License-Identifier: MIT-0COMMENT
LOWman/yubikey-crypttab.sh21sudo systemd-cryptenroll --pkcs11-token-uri=auto /dev/sdXnCOMMENT
LOWman/org.freedesktop.resolve1.xml481 <programlisting>/* Input+Output: Protocol/scope */COMMENT
LOWman/fido2-crypttab.sh1# SPDX-License-Identifier: MIT-0COMMENT
LOWman/systemd.network.xml6801# then uncomment the lines below to make the DHCPv6 client forcibly started in theCOMMENT
LOWman/notify-selfcontained-example.c1/* SPDX-License-Identifier: MIT-0 */COMMENT
LOWman/sd-bus-errors.xml61 <funcsynopsisinfo>#include &lt;systemd/sd-bus.h&gt;</funcsynopsisinfo>COMMENT
LOWman/sd-bus-errors.xml81#define SD_BUS_ERROR_FILE_NOT_FOUND "org.freedesktop.DBus.Error.FileNotFound"COMMENT
LOWhwdb.d/parse_hwdb.py1#!/usr/bin/env python3COMMENT
LOWhwdb.d/acpi-update.py21# This file is part of systemd.COMMENT
LOWcoccinelle/run-coccinelle.sh61 # at once one spatch process can take around 2.5 GiB of RAM, which can easily eat up all available RAMCOMMENT
LOWcoccinelle/parsing_hacks.h61/* Coccinelle doesn't know these keywords, so just drop them, since they are not important for any of our rules. */COMMENT
LOWcoccinelle/parsing_hacks.h81#define _cleanup_pages_COMMENT
LOWcoccinelle/parsing_hacks.h101#define _noclone_COMMENT
LOWcoccinelle/parsing_hacks.h141 * can usually infer this information automagically, but in these specific cases it needs a bit of help. */COMMENT
LOWcoccinelle/parsing_hacks.h181COMMENT
LOWcoccinelle/parsing_hacks.h201#define OPTION_LONG_FLAGS(fl, lc, mv, h) _OPTION_COCCI_COMMENT
LOWtools/elf2efi.py1#!/usr/bin/env python3COMMENT
LOWtools/catalog-report.py1#!/usr/bin/env python3COMMENT
LOWtest/test-udev.py1#!/usr/bin/env python3COMMENT
LOWtest/sd-script.py1#!/usr/bin/env python3COMMENT
LOWtest/networkd-test.py1#!/usr/bin/env python3COMMENT
LOWtest/test-network/systemd-networkd-tests.py1#!/usr/bin/env python3COMMENT
LOWtest/test-network/systemd-networkd-tests.py10761 # dummy98: 0x00COMMENT
LOWtest/integration-tests/integration-test-wrapper.py141COMMENT
LOW…ATE/TEST-72-SYSUPDATE.units/fake-sysupdate-provider.py1#!/usr/bin/python3COMMENT
LOWtest/units/TEST-07-PID1.alias-corruption.sh101[Service]COMMENT
LOWtest/units/TEST-87-AUX-UTILS-VM.vmspawn-drives.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-91-LIVEUPDATE.sh201 # being preserved across the transitionary failed states that precedeCOMMENT
LOW…t/units/TEST-53-TIMER.RandomizedDelaySec-persistent.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-87-AUX-UTILS-VM.replace-storage.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-13-NSPAWN.nspawn.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-13-NSPAWN.nspawn.sh1541 fiCOMMENT
LOWtest/units/TEST-22-TMPFILES.12.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-92-TPM2-SWTPM.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-07-PID1.transaction-collect-garbage.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh221# Test 5: --path=anonymous filterCOMMENT
LOWtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh241(! grep "io.systemd.Hostname.Describe" "$MONITOR_OUT" >/dev/null)COMMENT
LOWtest/units/TEST-17-UDEV.issue-43442.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-07-PID1.delegate-namespaces.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-70-TPM2.report-sign.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-70-TPM2.report-sign.sh21# TPMS_ATTEST that was signed, and verify the signature using the embedded PythonCOMMENT
LOWtest/units/TEST-63-PATH.sh81# Test for race condition fixed by https://github.com/systemd/systemd/pull/30768COMMENT
LOWtest/units/TEST-89-RESOLVED-MDNS.sh141 # {COMMENT
LOWtest/units/TEST-89-RESOLVED-MDNS.sh261 # must succeed -- without the second scope the testcase asserts nothing.COMMENT
LOWtest/units/TEST-82-SOFTREBOOT.sh341 # being restarted and the "unique" bus IDs not being unique across restartsCOMMENT
LOW…its/TEST-19-CGROUP.abort-on-cgroup-creation-failure.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-07-PID1.reloading-signal.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-65-ANALYZE.sh221# the /etc/systemd/networkd.conf.d/ directory. The latter is generallyCOMMENT
LOWtest/units/TEST-87-AUX-UTILS-VM.bind-volume.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-70-TPM2.dissect.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-96-PTYBROKER.input.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-64-UDEV-STORAGE.sh1481 helper_check_device_symlinksCOMMENT
LOWtest/units/TEST-07-PID1.transient-unit-container.sh1#!/usr/bin/env bashCOMMENT
LOWtest/units/TEST-07-PID1.transient-unit-container.sh41readonly CONTAINER_ROOT_FS HOST_OUT_DIRCOMMENT
LOWtest/units/TEST-07-PID1.exec-context.sh1#!/usr/bin/env bashCOMMENT
1866 more matches not shown…
Self-Referential Comments75 hits · 230 pts
SeverityFileLineSnippetContext
MEDIUMruff.toml4# This file is imported from an external project.COMMENT
MEDIUMman/yubikey-crypttab.sh10# Create a self-signed certificate from this public key, and store it on theCOMMENT
MEDIUMman/homectl.xml1644# Create a self-signed certificate from this public key, and store it on the device.COMMENT
MEDIUMhwdb.d/parse_hwdb.py6# This file is distributed under the MIT license, see below.COMMENT
MEDIUMhwdb.d/ids_parser.py159# This file is part of systemd.COMMENT
MEDIUMhwdb.d/acpi-update.py21# This file is part of systemd.COMMENT
MEDIUMcoccinelle/run-coccinelle.sh23# Create an array from files tracked by git...COMMENT
MEDIUMtools/update-hwdb-autosuspend.sh11# This file is part of systemd.COMMENT
MEDIUMtools/catalog-report.py4# This file is distributed under the MIT license, see below.COMMENT
MEDIUMtest/test-udev.py160 # Create a device list with all block devices under /sysCOMMENT
MEDIUMtest/networkd-test.py1324 # Define the veth+peer pairs to be created.STRING
MEDIUMtest/networkd-test.py1331 # Define the contents of .network files to be read in order.STRING
MEDIUMtest/units/TEST-45-TIMEDATE.sh355 # Create a dummy interface managed by networkd, so we can configure link NTP serversCOMMENT
MEDIUM…s/TEST-74-AUX-UTILS.varlinkctl-unit-start-transient.sh1001 # Creating an already active unit must fail.COMMENT
MEDIUMtest/units/TEST-87-AUX-UTILS-VM.vmspawn-drives.sh98# Create a minimal root filesystem directory, then bake it into a raw ext4 image.COMMENT
MEDIUMtest/units/TEST-07-PID1.main-PID-change.sh68# Create a number of children, and make one the main oneCOMMENT
MEDIUMtest/units/TEST-07-PID1.main-PID-change.sh98# Create a number of children, and make one the main oneCOMMENT
MEDIUMtest/units/TEST-54-CREDS.sh72# Create a dummy "full" disk (similar to /dev/full) to check out-of-spaceCOMMENT
MEDIUMtest/units/TEST-91-LIVEUPDATE.sh65 # Create a unit with LUOSession= to test server-managed session lifecycleCOMMENT
MEDIUMtest/units/TEST-13-NSPAWN.machined.sh33# Create a couple of containers we can refer to in testsCOMMENT
MEDIUMtest/units/TEST-87-AUX-UTILS-VM.vmspawn.sh71# Create a minimal root filesystem. The guest does not need to fully boot -- we only need QEMU runningCOMMENT
MEDIUMtest/units/TEST-13-NSPAWN.nspawn.sh78 # Create a simple image from the just created container templateCOMMENT
MEDIUMtest/units/TEST-22-TMPFILES.12.sh39# Create a bunch of other files.COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.report.sh176# Create a veth pair with the peer in a scratch network namespace, push some traffic through it, and checkCOMMENT
MEDIUMtest/units/TEST-81-GENERATORS.getty-generator.sh155# Create a bunch of dummy consolesCOMMENT
MEDIUM⚡test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh130# Create a fresh varlink entrypoint socket via socket activation, thenCOMMENT
MEDIUMtest/units/TEST-13-NSPAWN.nss-mymachines.sh28# Create a bunch of containers that:COMMENT
MEDIUMtest/units/TEST-13-NSPAWN.nss-mymachines.sh75# Create the respective .nspawn config filesCOMMENT
MEDIUMtest/units/TEST-87-AUX-UTILS-VM.pstore.sh179 # Create a name reference to one of the $DUMMY_DMESG_X variablesCOMMENT
MEDIUMtest/units/TEST-87-AUX-UTILS-VM.pstore.sh224 # Create a name reference to one of the $DUMMY_DMESG_X variablesCOMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl.sh124# Create a fake "ssh" binary that validates everything works as expected if invoked for the "ssh-unix:" Varlink transporCOMMENT
MEDIUMtest/units/TEST-19-CGROUP.delegate.sh107 # Create a subcgroup, and make it owned by some unrelated userCOMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.path.sh22# Create a custom user-dirs.dir file to exercise the xdg-user-dirs partCOMMENT
MEDIUMtest/units/TEST-65-ANALYZE.sh211# This file is part of systemd.COMMENT
MEDIUMtest/units/TEST-70-TPM2.measure.sh192# Create a signature for a new phase with the enrolled policyrefCOMMENT
MEDIUMtest/units/TEST-23-UNIT-FILE.type-exec.sh8# Create a binary for which execve() will failCOMMENT
MEDIUMtest/units/TEST-26-SYSTEMCTL.sh19# Create a simple unit file for testingCOMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.delta.sh12# Create a couple of supporting units with overridesCOMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.firstboot.sh73# Create a minimal root so we don't modify the testbedCOMMENT
MEDIUMtest/units/TEST-75-RESOLVED.sh157 # Create a trust anchor for resolved with our root zoneCOMMENT
MEDIUMtest/units/TEST-75-RESOLVED.sh159 # Create a bind-compatible trust anchor (for delv)COMMENT
MEDIUMtest/units/TEST-64-UDEV-STORAGE.sh1018 # Create a key-fileCOMMENT
MEDIUMtest/units/TEST-64-UDEV-STORAGE.sh1042 # Create a multi-device btrfs filesystem on the LUKS devicesCOMMENT
MEDIUMtest/units/TEST-64-UDEV-STORAGE.sh1235 # Create a cursor file to skip messages generated by udevd in initrd, as itCOMMENT
MEDIUMtest/units/TEST-64-UDEV-STORAGE.sh1315 # Create a simple RAID 1 with an ext4 filesystemCOMMENT
MEDIUMtest/units/TEST-64-UDEV-STORAGE.sh1346 # Create a simple RAID 5 with an ext4 filesystemCOMMENT
MEDIUMtest/units/TEST-64-UDEV-STORAGE.sh1387 # Create a simple RAID 10 with an ext4 filesystemCOMMENT
MEDIUMtest/units/TEST-64-UDEV-STORAGE.sh1456 # Create a RAID 10 with LVM + ext4COMMENT
MEDIUMtest/units/TEST-64-UDEV-STORAGE.sh1459 # Create an LVM on the MDCOMMENT
MEDIUMtest/units/TEST-07-PID1.transient-unit-container.sh105# Create a test-service unit file that will run via the container's systemd andCOMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.socket-proxyd.sh32# Create a socket unit for the proxyCOMMENT
MEDIUMtest/units/TEST-07-PID1.exec-context.sh223 # Create a VRF interface to later bind to and check if the binding is workingCOMMENT
MEDIUMtest/units/TEST-13-NSPAWN.nspawn-oci.sh357# Create a simple "entrypoint" script that validates that the containerCOMMENT
MEDIUMtest/units/TEST-87-AUX-UTILS-VM.mount.sh153# Create a vfat image, as ext4 doesn't support uid=/gid= fixating for allCOMMENT
MEDIUMtest/units/util.sh425 # Create a data-only extension image (no unit files) to test thatCOMMENT
MEDIUM⚡test/units/TEST-72-SYSUPDATE.sh121 # Create a pair of random partition payloads, and compress one.COMMENT
MEDIUM⚡test/units/TEST-72-SYSUPDATE.sh129 # Create a file payload and a suffixed versionCOMMENT
MEDIUM⚡test/units/TEST-72-SYSUPDATE.sh133 # Create a random "UKI" payloadCOMMENT
MEDIUM⚡test/units/TEST-72-SYSUPDATE.sh136 # Create a random extra payloadCOMMENT
MEDIUM⚡test/units/TEST-72-SYSUPDATE.sh139 # Create a random optional payloadCOMMENT
15 more matches not shown…
Decorative Section Separators74 hits · 200 pts
SeverityFileLineSnippetContext
MEDIUMtest/units/TEST-74-AUX-UTILS.report.sh683# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.report.sh731# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.report.sh853# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.report.sh919# -----------------------------------------------------------------------------COMMENT
MEDIUM⚡test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh127# -----------------------------------------------------------------------COMMENT
MEDIUM⚡test/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh133# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh111# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh116# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh164# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh171# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh197# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh202# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh220# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh227# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh243# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh249# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh271# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh276# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh292# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh297# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh312# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh318# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh333# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh338# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh356# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.varlinkctl-monitor.sh363# -----------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.socket-xattr.sh36# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.socket-xattr.sh38# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.socket-xattr.sh73# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.socket-xattr.sh75# ------------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.multi-units-transaction.sh157# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.multi-units-transaction.sh159# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.multi-units-transaction.sh231# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.multi-units-transaction.sh233# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.multi-units-transaction.sh290# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.multi-units-transaction.sh296# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.multi-units-transaction.sh334# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.multi-units-transaction.sh338# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.multi-units-transaction.sh380# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.multi-units-transaction.sh385# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.transient-unit-container.sh7# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-07-PID1.transient-unit-container.sh19# -----------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2116# ============================================================================COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2131# ============================================================================COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2210# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2212# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2251# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2253# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2265# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2267# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2289# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2291# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2329# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2331# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2353# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2355# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2390# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2392# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2510# ---------------------------------------------------------------------------COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh2512# ---------------------------------------------------------------------------COMMENT
14 more matches not shown…
Redundant / Tautological Comments78 hits · 101 pts
SeverityFileLineSnippetContext
LOW.ycm_extra_conf.py137# Set this to the absolute path to the folder (NOT the file!) containing theCOMMENT
LOWtools/find-unused-library-symbols.py121 # Check if library_name appears in the ldd outputCOMMENT
LOWtools/find-unused-library-symbols.py266 # Print resultsCOMMENT
LOWtest/test-network-generator-conversion.sh219# Check if the generated .network files match the expected stored onesCOMMENT
LOWtest/test-network/systemd-networkd-tests.py1144 # Check if networkd exits cleanly.COMMENT
LOW⚡test/test-network/systemd-networkd-tests.py6020 # Check if a link went downSTRING
LOW⚡test/test-network/systemd-networkd-tests.py6022 # Check if an address was removedSTRING
LOW⚡test/test-network/systemd-networkd-tests.py6025 # Check if the default route was removedSTRING
LOW⚡test/test-network/systemd-networkd-tests.py6254 # Check if the route which needs nexthop 21 are forgotten.STRING
LOW⚡test/test-network/systemd-networkd-tests.py6264 # Check if the reason is cleared once the interface is configured.STRING
LOW⚡test/test-network/systemd-networkd-tests.py6271 # Check if the requested route actually configured.STRING
LOWtest/test-network/systemd-networkd-tests.py5625 # Check if the IPv6LL address is removed.STRING
LOWtest/test-network/systemd-networkd-tests.py5634 # Check if a new IPv6LL address is assigned.STRING
LOWtest/test-network/systemd-networkd-tests.py7767 # Check if the non-default routes are unchanged, and others are actually dropped.STRING
LOWtest/test-network/systemd-networkd-tests.py7778 # Check if sd-radv refuses RS from the same interface.STRING
LOWtest/test-network/systemd-networkd-tests.py8299 # Check if nexthop is removed.STRING
LOWtest/test-network/systemd-networkd-tests.py8519 # Check if the same addresses are used even if the service is restarted.STRING
LOWtest/test-network/systemd-networkd-tests.py9422 # Check if DHCPv4 address and routes are removed on stop. For issue #34837.STRING
LOWtest/test-network/systemd-networkd-tests.py9689 # Check if the client send RELEASE message of the previous leaseSTRING
LOWtest/units/TEST-17-UDEV.diskseq.sh44# Check if no lock file exists, if the lock directory exists.COMMENT
LOWtest/units/TEST-17-UDEV.diskseq.sh64# Check if the lock directory exists, but no lock file exists in it.COMMENT
LOWtest/units/TEST-54-CREDS.sh378# Check if credentials with invalid names are not imported.COMMENT
LOWtest/units/TEST-54-CREDS.sh386# Check if credentials with invalid names are not imported (with renaming).COMMENT
LOW…its/TEST-17-UDEV.device-unit-state-transition-netif.sh342 # Check if the daemon-reload/reexec finished while the event was being processed.COMMENT
LOWtest/units/TEST-17-UDEV.watch-inotify.sh33 # Check if the inotify watch fd is received from fd store.COMMENT
LOWtest/units/TEST-17-UDEV.watch-inotify.sh36 # Check if there is no broken symlink chain.COMMENT
LOWtest/units/TEST-13-NSPAWN.machined.sh268# Check if machinectl can properly work with symlinks to raw imagesCOMMENT
LOWtest/units/TEST-13-NSPAWN.nspawn.sh99 # Check if the $root doesn't get re-initialized once it's not emptyCOMMENT
LOWtest/units/TEST-22-TMPFILES.12.sh197# Check if sub-directories are removed regardlessCOMMENT
LOWtest/units/TEST-17-UDEV.database.sh10# Check if the database file is created.COMMENT
LOWtest/units/TEST-17-UDEV.sanity-check.sh60# Check if processing queued events has been stopped.COMMENT
LOWtest/units/TEST-17-UDEV.sanity-check.sh65# Check if processing queued events has been restarted.COMMENT
LOWtest/units/TEST-74-AUX-UTILS.machine-id-setup.sh93# Check if we correctly processed the invalid machine ID we set up in the respectiveCOMMENT
LOWtest/units/TEST-07-PID1.mask.sh29# Check if ExecStop= and friends in a masked unit are not executed even definedCOMMENT
LOWtest/units/TEST-07-PID1.mask.sh52# Check if mask --now works and ExecStop= are not executed.COMMENT
LOWtest/units/TEST-07-PID1.mask.sh69# Check if mask --now for already masked unit stops the service.COMMENT
LOWtest/units/TEST-07-PID1.mask.sh86# Check if already masked unit can be stopped.COMMENT
LOW…st/units/TEST-81-GENERATORS.environment-d-generator.sh75# Check if the generator is correctly called in a user sessionCOMMENT
LOWtest/units/TEST-89-RESOLVED-MDNS.sh71 # Check if the services we got are the correct onesCOMMENT
LOWtest/units/TEST-89-RESOLVED-MDNS.sh94 # Check if the services we got are the correct onesCOMMENT
LOWtest/units/TEST-70-TPM2.measure.sh113# Check if SHA1 signatures are supportedCOMMENT
LOWtest/units/TEST-70-TPM2.measure.sh147# Check if we can activate that (without the token module stuff)COMMENT
LOWtest/units/TEST-70-TPM2.measure.sh151# Check if we can activate that (and a second time with the token module stuff enabled)COMMENT
LOWtest/units/TEST-26-SYSTEMCTL.sh281# Check if the directories from *Directory= directives existCOMMENT
LOWtest/units/TEST-23-UNIT-FILE.ExtraFileDescriptors.sh21# Open files and assign FD to variablesCOMMENT
LOWtest/units/TEST-50-DISSECT.dissect.sh1106# Check if the /dev/loop/* symlinks really reference the right deviceCOMMENT
LOWtest/units/TEST-50-DISSECT.dissect.sh1126# Check if the /dev/disk/by-loop-ref/$name symlink really references the right deviceCOMMENT
LOWtest/units/TEST-50-DISSECT.dissect.sh1136# Check if the /dev/disk/by-loop-ref/$name symlink does not existCOMMENT
LOWtest/units/post.sh11# Check if sd-executor doesn't complain about not being able to (de)serialize stuffCOMMENT
LOWtest/units/TEST-75-RESOLVED.sh1266 # Check if resolved exits cleanly.COMMENT
LOWtest/units/TEST-04-JOURNAL.journal-gatewayd.sh97# Check if the specified cursor refers to an existing entry and return just that entryCOMMENT
LOWtest/units/TEST-64-UDEV-STORAGE.sh8# Check if all symlinks under /dev/disk/ are validCOMMENT
LOWtest/units/TEST-64-UDEV-STORAGE.sh17 # Check if all given paths are validCOMMENT
LOWtest/units/TEST-64-UDEV-STORAGE.sh34 # Check if the symlink points to the correct device in /devCOMMENT
LOWtest/units/TEST-64-UDEV-STORAGE.sh685 # Check if unnecessary devlinks are removed.COMMENT
LOWtest/units/TEST-64-UDEV-STORAGE.sh1040 # Check if we have all necessary DM devicesCOMMENT
LOWtest/units/TEST-64-UDEV-STORAGE.sh1284 # Check if the respective "hashed" units exist and are active (plugged)COMMENT
LOWtest/units/TEST-64-UDEV-STORAGE.sh1429 # Check if all expected symlinks were removed after the cleanupCOMMENT
LOWtest/units/TEST-64-UDEV-STORAGE.sh1504 # Check if all expected symlinks were removed after the cleanupCOMMENT
LOW…/TEST-17-UDEV.device-unit-state-transition-blockdev.sh626 # Check if the daemon-reload/reexec finished while the event was being processed.COMMENT
18 more matches not shown…
Hyper-Verbose Identifiers106 hits · 50 pts
SeverityFileLineSnippetContext
LOWtools/find-unused-library-symbols.py104def verify_executable_links_library(executable_path, library_name):CODE
LOWtools/find-unused-library-symbols.py129def get_library_internal_references(library_path, exported_symbols):CODE
LOWtools/elf2efi.py381def apply_elf_relative_relocation(CODE
LOWtools/check-version-history.py17def find_undocumented_functions(pages, ignorelist):CODE
LOWtools/check-version-history.py57def find_undocumented_commands(pages, ignorelist):CODE
LOWtest/test-systemd-tmpfiles.py238def test_conditionalized_execute_bit():CODE
LOWtest/networkd-test.py321 def test_bridge_port_priority(self):CODE
LOWtest/networkd-test.py336 def test_bridge_port_priority_set_zero(self):CODE
LOWtest/networkd-test.py352 def test_bridge_port_property(self):CODE
LOWtest/networkd-test.py644 def test_route_only_dns_all_domains(self):STRING
LOWtest/networkd-test.py767 def test_resolved_domain_restricted_dns(self):STRING
LOWtest/networkd-test.py983 def test_transient_hostname_with_static(self):STRING
LOWtest/networkd-test.py1358 def test_unmanaged_setting_coldplug(self):STRING
LOWtest/networkd-test.py1372 def test_catchall_config_coldplug(self):STRING
LOW⚡test/test-network/systemd-networkd-tests.py342def copy_networkd_conf_dropin(*dropins):CODE
LOW⚡test/test-network/systemd-networkd-tests.py349def remove_networkd_conf_dropin(*dropins):CODE
LOW⚡test/test-network/systemd-networkd-tests.py355def clear_networkd_conf_dropins():CODE
LOWtest/test-network/systemd-networkd-tests.py248def networkd_has_sysctl_monitor_bpf():CODE
LOWtest/test-network/systemd-networkd-tests.py378def clear_networkd_state_files():CODE
LOWtest/test-network/systemd-networkd-tests.py695def save_routing_policy_rules():CODE
LOWtest/test-network/systemd-networkd-tests.py709def flush_routing_policy_rules():CODE
LOWtest/test-network/systemd-networkd-tests.py796def read_ip_neigh_sysctl_attr(link, attribute, ipv):CODE
LOWtest/test-network/systemd-networkd-tests.py1702 def test_reload_no_reconfigure(self):CODE
LOWtest/test-network/systemd-networkd-tests.py1957 def test_wait_online_dns_global(self):STRING
LOWtest/test-network/systemd-networkd-tests.py1973 def test_wait_online_dns_expect_timeout(self):STRING
LOWtest/test-network/systemd-networkd-tests.py1989 def test_wait_online_dns_expect_timeout_global(self):STRING
LOWtest/test-network/systemd-networkd-tests.py2018 def test_dropin_and_name_conflict(self):STRING
LOWtest/test-network/systemd-networkd-tests.py3632 def test_tunnel_independent_loopback(self):STRING
LOWtest/test-network/systemd-networkd-tests.py4550 def test_configure_without_carrier(self):STRING
LOWtest/test-network/systemd-networkd-tests.py4574 def test_configure_without_carrier_yes_ignore_carrier_loss_no(self):STRING
LOWtest/test-network/systemd-networkd-tests.py4668 def _test_routing_policy_rule(self, manage_foreign_routes):STRING
LOWtest/test-network/systemd-networkd-tests.py4712 def test_routing_policy_rule_restart_and_reconfigure(self):STRING
LOWtest/test-network/systemd-networkd-tests.py4741 def test_routing_policy_rule_reconfigure(self):STRING
LOWtest/test-network/systemd-networkd-tests.py4801 def test_routing_policy_rule_manual(self):STRING
LOWtest/test-network/systemd-networkd-tests.py4841 def test_routing_policy_rule_port_range(self):STRING
LOWtest/test-network/systemd-networkd-tests.py4855 def test_routing_policy_rule_invert(self):STRING
LOWtest/test-network/systemd-networkd-tests.py4878 def test_routing_policy_rule_uidrange(self):STRING
LOWtest/test-network/systemd-networkd-tests.py5003 def _check_unreachable_routes_removed(self):STRING
LOWtest/test-network/systemd-networkd-tests.py5315 def test_gateway_clear_routes(self):STRING
LOWtest/test-network/systemd-networkd-tests.py5347 def test_route_preferred_source_with_existing_address(self):STRING
LOWtest/test-network/systemd-networkd-tests.py5576 def test_link_local_addressing(self):STRING
LOWtest/test-network/systemd-networkd-tests.py5847 def _test_activation_policy_required_for_online(self, policy, required):STRING
LOWtest/test-network/systemd-networkd-tests.py5885 def test_activation_policy_required_for_online(self):STRING
LOWtest/test-network/systemd-networkd-tests.py5909 def test_keep_configuration_yes(self):STRING
LOWtest/test-network/systemd-networkd-tests.py5927 def test_keep_configuration_static(self):STRING
LOWtest/test-network/systemd-networkd-tests.py5947 def check_keep_configuration_on_restart(self):STRING
LOWtest/test-network/systemd-networkd-tests.py5967 def test_keep_configuration_on_restart(self):STRING
LOWtest/test-network/systemd-networkd-tests.py6041 def test_keep_untracked_addresses(self):STRING
LOWtest/test-network/systemd-networkd-tests.py6775 def test_bond_fail_over_mac_restart(self):STRING
LOWtest/test-network/systemd-networkd-tests.py7264 def test_bridge_configure_without_carrier(self):STRING
LOWtest/test-network/systemd-networkd-tests.py7320 def test_bridge_ignore_carrier_loss(self):STRING
LOWtest/test-network/systemd-networkd-tests.py7342 def test_bridge_ignore_carrier_loss_frequent_loss_and_gain(self):STRING
LOWtest/test-network/systemd-networkd-tests.py7914 def test_ndisc_redirect_limit(self):STRING
LOWtest/test-network/systemd-networkd-tests.py8250 def _test_ndisc_vs_static_route(self, manage_foreign_nexthops):STRING
LOWtest/test-network/systemd-networkd-tests.py8305 def test_ndisc_vs_static_route(self):STRING
LOWtest/test-network/systemd-networkd-tests.py8354 def test_invalid_captive_portal(self):STRING
LOWtest/test-network/systemd-networkd-tests.py8460 def test_dhcp_server_persist_leases_no(self):STRING
LOWtest/test-network/systemd-networkd-tests.py8476 def test_dhcp_server_persist_leases_runtime(self):STRING
LOWtest/test-network/systemd-networkd-tests.py8492 def test_dhcp_server_null_server_address(self):STRING
LOWtest/test-network/systemd-networkd-tests.py8541 def test_dhcp_server_with_uplink(self):STRING
46 more matches not shown…
Deep Nesting46 hits · 46 pts
SeverityFileLineSnippetContext
LOW.ycm_extra_conf.py88CODE
LOW.ycm_extra_conf.py197CODE
LOWhwdb.d/parse_hwdb.py405CODE
LOWhwdb.d/ids_parser.py199CODE
LOWhwdb.d/ids_parser.py236CODE
LOWhwdb.d/ids_parser.py274CODE
LOWhwdb.d/ids_parser.py360CODE
LOWtools/find-unused-library-symbols.py28CODE
LOWtools/make-directive-index.py17CODE
LOWtools/update-dbus-docs.py113CODE
LOWtools/update-dbus-docs.py143CODE
LOWtools/update-dbus-docs.py213CODE
LOWtools/gdb-sd_dump_hashmaps.py14CODE
LOWtools/check-version-history.py17CODE
LOWtools/check-version-history.py36CODE
LOWtools/analyze-dump-sort.py21CODE
LOWtest/create-sys-script.py88CODE
LOWtest/create-sys-script.py134CODE
LOWtest/test-dlopen-note.py104CODE
LOWtest/test-dlopen-note.py189CODE
LOWtest/networkd-test.py471CODE
LOWtest/test-network/systemd-networkd-tests.py500CODE
LOWtest/test-network/systemd-networkd-tests.py817CODE
LOWtest/test-network/systemd-networkd-tests.py1401CODE
LOWtest/test-network/systemd-networkd-tests.py4230CODE
LOWtest/test-network/systemd-networkd-tests.py6934CODE
LOWtest/test-network/systemd-networkd-tests.py7264CODE
LOWtest/integration-tests/integration-test-wrapper.py128CODE
LOWtest/integration-tests/integration-test-wrapper.py261CODE
LOWtest/integration-tests/integration-test-wrapper.py506CODE
LOW…TEST-74-AUX-UTILS/TEST-74-AUX-UTILS.units/fake-imds.py49CODE
LOWtest/units/TEST-69-SHUTDOWN.py11CODE
LOWsrc/ukify/ukify.py177CODE
LOWsrc/ukify/ukify.py702CODE
LOWsrc/ukify/ukify.py778CODE
LOWsrc/ukify/ukify.py848CODE
LOWsrc/ukify/ukify.py1033CODE
LOWsrc/ukify/ukify.py1220CODE
LOWsrc/ukify/ukify.py1299CODE
LOWsrc/ukify/ukify.py1395CODE
LOWsrc/ukify/ukify.py2447CODE
LOWsrc/ukify/ukify.py2503CODE
LOWsrc/ukify/ukify.py2724CODE
LOWsrc/ukify/ukify.py2803CODE
LOWsrc/ukify/ukify.py3004CODE
LOWsrc/boot/generate-hwids-section.py50CODE
AI Slop Vocabulary12 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUMtest/networkd-test.py138 """Provide a set of utility functions to facilitate networkd tests.STRING
MEDIUM…s/TEST-74-AUX-UTILS.varlinkctl-unit-start-transient.sh419 # listing interfaces here: the harness runs with --runtime-network=none, and the netnsCOMMENT
LOWtest/units/TEST-74-AUX-UTILS.ssh.sh64# ssh wants this dir around, but distros cannot agree on a common name for it, let's just create all that are aware of dCOMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.run.sh382 # Validate that --empower gives all capabilities to a non-root user.COMMENT
MEDIUMtest/units/TEST-94-COCO.sh7# the harness --coco= flag and the documentation in test/integration-tests/README.md.COMMENT
MEDIUMtest/units/TEST-72-SYSUPDATE.sh635 # (and not curl) this test should be quite good even if not comprehensive. ThisCOMMENT
LOWtest/units/TEST-46-HOMED.sh834 # ssh wants this dir around, but distros cannot agree on a common name for it, let's just create all thatCOMMENT
MEDIUMtest/units/TEST-46-HOMED.sh1251 # Verify that "homectl deactivate" is robust against transient EBUSYCOMMENT
MEDIUMtest/units/test-control.sh14# matching the skip code used by the integration test harness.COMMENT
MEDIUMtest/units/TEST-74-AUX-UTILS.machine-tags.sh32# Read the TAGS= field out of /etc/machine-info (robust against the file beingCOMMENT
MEDIUMtest/units/TEST-94-COCO/lib.sh88# harness runs the container without network, and the AMD KDS rate-limits hard enough thatCOMMENT
LOWsrc/ukify/test/test_ukify.py1077 # So let's just call it with a dummy output argument.STRING
Fake / Example Data26 hits · 27 pts
SeverityFileLineSnippetContext
LOWman/machine-info.xml236 <para>Example: <literal>_LOCAL_EMERGENCY_CONTACT="user@example.org"</literal>.</para>CODE
LOWtest/units/TEST-58-REPART.sh3108EncryptAddToken=test-dummy-tokenCODE
LOWtest/units/TEST-58-REPART.sh3125 cryptsetup luksDump "${loop}p1" | grep "test-dummy-token" >/dev/nullCODE
LOWtest/units/TEST-58-REPART.sh3131assert d['type'] == 'test-dummy-token', 'Wrong token type: {}'.format(d['type'])CODE
LOWtest/units/TEST-58-REPART.sh3152EncryptAddToken=test-dummy-token:data:${metadata_b64}CODE
LOWtest/units/TEST-58-REPART.sh3169 cryptsetup luksDump "${loop}p1" | grep "test-dummy-token" >/dev/nullCODE
LOWtest/units/TEST-58-REPART.sh3175assert d['type'] == 'test-dummy-token', 'Wrong token type: {}'.format(d['type'])CODE
LOWtest/units/TEST-58-REPART.sh3195EncryptAddToken=test-dummy-token:file:${imgs}/token-meta.jsonCODE
LOWtest/units/TEST-58-REPART.sh3216assert d['type'] == 'test-dummy-token', 'Wrong token type: {}'.format(d['type'])CODE
LOWsrc/core/bpf-restrict-fs.c89 uint32_t dummy_value = 1, zero = 0;CODE
LOWsrc/core/bpf-restrict-fs.c129 if (sym_bpf_map_update_elem(inner_map_fd, &key, &dummy_value, BPF_ANY) != 0) {CODE
LOWsrc/test/test-terminal-util.c27#define LOREM_IPSUM "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor " \COMMENT
LOWsrc/test/test-terminal-util.c27#define LOREM_IPSUM "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor " \COMMENT
LOWsrc/test/test-ellipsize.c121 test_ellipsize_one("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt uCODE
LOWsrc/test/test-ellipsize.c121 test_ellipsize_one("Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt uCODE
LOWsrc/test/test-image-policy.c312 uint8_t dummy_data[4];CODE
LOWsrc/test/test-image-policy.c446 dummy_data[0] = 0xde; dummy_data[1] = 0xad; dummy_data[2] = 0xbe; dummy_data[3] = 0xef;CODE
LOWsrc/test/test-image-policy.c449 .root_hash = IOVEC_MAKE(dummy_data, sizeof(dummy_data)),CODE
LOWsrc/test/test-image-policy.c467 dummy_data[0] = 0x01; dummy_data[1] = 0x02; dummy_data[2] = 0x03; dummy_data[3] = 0x04;CODE
LOWsrc/test/test-image-policy.c470 .root_hash_sig = IOVEC_MAKE(dummy_data, sizeof(dummy_data)),CODE
LOWsrc/test/test-image-policy.c488 dummy_data[0] = 0xab; dummy_data[1] = 0xcd;CODE
LOWsrc/test/test-image-policy.c491 .root_hash = IOVEC_MAKE(dummy_data, 2),CODE
LOWsrc/test/test-image-policy.c550 dummy_data[0] = 0x11; dummy_data[1] = 0x22;CODE
LOWsrc/test/test-image-policy.c553 .root_hash = IOVEC_MAKE(dummy_data, 2),CODE
LOWsrc/nsresourced/userns-restrict.c227 uint32_t dummy_value = 1;CODE
LOWsrc/nsresourced/userns-restrict.c246 r = sym_bpf_map_update_elem(map_fd, &ino, &dummy_value, BPF_ANY);CODE
Cross-Language Confusion3 hits · 22 pts
SeverityFileLineSnippetContext
HIGH⚡tools/sync-docs.py33 items.push( "<option selected value='" + version + "'>" + "systemd " + version + latest + "</option>");CODE
HIGH⚡tools/sync-docs.py35 items.push( "<option selected value='" + version + "'>" + "systemd " + version + latest + "</option>");CODE
HIGH⚡tools/sync-docs.py37 items.push( "<option value='" + version + "'>" + "systemd " + version + latest + "</option>");CODE
Empty Error Handlers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHhwdb.d/parse_hwdb.py66except ImportError:CODE
HIGHtest/integration-tests/integration-test-wrapper.py403except OSError:CODE
HIGHtest/integration-tests/integration-test-wrapper.py411except OSError:CODE
HIGHsrc/ukify/ukify.py123except FileNotFoundError:CODE
Excessive Try-Catch Wrapping11 hits · 16 pts
SeverityFileLineSnippetContext
LOWtools/update-man-rules.py44 except Exception:CODE
MEDIUMtools/find-unused-library-symbols.py45 print(f'Error: Failed to run nm on {library_path}: {e}', file=sys.stderr)CODE
MEDIUMtools/find-unused-library-symbols.py48 print("Error: 'nm' command not found. Please install binutils.", file=sys.stderr)CODE
MEDIUMtools/find-unused-library-symbols.py88 print("Error: 'nm' command not found. Please install binutils.", file=sys.stderr)CODE
MEDIUMtools/find-unused-library-symbols.py245 print(f'Error: Library not found: {library_path}', file=sys.stderr)CODE
MEDIUMtools/find-unused-library-symbols.py258 print('Error: No valid executables provided', file=sys.stderr)CODE
LOWtools/make-directive-index.py170 except Exception as e:STRING
LOWtest/create-sys-script.py152 except Exception:CODE
MEDIUMtest/test-dlopen-note.py31 print("Error: 'elftools' python module not found.", file=sys.stderr)CODE
LOWtest/test-dlopen-note.py122 except Exception as e:CODE
LOWtest/test-dlopen-note.py220 except Exception as e:CODE
Slop Phrases9 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMman/updatectl.xml185 <para>Note that these examples are just here for demonstration purposes, and the output of these commandsCODE
MEDIUMman/systemd-stub.xml334 <para>Here's a simple example for a multi-profile UKI's sections, inspired by the setup suggested above:</para>CODE
MEDIUMman/systemd-resolved.service.xml503 interface <literal>lo</literal>). This is the local DNS stub, as discussed above. Both UDP and TCP areCODE
MEDIUMman/coredumpctl.xml126 <para>It's worth noting that different restrictions apply toCODE
LOWtest/units/TEST-07-PID1.protect-control-groups.sh122 # violate the no inner processes rule, we make sure to enable a cgroup controller so thatCOMMENT
LOWtest/units/TEST-73-LOCALE.sh67 # start with a known default environment and make sure to also give aCOMMENT
LOWtest/units/TEST-53-TIMER.RandomizedDelaySec-reload.sh24# Let's make sure to return the date & time back to the original state once we're done with our timeCOMMENT
LOWsrc/ukify/ukify.py1117 # unaligned, so we make sure to explicitly pad the pointer to new sections to an aligned offset.COMMENT
LOWsrc/shared/options.h260/* Iterate over options. Don't forget to handle errors (negative c)! */COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHsrc/include/uapi/linux/netlink.h67#define NLM_F_DUMP_FILTERED 0x20 /* Dump was filtered as requested */COMMENT
Verbosity Indicators2 hits · 3 pts
SeverityFileLineSnippetContext
LOWsrc/libsystemd/sd-device/sd-device.c477 * Hence, if we already know a device, then we need to check if it is equivalent to the newly found one. */COMMENT
LOWsrc/network/networkd-sysctl.c567 * reset to the link MTU. Hence, we need to check if it is already reset, and wait for a while if not. */COMMENT
Unused Imports1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/ukify/test/test_ukify.py593CODE