codeclimate badge, 'switcheroo'-refactoring