Building measure-based prediction models for {UML} class diagram maintainability