My female character currently looks like Beverly Crusher in TNG season 1 uniform. The sight of a female doctor in uniform has men running away. She used to wear a skirt and did get a few PMs. Therefore, my theory is that the amount of harassment is proportional to the amount of skin visible. The standard Starfleet uniform (jacket and pants) is a good turn off for men. Slap on a skirt and men crawl out of the woodwork.