SAS vs. NSAS: Analysis and comparison of self-adaptive systems and non-self-adaptive systems based on smells and patterns