Pinpoint Leaks and Copper Pipe Corrosion

Can you tell the difference between the type of corrosion that will cause pinpoint leaks in copper pipes and the corrosion that might result from the pipe being in a damp location such as a basement?  I have small spots…