IMO, even if the software for electric parking brake is quite simple, there are still plenty of failure modes for electric parking brake. The entire parking/emergency braking system depends on the electric motor, software, the power supply, etc. to all work.
With air or vacuum brake, they generally fail by automatically activating the brake.