BT

Java Community Release First OpenJDK Coverage Numbers

| by Ben Evans Follow 28 Followers on Apr 10, 2015. Estimated reading time: 1 minute |

The global AdoptOpenJDK initiative started by the London Java Community to improve developer participation in OpenJDK has released the first set of coverage numbers for OpenJDK.

Oracle have always generated coverage numbers via the jcov tool for their build of Java, but have never released coverage numbers.

Discussions between AdoptOpenJDK members and Oracle's Quality team indicate that the AdoptOpenJDK numbers are not significantly different from the internal Oracle numbers, but Rory O'Donnell cautioned that "comparing our internal numbers with yours is like comparing apples with pears".

The coverage numbers can be found here.

On the whole, the coverage numbers look reasonable, although some care is advised when reading them. For example, one of the worst performing packages according to the coverage metrics is the brand-new semi-functional support in java.util.function, with several of the members scoring 0% coverage.

However, on inspecting the line level coverage, it is immediately apparent that these strange results are actually being caused by Java 8 functional interfaces with very small amounts of obviously-correct code in default methods, and are not significant.

By contrast, one of the best-scoring group of packages is another new Java 8 feature - the new date and time support contained in java.time and its subpackages.

 

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Um... by Gil Tene

What set of tests is this coverage calculated for?

404 by Mauro Molinari

The link currently doesn't work (404 error).

Re: Um... by Ben Evans

Hi Gil,

AFAIK, that's just the standard set of tests that ship with OpenJDK.

Mani, Martijn or John Oliver would know more.

Re: 404 by Ben Evans

Hi Mauro,

That's a direct link to the last build - but it's currently red, so the artifacts don't get generated. :(

The website looks like it needs a cleanup to allow easy access to historical reports - right now it looks like you can only view the latest (if it exists) or download a tarball.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

4 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT