JShell: coverage report

andrei.eremeev andrei.eremeev at oracle.com
Wed May 20 15:39:36 UTC 2015


Hi REPL team and Java Community,

Please, find coverage report of the existing code in JShell:
http://cr.openjdk.java.net/~aeremeev/jshell-coverage/

Currently, coverage is not acceptable: only 76% for methods and 70% for 
blocks.
Java Community, do not hesitate to contribute. We will appreciate 
contribution in:
   1. detection of gaps of testing;
   2. writing tests for detected gaps (currently, some evident cases are 
not covered).

Some of JShell classes are not covered at all. 
jdk.internal.jshell.tool.EditPad is covered by tests, but they fail 
because of an issue in JCov.
Some of the classes are not used in code at all: 
http://cr.openjdk.java.net/~aeremeev/jshell-coverage/allclasses-frame.html

Andrei Eremeev


More information about the kulla-dev mailing list