ADAM: External dependency-driven architecture discovery and analysis of quality attributes