Skip to main content

Table 1 Proposed exercises and class design smells

From: Does test-driven development improve class design? A qualitative study on developers’ perceptions

Exercise Design smell Violated SOLID principles
Exercise 1 Rigidity, needless complexity SRP, OCP
Exercise 2 Fragility, viscosity, immobility SRP, DIP, OCP
Exercise 3 Rigidity, fragility SRP
Exercise 4 Fragility, viscosity, immobility OCP, SRP, DIP