-
Type:
Suggestion
-
Resolution: Won't Fix
-
Component/s: None
-
None
Similar to CLOV-1785.
Allow ClassInfos to have top level statements.
Some work has been already done for Java 8 (Clover 3.2).
Check:
- how metrics are calculated
- rendering in HTML, XML, PDF, JSON reports
- statement regexp handling
Out of scope:
- change how current java instrumentation works (e.g. we keep instance/static initializer blocks as a code in a <init> <cinit> methods AFAIK)