Loading menu…

A Review of Metrics for Object-Oriented Design

Β§ UMMA University

Send Message

To: Author

A Review of Metrics for Object-Oriented Design

Article Fingerprint

ReserarchID

4C660

A Review of Metrics for Object-Oriented Design Banner

Key Research Insights

Synthesized scholarly intelligence & interactive research assistant
  • English
  • Afrikaans
  • Albanian
  • Amharic
  • Arabic
  • Armenian
  • Azerbaijani
  • Basque
  • Belarusian
  • Bengali
  • Bosnian
  • Bulgarian
  • Catalan
  • Cebuano
  • Chichewa
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Corsican
  • Croatian
  • Czech
  • Danish
  • Dutch
  • Esperanto
  • Estonian
  • Filipino
  • Finnish
  • French
  • Frisian
  • Galician
  • Georgian
  • German
  • Greek
  • Gujarati
  • Haitian Creole
  • Hausa
  • Hawaiian
  • Hebrew
  • Hindi
  • Hmong
  • Hungarian
  • Icelandic
  • Igbo
  • Indonesian
  • Irish
  • Italian
  • Japanese
  • Javanese
  • Kannada
  • Kazakh
  • Khmer
  • Korean
  • Kurdish (Kurmanji)
  • Kyrgyz
  • Lao
  • Latin
  • Latvian
  • Lithuanian
  • Luxembourgish
  • Macedonian
  • Malagasy
  • Malay
  • Malayalam
  • Maltese
  • Maori
  • Marathi
  • Mongolian
  • Myanmar (Burmese)
  • Nepali
  • Norwegian
  • Pashto
  • Persian
  • Polish
  • Portuguese
  • Punjabi
  • Romanian
  • Russian
  • Samoan
  • Scots Gaelic
  • Serbian
  • Sesotho
  • Shona
  • Sindhi
  • Sinhala
  • Slovak
  • Slovenian
  • Somali
  • Spanish
  • Sundanese
  • Swahili
  • Swedish
  • Tajik
  • Tamil
  • Telugu
  • Thai
  • Turkish
  • Ukrainian
  • Urdu
  • Uzbek
  • Vietnamese
  • Welsh
  • Xhosa
  • Yiddish
  • Yoruba
  • Zulu
Reading Preferences
Font Size
Line Spacing
Background

I. INTRODUCTION

Software metrics plays a key role in good software engineering. Measurement is used to assess situations, track progress and evaluate effective of software products. But there exists a huge challenge in the measurement process due to lack of coordinated, comprehensive framework for understanding and using measurement [2]. Object-oriented approach to software development requires some specific set of metrics [3]. Various object-oriented measurements are used to evaluate and predict the quality of software products [4], where the empirical results are used to supports the theoretical validity of the Object-Oriented Software Product metrics [5]. The validity of these metrics needs to facilitate the accuracy that the metric measure what they purport to measure.

II. SOFTWARE ENGINEERING METRICS AND QUALITY

According to Edward V. Berard [6] Metrics are units of measurement that refer to a set of specific measurements taken on a particular item or process. For software engineering metrics are units of measurement used to characterize software engineering products, processes and the people, hence assessing quality. Ahmad S et.al [7] indicated that Software metrics are measures that facilitate software developers and software analyst to preview into the efficiency of the software process and projects that are conducted using the process as framework. These metrics measures different aspects of software complexity hence play an important role in analysing and improving software quality [8].

Mahfuzul Huda et.al [9] argued that the quality of any object-oriented design is critical as it has a great influence on the overall quality of finally delivered software product. Further he asserts that Software quality is still a vague terminology since it has different meaning to different people, the way one measure quality depends on the viewpoint he/she takes [10]. Acceptable object-oriented design properties and associated metrics are helpful when utilized in the early stage of software development process, since the metrics determination is an important phase in testability estimation process [11].

Quality in the use of Object-Oriented Software Engineering metrics are available when the final product is in use in real conditions. Here the internal quality determines the external quality, while the external quality determines quality in use [12]. According to the GE model for describing software quality, presented by McCall et al. (1977), software quality is organized around three main types of quality characteristic:-factors which describe the external view of the software, as viewed by the users, criteria which describe the internal view of the software, as seen by the developer and the metrics which control and are defined and used to provide a scale and method for measurement.

With the help of software metric software designers are able to deeper understand the software product in an effective way as they use diverse measurements of computer software in development. Thus, though software metric we are able to measure some property of software's including their components considering that software quality metrics to be subset of software metrics they are helpful [7]. To this end, with the aid of OOD metric therefore, software professionals can then use object oriented metric suite to predict and enhance the maintainability of software with least error and best precision in an object-oriented paradigm [13].

III. ISSUES IN SOFTWARE ENGINEERING METRICS

Berard E argued that if used properly, software engineering metrics enables us among others to qualitatively and quantitatively define success and failure by establishing the degree of success or failure and identify and quantify improvement [6]. The objective of the ISO/IEC 9126 standards is to address the human limitations that can adversely affect the final software engineering development project. Some of the issues addressed include the change of focus after the start of a project. The standards provide clarity through agreeing on the project priorities and converting the compliance to measurable output values that can be validated against schema with total zero interventions, the standards therefore facilitate a common understanding of software engineering project's objectives and goals [14]. These ISO/IEC 9126 standard further classified into four main parts: - the quality model, external metrics, internal metrics and quality in use metrics. However, the use of these design metrics is limited in practice due to the difficulty of measuring and using a large number of metrics.

Fenton and Neil [15] journal indicated that the major problem is in using such metrics in isolation. They argued that it was possible to provide a genuine improved management decision support system based on such simplistic metrics, but only by adopting a less isolationist approach. Much as software metrics play an important role in developing high quality software as well as to improve the developer's productivity [16] there comes the problem of identifying the right metrics to be used at a given stage of the OOD process.

Emphasis of introducing the metrics during the intimal software development is vital. OO designs are highly involved, often ill-defined, complex and iterative process. Their needs and specifications get more refined only as the design process moves toward its final stages. This therefore calls for effective metric tools that will help the designer make better-informed decisions with proven efficient knowledge representation schemes.

IV. OBJECT-ORIENTED DESIGN METRICS

Aggarwal et.al (2013) indicated that metrics for OO design entails measurements that are applied to the class and design characteristics [17], as they aim achieve quality in software process and product, This OO metrics measurement tools have yet to achieve the needed degree of maturity [18] they therefore need standardization [19]. Chidamber et.al [20] indicated that while metrics for the traditional functional decomposition and data analysis design approach measure the design structure and data structure independently, the object-oriented metrics need to focus on the combination of both the function and data as an integrated object. Despite the metric being traditional or new, it should be able effective to measure at least one or mere OOSD attributes of a software engineering product [21].

There exist various metrics for object Oriented designs otherwise called MOOD (Metrics for Object Oriented Designs). According to F.B. Abreu et al [22] metrics for Object Oriented Designs define the structural models of a software engineering design where they facilitate measurements of OO paradigms such as encapsulation, inheritance, polymorphism and message passing. These metrics are usually expressed to measure where the numerator defines the actual use of a feature for a design namely the method and attributes. The attributes represent the status of object in the system while method is used to maintain or modify the several kinds of status of the object [23].

Sahar et.al [24] stated that the most important measures that need to be considered in any software product is in the design quality. He established that design phase takes only 5–10% of the total effort but a large part up to 80% of total effort goes into correcting bad design decisions [25]. The MOOD metrics include: - Method Hiding Factor (MHF), the Attribute Hiding Factor (AHF), the Method Inheritance Factor (MIF), the Coupling Factor (COF), the Attribute Inheritance Factor (AIF) and the Polymorphism Factor (PF) [17]. Each MOOD metric is associated with basic structural mechanisms of the object-oriented paradigm [26]. The MOOD metric set enables expression of some recommendations for designers [27].

Malhotra et.al [28] indicated that design of a system plays an essential role in ascertaining the system's reaction to incoming changes, and well-chosen OO design metrics can function as an indicator of changeability. Gupta & Saxena [29] stated that the prediction of software defect is possible on the basis of historical data accumulated during implementation of similar or same software projects or it can be developed using design metrics collected during design phase of software development.

Chidamber and Kemerer [30] theoretical presentation on OO design metrics for software development life cycle are based upon OOD measurement theories that are used by OO software developers. The key requirements of metric measurements by Chidamber and Kemerer [20] focused on improving the quality of software with the help of a new metrics suite that consists of six design level metrics named WMC, DIT, NOC, CBO, RFC and LCOM [29]. According to Shyam Chidamber and Chris Kemerer [31] on the role of metrics for OOD indicated that the important components of process improvement is the ability to measure the process. Their paper provided the appreciation of development and empirical validation of sets of theoretically-grounded metrics of OO designs.

V. OODMETRICS FOR ANALYSIS

Object Oriented Software Engineering product code is analyzed through object-oriented metrics, two suites of metrics are used, the Chidamber-Kemerer (CK) [20] and MOOD [1] [32] suites. Many of the OOD software's usually fail due to poor quality especially when the estimation of software quality is not prioritized during the software development. Mago et.al [33] indicated that design metrics play an important role in helping developers to appreciate design aspects of software especially to the improvement of software quality. Thus, through the analysis of the OOD metric data one can forecast the quality of the object-oriented system. Boehm et.al [34] stated that to produce high-quality Object-Oriented applications a strong emphasis on design aspects is highly necessary. To this end therefore OOD software metrics among other metrics should make it possible for software engineers to measure and predict software processes, necessary resources for a project and products relevant for a software development effort. Software quality for OOD is the degree to which OO software possesses required combinations of attributes such as reliability, maintainability, efficiency, portability, usability and reusability.

Object oriented design are intended to capture the fundamental structure of an object-oriented program. The, set of components which can evaluate, represent and implement an object-oriented design include attributes, methods, objects/ classes, relationships and class hierarchies and must be addressed during the whole process of OOSD process. Measuring software quality in the early stages of software development is the key to develop high quality software [33]. During the OOD process analysis of model captures the logical information about the system, while the design model adds details to support efficient information access. This is important; however, the optimizing process must also be considered so as to make the implementation more efficient.

Despite this, design optimization should not be extreme since the ease of implementation, maintainability, and extensibility need to be considered. Often a perfectly optimized design is usually more efficient but less readable and reusable. Designers must strike a balance between the two. Factor to be considered in the analysis include: - addition of redundant associations [35], omission of non-usable associations [36], optimization of algorithms [37] and storage of derived attributes to avoid re-computation of complex expressions.

VI. INTERNAL METRICS

Internal events are those that pass from one object to another object within a system. Dubey et.al [38] stated that metrics provide insight necessary to create and design model through the test. It also provides a quantitative way to access the quality of internal attributes of the product, thereby it enables the software engineer to access quality before the product is build [39]. OOD metrics are thus crucial source of information through which a software developer takes a decision for design good software. For instance, through the Reliability metrics, the quality of internal product can be measured by the number of bugs in the software and by the duration of software metrics crash. The Class Method Complexity (CMC) metric defined as the summation of the internal structural complexity of all local methods is a theoretical basis and viewpoints. The metrics greatly affect the effort required to design, implement, test and maintain a class [40].

VII. EXTERNAL METRICS

Punia et.al [40] indicated that the external metrics are used to examine and reuse of an OO system. External events are those events that pass from a user of the system to the objects within the system. For example, mouse click or key-press by the user are external events. For instance, the MPC (Message Pass Coupling) metric addresses the external methods which are the number of send statements defined in a particular OOS class. When a message invokes numerous methods as a response, the class becomes more complicated and more testing and debugging is required [41].

Bidve and Khare [42] indicated that coupling in software has been associated with the maintainability and is used as predictors of external software quality attributes such as fault-proneness, impact analysis, ripple effects of changes, changeability. Shaik et.al [43] stated that external validation involves empirically demonstrating that the product metric is associated with some important external metric. Shaik et.al further states that high cognitive complexity leads to a component exhibiting undesirable external qualities, such as increased fault proneness and reduced maintainability. Accordingly, object-oriented product metrics that affect cognitive complexity will be related with fault-proneness. From the above, the underlying assumption is that such measures can be used as objective measure to predict various external quality aspects of the code or design artifacts [44].

VIII. CONCLUSION

Dubey et.al [38] indicated that the popularity of object-oriented design metrics is essential in software engineering for measuring the software complexity, estimating size, quality and project efforts. Object-oriented metrics assures to provide OOD that are reliable, maintainable and reusable software products. The initiation of various OOD metrics during the software initial development process in vital as this will enable designers eliminate bugs and limitations making the software product be of good quality. Increasingly, object-oriented design measurements are being used to evaluate and predict the quality of software [4] through prediction SE are able to improve the software product performance as well as enhance more user requirements during and after the OOS design.

References

44 Cites in Article
  1. 1. F Abreu (1995). The MOOD Metrics Set. ECOOP'95 Workshop on Metrics
  2. 2. N Fenton,J Bieman (2014). Software Metrics: ARigorous and Practical Approach, Third Edition. Software Metrics: ARigorous and Practical Approach, Third Edition
  3. 3. D Rodriguez,R Harrison (2001). An Overview ofObject-Oriented Design Metrics. An Overview ofObject-Oriented Design Metrics
  4. 4. R Harrison,S Counsell,R Nithi (1998). An evaluation of the MOOD set of object-oriented software metrics. IEEE Transactions on Software Engineering, 24(6), 491-496.
  5. 5. D Glasberg,K Emam,W Melo,Madhavji (2000). Validating Object-Oriented Design Metrics on a Commercial Java Application. National Research Council, 44146
  6. 6. E Berard (1998). Metrics for Object-Oriented Software Engineering. Metrics for Object-Oriented Software Engineering
  7. 7. F Sheikh,R Mohd,H Mohd (2013). A Comparative Study of Software Quality Model. International Journal of Science, Engineering and Technology Research (IJSETR), 2(1), 172-177.
  8. 8. S Manik,S Gurdev (2011). Analysis of Static and Dynamic Metrics for Productivity and Time Complexity. IJCA, 30(1)
  9. 9. H Mahfuzul,A,K (2015). Testability Quantification Framework of Object-Oriented Software: A New Perspective. International Journal of Advanced Research in Computer and Communication Engineering, 4(1), 289302.
  10. 10. H Mahfuzul,A,K (2014). Measuring Testability of Object-Oriented Design: A Systematic Review. International Journal of Scientific Engineering and Technology (IJSET), 4(10), 1313-1319.
  11. 11. Aymen Kout,Fadel Toure,Mourad Badri (2011). An empirical analysis of a testability model for object-oriented programs. ACM SIGSOFT Software Engineering Notes, 36(4), 1-5.
  12. 12. (2017). ISO/IEC 9126. ISO/IEC 9126
  13. 13. M Ruchika,C Anuradha (2014). Application of Group Method of Data Handling model for software maintainability prediction using object-oriented systems. International Journal of System Assurance Engineering and Management, 5(2), 165-173.
  14. 14. Scalet (2000). ISO/IEC 9126 and 14598 integration aspects. The Second World Congress on Software Quality
  15. 15. N Fenton,M Neil (1999). Software metrics: successes, failures and new directions. Journal of Systems and Software, 47(2-3), 149-157.
  16. 16. Mukesh Bansal,C Agrawal (2014). Critical Analysis of Object Oriented Metrics in Software Development. 2014 Fourth International Conference on Advanced Computing & Communication Technologies, 197-201.
  17. 17. M Aggarwal,V Verma,H Mishra (2013). An Analytical Study of Object-Oriented Metrics (ASurvey). International Journal of Engineering Trends and Technology (IJETT), 6(2), 76-83.
  18. 18. H Zuse (1991). Software Complexity Measures and Methods. Software Complexity Measures and Methods
  19. 19. H Zuse (1996). Foundations of object-oriented software measures. Proceedings of the 3rd International Software Metrics Symposium, 75-88.
  20. 20. S Chidamber,C Kemerer (1994). A Metrics Suite for Object Oriented Design. IEEE Transactions onSoftware Engineering, 1-5.
  21. 21. Kan Yang,Liz Matson,Michael Choi,David Steinfeld,Brian Ottens,Patrick Coronado,Scott Applebaum (1995). Thermal Design for the New Era of Lunar Instruments: Lessons Learned from NASA Goddard Space Flight Center’s Instrument Design Laboratory. 53rd International Conference on Environmental Systems
  22. 22. B Abreu (1995). Design metrics for OO software system. inECOOP'95, Quantitative Methods Workshop
  23. 23. V Basili,L Briand,W Melo (1996). Avalidation of object-oriented Metrics as Quality Indicators. IEEE Transaction Software Engineering, 22(10), 751-761.
  24. 24. R Sahar,A Hany (2010). Object oriented design metrics and tools a survey. IEEE, 1-10.
  25. 25. R Marinescu (2005). Measurement and quality in object-oriented design. 21st IEEE International Conference on Software Maintenance (ICSM'05), 701-704.
  26. 26. J,-J Jubair,M Khaireddin (2001). metrics for object-oriented design (MOOD) to assess java programs. metrics for object-oriented design (MOOD) to assess java programs
  27. 27. F Abreu (1995). Design Quality Metrics for Object-Oriented Software Systems. ERCIM News, 1000029.
  28. 28. Ruchika Malhotra,Megha Khanna (2012). Investigation of relationship between object-oriented metrics and change proneness. International Journal of Machine Learning and Cybernetics, 4(4), 273-286.
  29. 29. Dharmendra Gupta,Kavita Saxena (2016). Software bug prediction using object-oriented metrics. Sādhanā, 42(5), 655-669.
  30. 30. Shyam Chidamber,Chris Kemerer (1991). Towards a metrics suite for object oriented design. Conference proceedings on Object-oriented programming systems, languages, and applications, 197-211.
  31. 31. S Chidamber,C Kemerer (1994). A metrics suite for object oriented design. IEEE Transactions on Software Engineering, 20(6), 476-493.
  32. 32. F Abreu,W Melo (1996). Evaluating the Impact of OO Design on Software Quality. Third International Software Metrics Symposium
  33. 33. J Mago,P Kaur (2012). Analysis of Quality of the Design of the Object-Oriented Software using Fuzzy Logic. International Conference on Recent Advances and Future Trends in Information Technology, 21-26.
  34. 34. B Boehm,J Brown,M Lipow (1976). Quantitative Evaluation of Software Quality. IEEE -Proceedings of the 2nd International Conference on Software Engineering
  35. 35. Gonzalo GΓ©nova,Juan Llorens,JosΓ© Fuentes (2004). UML Associations: A Structural and Contextual View. The Journal of Object Technology, 3(7), 83.
  36. 36. Zeynab Rashidi (2015). Properties of Relationships Among Objects in Object-Oriented Software Design. International Journal of Programming Languages and Applications, 5(4), 1-13.
  37. 37. Parul Gandhi,Pradeep Kumar Bhatia (2011). Optimization of ObjectOriented Design using Coupling Metrics. International Journal of Computer Applications, 27(10), 41-44.
  38. 38. S Dubey,A Sharma,A Rana (2012). Comparison Study and Review on Object-Oriented Metrics. Global Journal of Computer Science and Technology, 12(7), 1-11.
  39. 39. A Shaik,B Reddy,M Prakashine,K Deepti (2010). Metrics for object-oriented design software system: A Survey. Journal of emerging trend in engineer and applied science, 190-198.
  40. 40. Sanjeev Punia,Kuldeep Malik,Harendra Singh (2016). An Analytical Evolution of Usability for Object Oriented Metrics. International Journal of Advanced Research in Computer Science and Software Engineering, 7(12), 61.
  41. 41. T Biggerstaff,C Richter (1987). Reusability Framework, Assessment, and Directions. IEEE Software, 4(2), 41-49.
  42. 42. V Bidve,A Khare (2012). Simplified Coupling Metrics for Object-Oriented Software. International Journal of Computer Science and Information Technologies (IJCSIT), 3(2), 3839-3843.
  43. 43. A Shaik,N Satyanarayana,M Huzaifa,N Shaik,M Naveed,S Rao,C Reddy (2011). Investigate the Result of Object-Oriented Design Software Metrics on Fault-Proneness in Object Oriented Systems: A Case Study. Journal of Emerging Trends in Computing and Information Sciences, 2(4), 201-209.
  44. 44. C Desai (2013). Object Oriented Design Metrics, Frameworks and Quality Models. Object Oriented Design Metrics, Frameworks and Quality Models

Funding

No external funding was declared for this work.

Conflict of Interest

The authors declare no conflict of interest.

Ethical Approval

No ethics committee approval was required for this article type.

Data Availability

Not applicable for this article.

How to Cite This Article

Neyole Misiko. 2020. "A Review of Metrics for Object-Oriented Design". Global Journal of Computer Science and Technology - C: Software Data Engineering GJCST-C Volume 20 (GJCST Volume 20 Issue C2).

More Citation Formats

Download Citation

Journal Specifications

Crossref Journal DOI 10.17406/gjcst

Print ISSN 0975-4350

e-ISSN 0975-4172

Keywords
Classification
GJCST-C Classification D.2.2
Version of record
v1.2

Issue date
December 21, 2020

Language
English
Order Article Reprint
Experience in AR

Explore published articles in an immersive Augmented Reality environment. Our platform converts research papers into interactive 3D books, allowing readers to view and interact with content using AR and VR compatible devices.

Read in 3D

Your published article is automatically converted into a realistic 3D book. Flip through pages and read research papers in a more engaging and interactive format.

Article Matrices
Total Views: 1.4K
Total Downloads: 126
All Trends

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

High-quality academic research articles on global topics and journals.

A Review of Metrics for Object-Oriented Design

Neyole Misiko
Neyole Misiko UMMA University

Request Access

Please fill out the form below to request access to this research paper. Your request will be reviewed by the editorial or author team.
X