Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Quality Metrics

Generated by cargo run --example list_commands -- --write (T833) from the source tree; do not edit by hand. scripts/check fails when it is stale.

Every number here is read from the files as text, with comments and the contents of string literals skipped: no build, no test run, no network. So the page is the same on every machine for a given commit, and a change that adds tests, translations or allowlist entries shows up in its diff. The counts are a scan, not the compiler’s view: a test generated by a macro other than proptest! is not counted, and lines include blank lines and comments.

Line counts are rounded so that an ordinary edit leaves this page unchanged: the summary’s line totals to the nearest 1,000 and the per-crate src and tests columns to the nearest 100, halves up (a count that would round to 0 but is not shows as <500 or <50). Every other number (crates, tests, keys, allowlist entries) is exact.

Summary

MetricValue
Workspace crates (tui/ and crates/)149
Desktop GUI crates (gui/)7
Lines of Rust in src/345,000
Lines of Rust in tests/64,000
Lines of Rust elsewhere (benches/, examples/, build.rs)5,000
Test functions (#[test], #[tokio::test])7,094
Property tests (#[test] in proptest!)133 in 60 blocks
Fuzz targets (fuzz/fuzz_targets/)18
Criterion benchmark files (benches/)7
Ignored tests (#[ignore])8 (none in flaky quarantine)
Lint suppressions in src/ (allow/expect attributes)172
Translation keys (crates/vix-i18n/locales/)4,166 in 12 files

Crates per layer

A crate’s layer is the longest chain of workspace dependencies below it; each crate is listed in Crate Layers.

LayerCrates
51
42
319
29
154
064

Translations

4,166 keys; a locale missing a key falls back to en. Locales with only a few keys are deliberate partial catalogs.

LocaleKeysMissingComplete
ar4,1660100.0%
bn4,1660100.0%
cy4,1660100.0%
de4,1660100.0%
en4,1660100.0%
es4,1660100.0%
fr4,1660100.0%
ga4,1660100.0%
gd4,1660100.0%
hi4,1660100.0%
ja4,1660100.0%
pl4,1660100.0%
pt4,1660100.0%
ru4,1660100.0%
zh4,1660100.0%
tlh214,1450.5%
sjn194,1470.4%
el164,1500.3%
fa164,1500.3%
id164,1500.3%
it164,1500.3%
ko164,1500.3%
nl164,1500.3%
th164,1500.3%
tr164,1500.3%
uk164,1500.3%
vi164,1500.3%

Allowlists

Each entry is an exception someone wrote down with a reason; a growing count is worth a look.

AllowlistEntriesWhere
Files that may print4 (17 print macros)PRINT_ALLOWED in tui/tests/code_lints.rs
Untranslated message-sink literals0SINK_ALLOWED in tui/tests/code_lints.rs
Files that may hold secret-shaped text0allow lines in scripts/secret-patterns
Equivalent mutants14exclude_re in .cargo/mutants.toml
Ignored security advisories3[advisories] ignore in deny.toml

Per crate

src and tests are lines of Rust under src/ (in-file #[cfg(test)] modules included) and tests/, rounded to the nearest 100; test fns counts every file of the crate, property tests included.

CratesrctestsTest fnsProperty testsIgnored
vix-acp2,7003004800
vix-action-catalog1,1000400
vix-affix1000300
vix-ai-agents1,70002100
vix-ai-core8002003000
vix-ai-diff3000900
vix-ai-panel2000400
vix-align1000400
vix-ascii-character-picker3000500
vix-authority8,9004,50019570
vix-base-tool2000600
vix-base162000300
vix-base64-tool1000620
vix-bottom-dock3000500
vix-byte-size2000700
vix-calculator-tool30001020
vix-calendar-panel60001200
vix-capped-stack1000400
vix-case2000500
vix-checksum-tool1000500
vix-choice-list2000400
vix-civil-date2000500
vix-clipboard400100800
vix-clock-panel3000500
vix-color-converter-tool6000800
vix-column-view1,40002700
vix-conflict-tool50002100
vix-contact-panel1000200
vix-convert-from-csv-into-json-tool<500100
vix-convert-from-csv-into-tsv-tool<500100
vix-convert-from-html-into-markdown-tool<500310
vix-convert-from-json-into-csv-tool<500200
vix-convert-from-json-into-toml-tool1000410
vix-convert-from-json-into-tsv-tool<500200
vix-convert-from-json-into-yaml-tool1000510
vix-convert-from-markdown-into-html-tool1000310
vix-convert-from-toml-into-json-tool<500310
vix-convert-from-tsv-into-csv-tool<500100
vix-convert-from-tsv-into-json-tool<500100
vix-convert-from-yaml-into-json-tool1000510
vix-convert-tabular50001530
vix-coverage50001100
vix-cowork5,0009009870
vix-cowork-net1,3007003100
vix-dap2,8006002600
vix-db31,200054100
vix-diff-view60001300
vix-doctor4000600
vix-edit-bytes4000600
vix-edit-outline90002900
vix-edit-sql1,1001002930
vix-edit-table8003002600
vix-edit-value2,00005040
vix-editor3,2001,6009140
vix-editor-core17,600400359100
vix-editorconfig9002003640
vix-emmet40001020
vix-encoding5000900
vix-fhir1,9002003400
vix-file-browser-panel90001200
vix-file-information-panel5000600
vix-fileops4,20008000
vix-find-panel1,1001002740
vix-format-tool50001300
vix-git4,2001,0009200
vix-git-graph1,0002001520
vix-greedy-wrap1000700
vix-hex-rgb1000200
vix-hl71,9002005380
vix-html-character-picker3000800
vix-http-client2,9001006520
vix-i18n4000700
vix-im2,7001006270
vix-im-irc3,1004006670
vix-im-panel6000600
vix-input6000700
vix-jupyter1,8001,5004900
vix-jupyter-core3,1009008950
vix-jwt-tool2000620
vix-keybinding-editor-panel4000600
vix-keybindings3,50004500
vix-keyboard-shortcut-panel3000300
vix-keymap-model1000100
vix-large-file2,1008004930
vix-left-dock4000100
vix-list-state30001700
vix-locale-model3000600
vix-lorem1000300
vix-lsp6,700011000
vix-lsp-core5,30030011920
vix-macros3000400
vix-markdown-preview50001100
vix-matrix-protocol1,1004001940
vix-mcp-server2,40004000
vix-media-type3000610
vix-menu4,20002700
vix-modal4,100010610
vix-nerd-font-picker5000600
vix-oci2,1002004600
vix-oci-panel1,30002600
vix-org6,900013820
vix-org-capture1,3003003500
vix-org-contacts40001720
vix-org-table2,6003006720
vix-outline-panel2000400
vix-palette1,4001002350
vix-pomodoro-tool4000800
vix-project-env1,30003000
vix-qr-tool1000310
vix-regex-tool2000500
vix-review1,80002600
vix-right-dock2000200
vix-roam80001400
vix-script2,1001,1005100
vix-session90001900
vix-settings2,50002600
vix-settings-bundle60001500
vix-snippet-tool1,30001700
vix-snippets1,10003400
vix-spellcheck80002101
vix-status-bar-panel2000600
vix-structural-replace80001600
vix-system-information-panel5000600
vix-tags50001410
vix-tasks6,800500163100
vix-terminal2,00003400
vix-test-runner3000700
vix-text-information-panel3000600
vix-textops2,00005140
vix-theme60001400
vix-theme-editor-panel4000700
vix-theme-model90001100
vix-time-zone-model2,7000400
vix-todo-tree5000800
vix-tui116,40044,9002,65607
vix-tutor50001400
vix-undo-store1,10001700
vix-undo-tree-panel5000700
vix-unit-converter-tool6000700
vix-url-tool1000620
vix-uuid-tool2000600
vix-vcard-panel2000200
vix-vcard-parser3000920
vix-welcome-panel4000600
vix-workspace3000400
vix-workspace-dashboard-panel1000100
vix-workspace-search80001000
vix-x11-color-picker3000900
vix-zid-tool1000400

Desktop GUIs

CratesrctestsTest fnsProperty testsIgnored
vix-bui3,80006300
vix-egui2,1001002000
vix-gpui1,70001600
vix-gtk42,30002300
vix-iced2,30002100
vix-slint2,70002500
vix-zgui2,20002600

Not on this page

Metrics that need a build, a long run or a particular machine are kept where they are measured:

  • Line coverage: cargo llvm-cov (flags in bin/test-coverage, which make coverage runs), and in CI’s coverage job; see spec/ci.
  • Mutation score: .github/workflows/mutants.yml runs cargo mutants weekly and uploads mutants.out/; see spec/test.
  • Flakiness: scripts/flaky-hunt reruns a test under load; see spec/test.
  • Speed and memory: the Criterion benchmarks and the VIX_PROFILE frame profile; see Performance.