JDK-8338796 : CLONE - 100% non-trivial method coverage
  • Type: Sub-task
  • Component: other-libs
  • Priority: P4
  • Status: Closed
  • Resolution: Won't Fix
  • Submitted: 2024-08-22
  • Updated: 2024-12-16
  • Resolved: 2024-12-16
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.