OpenZFS on Linux and FreeBSD
This report summarizes scanner evidence for openzfs/zfs, a C project with 12,533 GitHub stars. SynthScan examined 647,760 lines of code across 1417 source files, recording 1465 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 2.2 (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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 1346 finding(s).
Are imports declared and package/API names verified? 104 finding(s).
Are wrappers, guards, and repeated structures necessary? 233 finding(s).
Which changes need focused human review? 1465 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1465 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/zhack.c | 21 | * result in corrupted pools. | COMMENT |
| LOW | cmd/zhack.c | 41 | #include <sys/dsl_pool.h> | COMMENT |
| LOW | cmd/ztest.c | 81 | * ztest can invoke them during backwards compatibility testing (-B). | COMMENT |
| LOW | cmd/ztest.c | 101 | #include <sys/vdev_impl.h> | COMMENT |
| LOW | cmd/ztest.c | 121 | #include <unistd.h> | COMMENT |
| LOW | cmd/ztest.c | 201 | int zo_dump_dbgmsg; | COMMENT |
| LOW | cmd/ztest.c | 221 | #define DEFAULT_THREADS 23 | COMMENT |
| LOW | cmd/zed/zed.c | 21 | #include <signal.h> | COMMENT |
| LOW | cmd/zed/zed_event.c | 21 | #include <fcntl.h> | COMMENT |
| LOW | cmd/zed/zed_conf.c | 21 | #include <dirent.h> | COMMENT |
| LOW | cmd/zed/zed_exec.c | 21 | #include <errno.h> | COMMENT |
| LOW | cmd/zed/zed_disk_event.c | 21 | #include <libnvpair.h> | COMMENT |
| LOW | cmd/zed/zed.d/deadman-sync-slot_off.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/deadman-sync-slot_off.sh | 21 | # | COMMENT |
| LOW | cmd/zed/zed.d/data-notify.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/pool_import-sync-led.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/pool_import-sync-led.sh | 41 | COMMENT | |
| LOW | cmd/zed/zed.d/pool_import-sync-led.sh | 161 | fi | COMMENT |
| LOW | cmd/zed/zed.d/trim_finish-notify.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/vdev_clear-sync-led.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/vdev_clear-sync-led.sh | 41 | COMMENT | |
| LOW | cmd/zed/zed.d/vdev_clear-sync-led.sh | 161 | fi | COMMENT |
| LOW | cmd/zed/zed.d/scrub_finish-notify.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/statechange-sync-led.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/statechange-sync-led.sh | 41 | COMMENT | |
| LOW | cmd/zed/zed.d/statechange-sync-led.sh | 161 | fi | COMMENT |
| LOW | cmd/zed/zed.d/resilver_finish-notify.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/vdev_attach-sync-led.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/vdev_attach-sync-led.sh | 41 | COMMENT | |
| LOW | cmd/zed/zed.d/vdev_attach-sync-led.sh | 161 | fi | COMMENT |
| LOW | cmd/zed/zed.d/statechange-notify.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/generic-notify.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/statechange-sync-slot_off.sh | 1 | #!/bin/sh | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 21 | # | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 41 | fi | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 61 | } | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 81 | COMMENT | |
| LOW | cmd/zed/zed.d/zed-functions.sh | 141 | # Arguments | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 221 | COMMENT | |
| LOW | cmd/zed/zed.d/zed-functions.sh | 241 | # Globals | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 301 | return 0 | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 321 | # subject: notification subject | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 401 | # | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 461 | return 1 | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 541 | } | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 561 | # pathname: pathname containing the notification message (OPTIONAL) | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 641 | # The Gotify application token (ZED_GOTIFY_APPTOKEN) defines a | COMMENT |
| LOW | cmd/zed/zed.d/zed-functions.sh | 721 | zed_log_err "gotify \"${msg_err}"\" | COMMENT |
| LOW | cmd/zed/agents/zfs_agents.c | 21 | #include <stddef.h> | COMMENT |
| LOW | cmd/zed/agents/fmd_serd.c | 21 | #include <stdlib.h> | COMMENT |
| LOW | cmd/zed/agents/zfs_mod.c | 61 | #include <ctype.h> | COMMENT |
| LOW | cmd/zed/agents/fmd_api.h | 61 | void *ci_bufptr; /* case data serialization buffer */ | COMMENT |
| LOW | cmd/zed/agents/zfs_diagnosis.c | 21 | #include <string.h> | COMMENT |
| LOW | cmd/zpool_influxdb/zpool_influxdb.c | 61 | */ | COMMENT |
| LOW | cmd/zpool_influxdb/README.md | 241 | COMMENT | |
| LOW | cmd/zinject/translate.c | 21 | #include <fcntl.h> | COMMENT |
| LOW | cmd/zinject/zinject.c | 141 | #include <errno.h> | COMMENT |
| LOW | cmd/zfs/zfs_main.c | 21 | * Copyright (c) 2019 Datto Inc. | COMMENT |
| LOW | cmd/zfs/zfs_main.c | 41 | #include <string.h> | COMMENT |
| LOW | cmd/zfs/zfs_main.c | 61 | #include <libzfs_core.h> | COMMENT |
| 1032 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 52 | def lzc_create_translate_error(ret, name, ds_type, props): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 69 | def lzc_clone_translate_error(ret, name, origin, props): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 87 | def lzc_rollback_translate_error(ret, name): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 103 | def lzc_rollback_to_translate_error(ret, name, snap): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 110 | def lzc_snapshot_translate_errors(ret, errlist, snaps, props): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 140 | def lzc_destroy_snaps_translate_errors(ret, errlist, snaps, defer): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 157 | def lzc_bookmark_translate_errors(ret, errlist, bookmarks): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 208 | def lzc_get_bookmarks_translate_error(ret, fsname, props): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 216 | def lzc_destroy_bookmarks_translate_errors(ret, errlist, bookmarks): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 229 | def lzc_snaprange_space_translate_error(ret, firstsnap, lastsnap): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 256 | def lzc_hold_translate_errors(ret, errlist, holds, fd): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 299 | def lzc_release_translate_errors(ret, errlist, holds): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 343 | def lzc_get_holds_translate_error(ret, snapname): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 390 | def lzc_send_space_translate_error(ret, snapname, fromsnap): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 419 | def lzc_receive_translate_errors( | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 488 | def lzc_promote_translate_error(ret, name): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 503 | def lzc_change_key_translate_error(ret, name): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 516 | def lzc_load_key_translate_error(ret, name, noop): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 534 | def lzc_unload_key_translate_error(ret, name): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 555 | def lzc_reopen_translate_error(ret, name): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 563 | def lzc_channel_program_translate_error(ret, name, error): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 586 | def lzc_pool_checkpoint_translate_error(ret, name, discard=False): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 610 | def lzc_pool_checkpoint_discard_translate_error(ret, name): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 614 | def lzc_rename_translate_error(ret, source, target): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 631 | def lzc_destroy_translate_error(ret, name): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 761 | def _validate_fs_or_snap_name(name): | CODE |
| LOW | contrib/pyzfs/libzfs_core/_libzfs_core.py | 905 | def lzc_channel_program_nosync( | CODE |
| LOW | contrib/pyzfs/libzfs_core/_libzfs_core.py | 1266 | def lzc_receive_with_cmdprops( | CODE |
| LOW | contrib/pyzfs/libzfs_core/_libzfs_core.py | 1664 | def lzc_pool_checkpoint_discard(name): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 355 | def test_create_fs_wrong_ds_type(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 361 | def test_create_fs_below_zvol(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 369 | def test_create_zvol_below_zvol(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 385 | def test_create_fs_in_ro_pool(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 391 | def test_create_fs_without_parent(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 398 | def test_create_fs_in_nonexistent_pool(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 405 | def test_create_fs_with_invalid_prop(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 413 | def test_create_fs_with_invalid_prop_type(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 421 | def test_create_fs_with_invalid_prop_val(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 429 | def test_create_fs_with_invalid_name(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 436 | def test_create_fs_with_invalid_pool_name(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 760 | def test_destroy_snapshot_of_nonexistent_fs(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 768 | def test_destroy_invalid_snap_name(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 778 | def test_destroy_too_long_full_snap_name(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 787 | def test_destroy_too_long_short_snap_name(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 833 | def test_clone_nonexistent_parent_fs(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 843 | def test_clone_to_nonexistent_pool(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 853 | def test_clone_invalid_snap_name(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 995 | def test_rollback_too_long_fs_name(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1001 | def test_rollback_to_snap_name(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1008 | def test_rollback_to_not_latest(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1405 | def test_snaprange_space_wrong_order(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1415 | def test_snaprange_space_unrelated(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1425 | def test_snaprange_space_across_pools(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1435 | def test_snaprange_space_nonexistent(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1531 | def test_send_space_same_snap(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1537 | def test_send_space_wrong_order(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1547 | def test_send_space_unrelated(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1557 | def test_send_space_across_pools(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 1567 | def test_send_space_nonexistent(self): | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 3317 | def test_get_holds_nonexistent_snap(self): | CODE |
| 156 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contrib/pyzfs/libzfs_core/_constants.py | 22 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_constants.py | 22 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_constants.py | 22 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 42 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 42 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 42 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 44 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 44 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 44 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 44 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 44 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 44 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 44 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 54 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/exceptions.py | 21 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/exceptions.py | 21 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/exceptions.py | 21 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 30 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 30 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 30 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_libzfs_core.py | 30 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_libzfs_core.py | 30 | CODE | |
| 26 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/zfs-tests/tests/perf/nfs-sample.cfg | 18 | # This file is a sample NFS configuration for the performance tests. To use the | COMMENT |
| MEDIUM | tests/zfs-tests/tests/functional/acl/acl.cfg | 36 | # Define the current user who run 'usr_exec' | COMMENT |
| MEDIUM | contrib/pyzfs/docs/source/conf.py | 7 | # This file is execfile()d with the current directory set to its | COMMENT |
| MEDIUM | scripts/zfs-tests.sh | 305 | # Create a new associative array for the actual tests in this workspace. | COMMENT |
| MEDIUM | scripts/zimport.sh | 159 | # Create a random directory tree of files and sub-directories to | COMMENT |
| MEDIUM | scripts/zimport.sh | 283 | # Create a file vdev RAIDZ pool. | COMMENT |
| MEDIUM | scripts/zimport.sh | 294 | # Create a pool/fs filesystem with some random contents. | COMMENT |
| MEDIUM | .github/workflows/scripts/qemu-5-setup.sh | 126 | # Create the file so we can tail it, even if there's no output. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/zfs/zfs_main.c | 2203 | zprop_list_t fake_name = { 0 }; | CODE |
| LOW⚡ | cmd/zfs/zfs_main.c | 2422 | fake_name.pl_prop = ZFS_PROP_NAME; | CODE |
| LOW⚡ | cmd/zfs/zfs_main.c | 2423 | fake_name.pl_width = strlen("NAME"); | CODE |
| LOW⚡ | cmd/zfs/zfs_main.c | 2424 | fake_name.pl_next = cb.cb_proplist; | CODE |
| LOW⚡ | cmd/zfs/zfs_main.c | 2425 | cb.cb_proplist = &fake_name; | CODE |
| LOW | cmd/zfs/zfs_main.c | 2439 | if (cb.cb_proplist == &fake_name) | CODE |
| LOW | cmd/zfs/zfs_main.c | 2440 | zprop_free_list(fake_name.pl_next); | CODE |
| LOW | cmd/zpool/zpool_main.c | 13283 | zprop_list_t fake_name = { 0 }; | CODE |
| LOW⚡ | cmd/zpool/zpool_main.c | 13468 | fake_name.pl_prop = ZPOOL_PROP_NAME; | CODE |
| LOW⚡ | cmd/zpool/zpool_main.c | 13469 | fake_name.pl_width = strlen("NAME"); | CODE |
| LOW⚡ | cmd/zpool/zpool_main.c | 13470 | fake_name.pl_next = cb.cb_proplist; | CODE |
| LOW⚡ | cmd/zpool/zpool_main.c | 13471 | cb.cb_proplist = &fake_name; | CODE |
| LOW | cmd/zpool/zpool_main.c | 13490 | if (cb.cb_proplist == &fake_name) | CODE |
| LOW | cmd/zpool/zpool_main.c | 13491 | zprop_free_list(fake_name.pl_next); | CODE |
| LOW | …sts/functional/cli_root/zfs_receive/zstd_test_data.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | …sts/functional/cli_root/zfs_receive/zstd_test_data.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliq | CODE |
| LOW | …stream/test-stream-creation-scripts/gen-lorem-files.py | 2 | """Generate randomly-named files with lorem ipsum paragraphs.""" | STRING |
| LOW | …stream/test-stream-creation-scripts/gen-lorem-files.py | 74 | description="Generate files with random names and lorem ipsum content." | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 3923 | except Exception: | CODE |
| HIGH | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 3927 | except Exception: | CODE |
| HIGH | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 3931 | except Exception: | CODE |
| HIGH | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 3936 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 110 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 229 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 256 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 299 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 355 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 390 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 419 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 114 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 260 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_error_translation.py | 307 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_libzfs_core.py | 1112 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_libzfs_core.py | 1712 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_libzfs_core.py | 1720 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_nvlist.py | 171 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_nvlist.py | 233 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_nvlist.py | 267 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 3866 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/zfs-tests.sh | 732 | # Check if ksh exists | COMMENT |
| LOW | scripts/spdxcheck.pl | 409 | # Open the file, and extract its license tag. We only check the first | COMMENT |
| LOW | scripts/spdxcheck.pl | 487 | # Read the file, take only the text part of comment lines, then | COMMENT |
| LOW | .github/workflows/scripts/qemu-4-build-vm.sh | 382 | # Check if we're running this script from within a VM or on the runner itself. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/zimport.sh | 44 | # ----------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/zimport.sh | 47 | # ----------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …stream/test-stream-creation-scripts/make-dump-files.py | 53 | except Exception as e: | CODE |
| MEDIUM | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 285 | def setUpClass(cls): | CODE |
| LOW | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 292 | except Exception: | CODE |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 3923 | except Exception: | STRING |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 3927 | except Exception: | STRING |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 3931 | except Exception: | STRING |
| LOW⚡ | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 3936 | except Exception: | STRING |
| LOW | contrib/pyzfs/libzfs_core/test/test_libzfs_core.py | 3862 | except Exception: | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | module/zfs/dmu_send.c | 1837 | * list. We need to check if this object/blkid | COMMENT |
| LOW | module/zfs/spa.c | 11172 | * Note: We need to check if the MOS is dirty because we could | COMMENT |
| LOW | module/zfs/arc.c | 9492 | * We need to check if we evict all buffers, otherwise we may iterate | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/zfs-helpers.sh | 4 | # This script is designed to facilitate in-tree development and testing | COMMENT |
| LOW | .github/workflows/scripts/qemu-1-setup.sh | 100 | # use it as our ZFS disk and swap partition. If not, just create a file VDEV | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contrib/pyzfs/libzfs_core/_libzfs_core.py | 1266 | CODE | |
| LOW | contrib/pyzfs/libzfs_core/_libzfs_core.py | 1386 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/zfs-tests.sh | 770 | # NOTE: The following environment variables are undocumented | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/scripts/qemu-4-build-vm.sh | 6 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | contrib/pyzfs/libzfs_core/__init__.py | 96 | __all__ = [ | CODE |