Including the almost complete lack of minorities. And by the odds at least two of the characters were gays in the closet. Probably church goers too. Many of the men-- WW2 vets with PTSD were beating their wives and everyone was driving drunk. Any of the teens who were gay left for New York- and if their parents found out they were cutoff and tossed out. Some of the men-- probably Andy-- were getting some on the side since you couldn't divorce and when the wife stopped putting out (because the men knew very little about how to please women sexually) you found the town slut or snuck something with the secretary or other office girl.
The businessmen portrayed in the show were dumping pollution in the waterways so fast that a decade later, rivers would be catching on fire- necessitating another set of government intrusion.
Things were easier with a much lower population density and less ability to move around. It was a surveillance state by the sheriff and the religious community. As that population grew and became more mobile, more government intrusion was required.
I *love* the andy griffith show. But it was fiction when it was being shown. It was a pleasant ville.
Ironically, the entire show was an intrusion of government preventing tv shows from showing reality. Men and women slept in separate twin beds, never had sex addictions, never were adulterous.
The show portrays a great time to be alive if you were a successful white male in a monochrome homogenous society.