New test for dashboard portlet "Warnings per project".

```
catch (NoSuchElementException | NumberFormatException) {
    return false;
}
```