However, another dimension that needs to be considered is how much leeway wearing that swimsuit allows for physical activity without experiencing embarrassing swimsuit malfunctions.
Obviously, one-piece suits are relatively risk-free, as long as the boobs are substantially covered; but bikinis are less so. I prefer the more secure step-in bikini bottoms, as opposed to string bikinis. There's no risk of a string becoming loose or untied. As for the top, the same rule applies: no ties but fasteners. Hopefully, the fasteners are secure enough to avoid any accidents or slippage.
I suggest that swimsuits be color-coded with these security ratings on the tag to distinguish them:
Green -- Safe for heavy activity: surfing, beach volleyball, running
Yellow -- Safe for moderate activity: walking, wading, playing frisbee
Orange -- Safe for mild amounts of activity
Red -- To be worn when sedentary activity such as sunning is expected. May not be legal on some beaches