Microservices often suffer from anti-patterns: design mistakes such as services sharing one database or being so tightly linked they must be deployed together. Research has catalogued 58+ of them (Taibi, Lenarduzzi & Pahl, 2020).
Precision/recall come from a preliminary validation on 2 files with 6 known anti-patterns. The cost is projected from AWS pricing: about £42 a year for 20 analyses a week, compared with £500+ a year for dedicated infrastructure.
| Project tested | Size | Patterns found | Time |
|---|---|---|---|
| gs-spring-boot (Java) | 15 files | 2 | ~5 s |
| spring-petclinic-microservices (Java) | 42 files | 4 | ~15 s |
| sock-shop (Java, Node.js, Go) | 38 files | 5 | ~20 s |
| eShopOnContainers (.NET) | 67 files | 6 | ~35 s |
Analysis time grew roughly in line with project size, not exponentially.
Honest limits: simplified tool concepts rather than full SonarQube/Roslyn/ArchUnit API integration; small validation set; Docker doesn't reproduce Lambda cold starts or scaling limits.
Mahyad Mirzabagheri · MSc Software Engineering · Supervisor: Dr Meriem Zouzou