Not true. First of all cover grants -2 penalty to all attack rolls. Yes, you can think of it as +2 to all defenses, but there might be a difference at times, so it's important to note the exact effect. More importantly, cover is not only against ranged and melee! It works against Area Attacks...