Engineering teams building safety-critical software need coverage tooling that keeps pace with evolving languages, toolchains, and growing codebases. The latest Coco 7.5.3 Release focuses on exactly that, delivering improvements for modern C# development, embedded Linux environments using IAR ARM toolchains, and teams working with large coverage databases.
More Reliable Coverage Measurement for Modern C# Codebases
As C# continues to evolve, this release resolves 14 C#-related issues. Development teams increasingly adopt language features that can challenge static analysis and coverage tooling. Coco 7.5.3 improves instrumentation support for a range of modern C# constructs, helping teams obtain coverage results without hitting parser limitations or instrumentation failures.
This release adds support for newer language features including file-scoped namespaces, primary constructors, required members, raw string literals, interpolated strings, and the null-forgiving operator. It also improves handling of expression-bodied async methods, nullable value-tuple returns, and several other language constructs.
For teams working in regulated environments, Coco now also extends MC/DC coverage measurement to expressions using the C# is and as operators, improving coverage visibility across a broader range of implementation patterns.
Overview
- Parser support added for file-scoped namespaces (C# 10), primary constructors (C# 12), the
requiredkeyword, raw string literals, interpolated strings, and the null-forgiving operator!. - MC/DC coverage is now measured for expressions that use
isandas. ispatterns with indexed operands are instrumented correctly.- Expression-bodied non-generic
async Taskmethods instrument correctly; they previously failed with CS1997. - Nullable value-tuple return types, e.g.
(T1, T2)?, parse correctly. - Global tables with initializers, empty collection initializers, and array items inside initializers parse correctly.
- String escape sequences are parsed correctly.
- Classes with parameters are parsed correctly.
- C# issues resolved in this release. All C# items are bug fixes.
IAR Embedded Workbench Added to CocoSetup
Many embedded software teams use Linux-based development environments together with IAR toolchains. Coco 7.5.3 introduces support for configuring IAR ARM toolchains on Linux through CocoSetup, simplifying onboarding and deployment workflows.
CocoSetup now automatically detects key IAR ARM components including the compiler, linker, and librarian, reducing manual configuration effort. Teams can also reconfigure root-protected installations using the --as-user option when administrative ownership restrictions apply.
For organizations building software for automotive, medical, industrial automation, aerospace, or other safety-focused industries, this enhancement helps streamline coverage setup within established Linux-based toolchains.
Overview
- New: CocoSetup can configure IAR ARM toolchains on Linux. It detects the compiler (
iccarm), linker (ilinkarm) and librarian (iarchive) in the IAR installation. - Fixed: reverting in-place IAR configurations failed; it now works.
- An IAR installation on Linux is protected by root. Replacing its configuration in place needs
--as-user=<account>.
Faster Interactions with Large Coverage Databases
As projects scale, analysis performance becomes increasingly important. Coco 7.5.3 improves the responsiveness of CoverageBrowser when working with large .csmes files by moving selection calculations into the background and automatically stopping computations that are no longer needed.
The release also introduces additional usability enhancements, including configurable truth-table elision limits, easier column customization, and trace logging capabilities that can help diagnose complex support cases.
Overview
- Startup on large
.csmesfiles: selections are computed in the background, and computations that are no longer needed are aborted early. Behaviour is more responsive; no timing figures are approved for external use. - Columns can be shown or hidden from the header right-click menu, which makes the CRAP Metric column easier to find.
- MC/DC and MCC truth-table elision limits are configurable in the preferences and with
cmreport --elide-limit-mcc-mcdc-table. --debug-filewrites CoverageBrowser trace logging to a file.
Additional improvements across the platform
The release also includes fixes and refinements across CoverageScanner, command-line tooling, MSBuild integration, and documentation. Among other updates, teams benefit from improved handling of switch statements and C++ attributes, enhanced response-file support for command-line options, and fixes for DLL locking issues in parallel MSBuild builds.
Available now
Coco 7.5.3 is available for download now. Existing users are encouraged to upgrade to take advantage of the latest C# compatibility improvements, Linux-based IAR workflow support, and performance enhancements across the coverage analysis experience.
New users can download a full feature evaluation license here.
-
About Coco
Coco is a modern code coverage tool for software teams developing desktop applications and embedded systems. It instruments your code during the build process and captures exactly which statements, branches, and conditions were executed during testing without changing your compilers, build system, or test suite.
Subscribe to our blog