On the other hand, there are a bunch of nice places around the area that are pretty safe and beautiful (Guadiaro, Sabinillas, Manilva, or larger/more expensive you have Sotogrande, Estepona)
But yeah, La Linea is an absolute dump, wouldn't be caught living there (the smells, the people, the pollution, horrible!)