Add scrutinizer code coverage
Remove todo tasks from code
Fix function call in loop