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.

Generated from commit e716cbafc2.

Line coverage: 100.0% (71/71). Function coverage: 100.0% (12/12). Region coverage: 100.0% (136/136).

FunctionsShare
Fully tested100.0% (12/12)
Partially tested0.0% (0/12)
Untested0.0% (0/12)

Per-line execution counts are in the detailed coverage report, linked per file in the tables below.

FileLinesFunctionsRegionsPer-line
lib.rs100.0% (41/41)100.0% (10/10)100.0% (72/72)view
private_unstable_api/renderer.rs100.0% (30/30)100.0% (2/2)100.0% (64/64)view
Sum100.0% (71/71)100.0% (12/12)100.0% (136/136)

Functions: 12 fully tested, 0 partially tested, 0 untested.


© 2026 SixtyFPS GmbH