merged design and code smells