Feb 28, 2022
If you read Martin's book:
https://learning.oreilly.com/library/view/refactoring-improving-the/9780134757681/ch03.xhtml
You will find he does not precisely define the term.
He only tells about his discussion with Kent Beck
Code Smells can be programming or architectural problems.
Sometimes both of them