CWE-1044 · Słabość
Architecture with Number of Horizontal Layers Outside of Expected Range
- Abstrakcja
- Bazowa
- Status
- Niekompletny
- Dodano
- 2 lipca 2018
- Ostatnia zmiana
- 11 grudnia 2025
Opis
The product's architecture contains too many - or too few - horizontal layers.
While the interpretation of "expected range" may vary for each product or developer, CISQ recommends a default minimum of 4 layers and maximum of 8 layers.
Skutki
Other
Reduce Maintainability
This issue makes it more difficult to maintain the product, which indirectly affects security by making it more difficult or time-consuming to find and/or fix vulnerabilities. It also might make it easier to introduce vulnerabilities.
Słabość nadrzędna
Kiedy powstaje
- Architecture and Design
Dotyczy
Not Language-Specific
Źródła
- Automated Source Code Maintainability Measure (ASCMM) — Object Management Group (OMG), ASCMM-MNT-9, 2016
Wpis z katalogu CWE 4.20.