{ "dead_code": { "allowlist": { "db.Migration": "the row type of `MIGRATIONS`, which is `pub` only under `test-support`; production walks the table through `db::migrate` without naming it", "db.PackageRow": "what `index_packages` hands back to `http`, the publish step and the `aur-build` binary, which bind it without naming it", "db.Subscription": "what `get_subscription` and `list_subscriptions` hand back to `watch`, `usecase`, the binary and tests/detect.rs", "db.Unbuilt": "the attention row `approved_but_unbuilt` returns to the web UI and to tests/crash.rs", "pkginfo.Installed": "what `parse_installed` answers with, read line by line by `pipeline` and tests/world.rs", "pkginfo.PkgInfo": "what `parse_pkginfo` answers with; `pipeline`, `shims` and tests/world.rs read its fields, never its name", "review.BulkItem": "one outcome of `approve::bulk`, which tests/approve.rs drives directly", "sandbox.ProvisionRequest": "the argument of `Provisioner::provision`, the trait the public `LocalAgentProvisioner` implements", "sandbox.Provisioner": "implemented by the test-gated public `LocalAgentProvisioner`; a private trait on a public impl is E0445", "shims.FakeInstalled": "the whole `shims` module is `test-support`-gated, so a release build never compiles it", "shims.FakePackage": "the whole `shims` module is `test-support`-gated, so a release build never compiles it", "shims.Manifest": "returned by `manifest()`, which the shim tests read; the module is `test-support`-gated", "time.VirtualClock": "lives in the `test-support`-gated clock module, behind the gated `virtualize()` that returns it", "usecase.Checked": "what `usecase::detect` returns to the `aur-build` binary, which is a separate crate", "usecase.GcPlan": "what `usecase::plan_gc` returns to the `aur-build` binary, which is a separate crate", "usecase.Prepared": "what `prepare_review` and `view_review` return to the `aur-build` binary, which is a separate crate", "watch.CheckReport": "what `detect::check_pkgbase` returns; the test tier drives it and binds the value without naming it", "watch.StageA": "what `upstream::probe` returns; tests/ops.rs and tests/vcs.rs call `probe` directly" }, "deadonly": { "bin/gpg": 0, "bin/makechrootpkg": 0, "bin/makepkg": 0, "bin/mkarchroot": 0, "bin/pacman": 0, "bin/repo-add": 0, "bin/sandbox-agent": 0, "config": 0, "db": 0, "error": 0, "fetch": 0, "git": 0, "hash": 0, "http": 0, "lib": 0, "main": 0, "ops": 0, "pipeline": 0, "pkginfo": 0, "pkgver": 0, "recipe": 0, "review": 0, "sandbox": 0, "shims": 0, "time": 0, "urlutil": 0, "usecase": 0, "watch": 0 } }, "modules": { "bin/gpg": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 4, "largest_file": "src/bin/gpg.rs", "lines": 4, "priv": 0, "pub": 0, "test": 0 }, "bin/makechrootpkg": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 4, "largest_file": "src/bin/makechrootpkg.rs", "lines": 4, "priv": 0, "pub": 0, "test": 0 }, "bin/makepkg": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 4, "largest_file": "src/bin/makepkg.rs", "lines": 4, "priv": 0, "pub": 0, "test": 0 }, "bin/mkarchroot": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 4, "largest_file": "src/bin/mkarchroot.rs", "lines": 4, "priv": 0, "pub": 0, "test": 0 }, "bin/pacman": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 4, "largest_file": "src/bin/pacman.rs", "lines": 4, "priv": 0, "pub": 0, "test": 0 }, "bin/repo-add": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 4, "largest_file": "src/bin/repo-add.rs", "lines": 4, "priv": 0, "pub": 0, "test": 0 }, "bin/sandbox-agent": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 50, "largest_file": "src/bin/sandbox-agent.rs", "lines": 50, "priv": 0, "pub": 0, "test": 0 }, "config": { "dead": 2, "deadonly": 0, "glob": 0, "largest": 701, "largest_file": "src/config.rs", "lines": 701, "priv": 2, "pub": 29, "test": 2 }, "db": { "dead": 11, "deadonly": 0, "glob": 0, "largest": 368, "largest_file": "src/db/mod.rs", "lines": 3897, "priv": 19, "pub": 189, "test": 11 }, "error": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 430, "largest_file": "src/error.rs", "lines": 430, "priv": 0, "pub": 21, "test": 0 }, "fetch": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 57, "largest_file": "src/fetch.rs", "lines": 57, "priv": 2, "pub": 1, "test": 0 }, "git": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 240, "largest_file": "src/git.rs", "lines": 240, "priv": 0, "pub": 14, "test": 0 }, "hash": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 111, "largest_file": "src/hash.rs", "lines": 111, "priv": 0, "pub": 7, "test": 0 }, "http": { "dead": 5, "deadonly": 0, "glob": 0, "largest": 565, "largest_file": "src/http/routes/pages.rs", "lines": 2034, "priv": 81, "pub": 17, "test": 5 }, "lib": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 23, "largest_file": "src/lib.rs", "lines": 23, "priv": 0, "pub": 0, "test": 0 }, "main": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 314, "largest_file": "src/main.rs", "lines": 314, "priv": 0, "pub": 0, "test": 0 }, "ops": { "dead": 3, "deadonly": 0, "glob": 0, "largest": 455, "largest_file": "src/ops.rs", "lines": 455, "priv": 5, "pub": 11, "test": 3 }, "pipeline": { "dead": 6, "deadonly": 0, "glob": 0, "largest": 472, "largest_file": "src/pipeline/steps.rs", "lines": 1411, "priv": 16, "pub": 21, "test": 6 }, "pkginfo": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 117, "largest_file": "src/pkginfo.rs", "lines": 117, "priv": 0, "pub": 6, "test": 0 }, "pkgver": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 559, "largest_file": "src/pkgver/mod.rs", "lines": 559, "priv": 0, "pub": 7, "test": 0 }, "recipe": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 459, "largest_file": "src/recipe.rs", "lines": 459, "priv": 0, "pub": 7, "test": 0 }, "review": { "dead": 4, "deadonly": 0, "glob": 0, "largest": 301, "largest_file": "src/review/diff.rs", "lines": 915, "priv": 4, "pub": 24, "test": 4 }, "sandbox": { "dead": 7, "deadonly": 0, "glob": 0, "largest": 508, "largest_file": "src/sandbox/kata.rs", "lines": 1413, "priv": 16, "pub": 21, "test": 7 }, "shims": { "dead": 4, "deadonly": 0, "glob": 0, "largest": 655, "largest_file": "src/shims/mod.rs", "lines": 655, "priv": 13, "pub": 8, "test": 4 }, "time": { "dead": 3, "deadonly": 0, "glob": 0, "largest": 243, "largest_file": "src/time.rs", "lines": 243, "priv": 0, "pub": 13, "test": 3 }, "urlutil": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 56, "largest_file": "src/urlutil.rs", "lines": 56, "priv": 0, "pub": 1, "test": 0 }, "usecase": { "dead": 0, "deadonly": 0, "glob": 0, "largest": 124, "largest_file": "src/usecase/reviews.rs", "lines": 405, "priv": 0, "pub": 30, "test": 0 }, "watch": { "dead": 4, "deadonly": 0, "glob": 0, "largest": 296, "largest_file": "src/watch/upstream.rs", "lines": 1115, "priv": 12, "pub": 21, "test": 4 } }, "test_surface": { "already-gated": 16, "interface": 1, "narrowed": 19, "total": 36 }, "totals": { "dead": 49, "deadonly": 0, "edges": 87, "glob": 0, "largest": 701, "largest_file": "src/config.rs", "lines": 15684, "priv": 170, "pub": 448, "test": 49 } }