I think these areas are far too large to generalise. They both encompass very varied areas, good and bad. You could start a sub-list of bad areas in each of these towns.
I personally would avoid Coolongup, in Rockingham, but I'm always on the lookout for a piece of Palm Beach or Shoalwater...