how to measure software architecture