Was the flying PVC installed by an electrical contractor or a fire alarm contractor?
I have seen similar situations where the NEC has been completely ignored by low-voltage contractors. IMHO, the (incorrect) assumption is "It's low voltage, so we don't need to follow Code. No one will get hurt."
Not much needs to be said about the j-boxes, other than the fact that no self respecting trade person would do an installation like that.