refactor(complexMethod): Code climate fixes