Object-Oriented Design Principles

Author(s):  
John Dooley
2018 ◽  
Vol 140 ◽  
pp. 74-90 ◽  
Author(s):  
Johannes Bräuer ◽  
Reinhold Plösch ◽  
Matthias Saft ◽  
Christian Körner

Author(s):  
MATHUPAYAS THONGMAK ◽  
PORNSIRI MUENCHAISRI

Maintainability is an important factor that developers should be concerned because two-thirds of software costs involve maintenance. Aspect-oriented programming (AOP) paradigm is aimed to increase the software maintainability. It solves code tangling and code scattering problems by introducing a new modular unit, called "aspect". Various research works are provided to support measuring the object-oriented software, but only few studies are set up to support measuring the aspect-oriented software. This paper proposes aspect-oriented software maintainability metrics and a set of aspect-oriented design guidelines to support the metrics. By combining the proposed guidelines, object-oriented design principles, and aspect-oriented design principles, the metrics are constructed according to the Factor-Strategy (FS) quality model and the Factor-Criteria-Metric (FCM) quality model. Principle violation check definitions in the form of Boolean expressions are also defined to conduct software measurement and to fulfill the metrics. Finally, the aspect-oriented software maintainability metrics are applied to detect design principle violations in fifty AspectJ systems. The results show that for all systems their hidden flaws are exposed. Moreover, the proposed metrics are used to compare the maintainability between two versions of systems written in Java and AspectJ.


2016 ◽  
Vol 0 (1) ◽  
pp. 17 ◽  
Author(s):  
N. N. Zablodskii ◽  
V. E. Pliugin ◽  
A. N. Petrenko

2016 ◽  
Vol 6 (1) ◽  
pp. 187-207 ◽  
Author(s):  
Reinhold Plösch ◽  
Johannes Bräuer ◽  
Christian Körner ◽  
Matthias Saft

AbstractGood object-oriented design is crucial for a successful software product. Metric-based approaches and the identification of design smells are established concepts for identifying design flaws and deriving design improvements thereof. Nevertheless, metrics are difficult to use for improvements as they provide only weak guidance and are difficult to interpret. Thus, this paper proposes a novel design quality model (DQM) based on fundamental object-oriented design principles and best practices. In course of discussing DQM, the paper provides a contribution in three directions: (1) it shows how to measure design principles automatically, (2) then the measuring result is used to assess the degree of fulfilling object-oriented design principles, (3) and finally design improvements of identified design flaws in object-oriented software are derived. Additionally, the paper provides an overview of the research area by explaining terms used to describe designrelated aspects and by depicting the result of a survey on the importance of object-oriented design principles. The underlying concepts of the DQM are explained before it is applied on two open-source projects in the format of a case study. The qualitative discussion of its application shows the advantages of the automated design assessment that can be used for guiding design improvements.


Sign in / Sign up

Export Citation Format

Share Document