base_scanner: CodeClimate smells