Skip to content

Test Coverage

The tests of the slint-sc runtime crate run under LLVM source-based coverage instrumentation with cargo llvm-cov: the unit tests, and the test driver that compiles the .slint test cases and runs them against the instrumented runtime. This chapter reports the measured line, function, and region coverage per source file of the runtime, addressing SR_TEST_COVERAGE. A function counts as fully tested when every code region in it was executed, as partially tested when it was executed but some of its code regions weren’t, and as untested when it was never executed.

This build of the manual doesn’t include coverage data. Build it with scripts/build_safety_manual_coverage.sh; the published manual includes the measured coverage.


© 2026 SixtyFPS GmbH