JDK-8302243 : 100% non-trivial method coverage
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Priority: P4
  • Status: Resolved
  • Resolution: Delivered
  • Submitted: 2023-02-10
  • Updated: 2023-05-25
  • Resolved: 2023-05-25
Description
For every JEP introducing a new Java code, it is reasonable to expect that at least all non-trivial methods are covered by tests, with the exception of methods that are hard to reach, specifically fallback methods.
"Simple methods" JCov plugin can be used to exclude trivial code.