sw5-jacoco-reporter updated

January 28, 2023    code coverage

A new version of sw5-jacoco-reporter has been released. This release includes several improvements. A tool like this will help determine which code is covered by your automated tests.

The release includes a number of improvements. The biggest improvement is that the generated Java bytecode is better projected onto the original Magik source code. There is a part which is executed directly, when loading the code. And there is a part which represent the defined methods, procedures and other constructs. These parts can be somewhat intertwined. The new release of sw5-jacoco-report is now better able to separate these parts.

Multiple Smallworld products are supported. A lot of Smallworld applications are divided into several products. Earlier, the resulting report could only contain a single Smallworld product.

Another improvement is better support for procedures. Procedures can now be found under their own name - if given… you do give your code a proper name, right? - or are marked as anonymous.

Several other bugs were fixed as well.

The full list of changes can be found in the change log. Note that there have been three releases leading up to 2.0.1: 1.1.0, 2.0.0 and 2.0.1.

As previously mentioned, a big part of this work was sponsored by a customer who understands why code coverage is important. Code coverage helps by determining which parts are tested automatically. Automated tests can greatly improve the overall quality the software.