| Journal of the Brazilian Computer Society | |
| Design patterns as aspects: a quantitative assessment | |
| Sant'Anna, Cláudio1  Garcia, Alessandro1  Kulesza, Uirá1  PUC-Rio1  Staa, Arndt von1  Lucena, Carlos1  | |
| 关键词: Design patterns; aspect-oriented programming; metrics; | |
| DOI : 10.1590/S0104-65002004000300004 | |
| 学科分类:农业科学(综合) | |
| 来源: Springer U K | |
PDF
|
|
【 摘 要 】
Design patterns offer flexible solutions to common problems in software development. Recent studies have shown that several design patterns involve crosscutting concerns. Unfortunately, object-oriented (OO) abstractions are often not able to modularize those crosscutting concerns, which in turn decrease the system reusability and maintainability. Hence, it is important verifying whether aspect-oriented approaches support improved modularization of crosscutting concerns relative to design patterns. Ideally, quantitative studies should be performed to compare object-oriented and aspect-oriented implementations of classical patterns with respect to important software engineering attributes, such as coupling and cohesion. This paper presents a quantitative study that compares aspect-based and OO solutions for a representative set of design patterns. We have used stringent software engineering attributes as the assessment criteria. We have found that most aspect-oriented solutions improve separation of pattern-related concerns, although some aspect-oriented implementations of specific patterns resulted in higher coupling and more lines of code.
【 授权许可】
Unknown
【 预 览 】
| Files | Size | Format | View |
|---|---|---|---|
| RO201912010163860ZK.pdf | 409KB |
PDF