ClickHouse reports 91.8% C++ line coverage using ClickGap

clickhouse.com24 min read

ClickHouse details its approach to measuring and increasing C++ test coverage, reaching 91.8% line coverage and 81.0% branch coverage on its master branch. The database uses Clang source-based coverage tooling and a self-hosted AI agent named ClickGap to automatically find gaps and write tests. Additionally, ClickHouse tracks per-test coverage data to selectively run relevant tests and reduce CI resource consumption. Open article →