AdImpoved cyclometric complexity of code (error pointed by travis-CI)