Analysis of failure mechanisms in Velocity--Matched Distributed Photodetectors