Bullseye Code Coverage ((install)) Official

Use Bullseye if you need certifiable decision coverage in C/C++ embedded systems, or if you must merge coverage from thousands of test runs. Use open-source tools for web or mobile apps. Conclusion: Hitting the Bullseye Bullseye Coverage is not a glamorous tool. It has a dated UI, a command-line interface that feels like 1995, and a price tag. However, for safety-critical and mission-critical software, it remains the gold standard for decision coverage.

| Tool | Best For | Bullseye Advantage | | :--- | :--- | :--- | | | Rapid iteration, open-source | Bullseye has decision coverage, LLVM only line/function | | Codecov / Coveralls | SaaS dashboards, PR comments | Bullseye works air-gapped (offline) for classified work | | SonarQube | Multi-language, quality gates | Bullseye’s merge engine is vastly superior for embedded | | Parasoft C/C++test | Full SDLC compliance | Bullseye is lighter-weight and cheaper | bullseye code coverage

The instrumented source is then compiled and linked with Bullseye’s runtime library. You run your test suite normally (unit tests, integration tests, fuzzing). As the binary executes, the probes increment counters in shared memory or a .cov data file. Bullseye is remarkably low-overhead—typically 10-30% slowdown, making it viable for large test suites. Phase 3: Merging & Reporting ( covselect , covbr , covhtml ) This is where Bullseye shines. You can run tests across 1000 different processes, on different machines, at different times, and then merge all the .cov files into a single aggregate report. The command covmerge intelligently sums counters without double-counting. 3. Deep Dive: Decision Coverage (The "True" Bullseye Metric) Many teams erroneously believe 100% line coverage equals "tested." Consider this C++ function: Use Bullseye if you need certifiable decision coverage