The document analyzes the relationship between code anomalies and architecture degradation in software systems. It studies this relationship across multiple systems and revisions to answer three questions: 1) Are anomalous code elements related to architecture problems? 2) Which characteristics of code anomalies are relevant for architecture? 3) Did refactorings address architecturally-relevant code anomalies? The study collected data on code anomalies, architecture problems, and refactorings. Statistical tests found that code anomalies were related to architecture problems in 77.5% of versions analyzed. Further analysis identified which specific anomalies and characteristics caused architecture problems.