From my experience with cycling I can say that cycling on painted cycling lanes feels 2x safer than on shared space, and cycling on bike-only roads feels 10x safer (by far the worst problem on separate roads is dogs). The problem with shared space is that cars don't keep enough distance from the side. They go around you instead of driving in a straight line. This is especially a problem with trucks and buses, because they are so big.
What I usually do is cycling without hands on the handlebars. This keeps the cars at a much safer distance.
What I usually do is cycling without hands on the handlebars. This keeps the cars at a much safer distance.