To support Groovy, the Clover model will need changing.
e.g. statements/methods outside of classes, closures,