Many, many years ago, when "they" were much more restrictive of what you could get away with in print, I bought a couple of pamphlets of dirty limericks that someone had printed for private sale. They had all the ones that I later realized were the classics, among others.What the compiler had done, was delete all the standard dirty words for body parts, products, and functions, and put "noun" or "verb" in their place.
The good dirty limericks were still funny in spite of this having been done to them. The ones that just depended on shock value became meaningless. That may be one good test of a good bawdy song in general.
Peter.