RFR 7902161 : Discover simple getters, setters, throwers and delegators.
Alexandre (Shura) Iline
alexandre.iline at oracle.com
Thu May 3 22:20:54 UTC 2018
Hi.
Could you please take a look on this suggested addition to JCov.
It is a tool which could be used to discover “simple” methods in the code to later be used for filtering of coverage data, such as for ANC code.
Functionality: While writing, I did make a number of design choices which may or may not be the most practical ones, so I would welcome any sort of feedback.
Testing: There are _some_ tests - not a complete coverage, which would require testing many combinations of bytecode operations. All tests are true “unit” tests with the exception of MainTest. Tests are executable from ant build script.
Documentation: There is _some_ javadoc here and there and there is a usage information - altogether not enough to consider the tool to be completely documented. But … it’s an open-source and the code is right next to the documentation … and the tool is for people with dev background, so I think we can start with what t is there already and add more later. Do let me know if something is incorrect, unclear or confusing - I will have it fixed.
Webrev: http://cr.openjdk.java.net/~shurailine/7902161/webrev.00
Thank you.
Shura
More information about the jcov-dev
mailing list