A stochastic model of software maintenance and its implications on extreme programming processes