added the htmlStatement method and let sonar analyse the code. on
sonarScreenshot2.png you can see the evolving metrics since the first
screenshot.