Spawning consistency and locations

Has anything been mentioned about the spawn locations. So fair and balanced to spawn with an enemy right behind me. How does the game not recognize an enemy in a location and just spawn me on top of them, when every other place to spawn is open; or spawning in open locations when snipers are available on the map?