CharacterizingandDiagnosingArchitecturalDegenerationofSoftw