In an embodiment, the impairment is detected if the transfer function exhibits some oscillations. If the transfer function doesn't exhibit any oscillations then the method may determine that the line has no impairment.