Tests

Test coverage

The share of Quillo's lines its tests run, measured in one run of the whole suite: 3,203 tests, with Chrome, PostgreSQL and MariaDB, on macOS arm64. The Rust source is measured by cargo llvm-cov (the Lines column of its total, with its Regions beside it: a line counts as run when any part of it ran, so let x = f()?; is run though f never failed, and a region is each such part), and the browser runtime, src/client/runtime.js, by the coverage Chrome and Node keep themselves, mapped back to the file's lines. Last measured on 2026-11-07, at commit c293883 of Quillo 0.7.0.

Now

PartLinesRunNot runCoverageTarget
Rust, lines61,96161,12583698.65%97.90%
Rust, regions149,621145,4544,16797.21%—
Browser runtime5,8175,810799.88%99.50%

History

Every run, newest first.

DateCommitVersionTestsRustRust regionsBrowser runtime
2026-11-07c2938830.7.03,20398.65%97.21%99.88%
2026-11-06fc95e090.7.03,07698.69%97.23%99.88%
2026-11-04c99b8cf0.7.0-dev2,65098.67%97.12%99.86%
2026-11-04f3191770.7.0-dev2,68998.69%97.15%99.86%
2026-11-03daa8c350.7.0-dev2,54098.85%97.22%99.85%
2026-11-03a9b56bb0.7.0-dev2,56898.78%97.16%99.85%
2026-11-031c7c3820.7.0-dev2,61498.78%97.18%99.85%
2026-11-02c8b50ae0.6.02,222 (5 failed)97.91%—99.78%

Rust, file by file

78 files of src/; 20 below 97.90%, marked in gold. What is not run is mostly unreachable! arms, failures of the operating system and other systems' branches.

FileLinesRunNot runCoverage
src/alloc.rs126650.00%
src/ast.rs282281199.65%
src/builtins.rs2,9992,9524798.43%
src/check.rs6,1396,0994099.35%
src/client.rs3,7713,7422999.23%
src/cluster.rs1301300100.00%
src/crypto.rs213204995.77%
src/dates.rs757754399.60%
src/db.rs2,5632,5243998.48%
src/debug.rs894886899.11%
src/decimal.rs557556199.82%
src/defer.rs27270100.00%
src/describe.rs365362399.18%
src/desktop.rs2212041792.31%
src/dotenv.rs1591590100.00%
src/embed.rs6235824193.42%
src/entities.rs550100.00%
src/error.rs182181199.45%
src/fcgi.rs327321698.17%
src/fetch.rs8218091298.54%
src/highlight.rs4214210100.00%
src/httpd.rs1,6651,6065996.46%
src/i18n.rs673669499.41%
src/idempotency.rs5295161397.54%
src/imaging.rs3223071595.34%
src/install.rs4034030100.00%
src/interp.rs4,0634,0253899.06%
src/island.rs1121120100.00%
src/jit.rs8548391598.24%
src/jitloop.rs1,3271,2814696.53%
src/jobs.rs358354498.88%
src/lexer.rs510503798.63%
src/lib.rs16160100.00%
src/livecache.rs414413199.76%
src/lsp.rs1,7141,712299.88%
src/main.rs1,1521,1391398.87%
src/media.rs710705599.30%
src/metrics.rs109106397.25%
src/migrate.rs151147497.35%
src/mobile.rs206202498.06%
src/modules.rs549542798.72%
src/money.rs682681199.85%
src/my.rs5064901696.84%
src/native.rs1,1681,1571199.06%
src/new.rs1841721293.48%
src/numeric.rs1,9641,9541099.49%
src/par.rs1441440100.00%
src/parser.rs3,4493,4173299.07%
src/pg.rs1,7281,6983098.26%
src/platform.rs1501262484.00%
src/policy.rs3683581097.28%
src/privacy.rs277275299.28%
src/querystats.rs1231230100.00%
src/re.rs446444299.55%
src/ready.rs92920100.00%
src/record.rs191190199.48%
src/script.rs190188298.95%
src/server.rs2,8412,8083398.84%
src/service.rs1,6461,6291798.97%
src/session.rs412406698.54%
src/shared.rs363360399.17%
src/site.rs12120100.00%
src/sites.rs134133199.25%
src/sql.rs1,6451,639699.64%
src/sqlinfo.rs136135199.26%
src/stack.rs6160198.36%
src/statics.rs4774631497.06%
src/stream.rs209205498.09%
src/styles.rs520518299.62%
src/svcauth.rs5064951197.83%
src/sym.rs187184398.40%
src/txn.rs5855394.83%
src/udp.rs5014891297.60%
src/upload.rs1901900100.00%
src/value.rs1,4721,4512198.57%
src/viewcache.rs133132199.25%
src/ws.rs3963801695.96%
src/wt.rs1,0951,0702597.72%

The browser runtime

A line counts unless it is blank, a comment, or only brackets; it ran when the innermost block V8 reports around its first character ran. 5 stretches of runtime.js did not run in this measurement. A change to the runtime must keep it at 99.50% or more, and every line it changes must run in a test.