skip to main content
research-article

Estimation of generic reusability for object-oriented software: an empirical approach

Published: 04 August 2011 Publication History

Abstract

Inheritance and templates are key concepts in object-oriented programming (OOP), and are essential for achieving reusability and extendibility. The aim of this paper is to explore traditional Halstead's metrics and use them to propose more software metrics related to generic method and attributes in an object-oriented software. These metrics measure quantitative generic construct with inheritance in an object-oriented code. Two metrics GRr (Generic Reusability Ratio) and ERr (Effort Ratio) are proposed in this paper. First metric GRr (Generic Reusability Ratio) measures impact of template in program volume and second metric ERr (Effort Ratio) measures impact of template in development effort. These metrics will be a tool for estimating and evaluating costs of program design and program tests as well as program complexity.

References

[1]
Abd Ghani, A. A. and Hunter, R 1996. An Attribute Grammar Approach to specifying Halstead's Metrics. Malaysian Journal of Computer Science, 9, 1, 56--67.
[2]
Aggarwal K.K., Singh Yogesh, Kaur Arvinder, Malhotra Ruchika 2005. Software Reuse Metrics for Object-Oriented Systems. In Proceedings of ACIS Third International conference on Software Engineering Research, Management and Applications.
[3]
Al Qutaish, R.E. 1987. Incorporating Software Measurements into a Compiler.MSC Thesis. Department of Computer Science, Serdang: Putra University of Malaysia.
[4]
Baily, C.T. and W.L. Dingee 1981. A Software Study Using Halstead Metrics. Proc. 1981 ACM Workshop / Symposium on Measurements and Evaluation of Software Quality, Maryland, USA, 189--197.
[5]
Chuan, C.H., L. Lin, L.L. Ping and L.V. Lain 1994. Evaluation of query languages with software science metrics. Proc. IEEE Eegion 10's Ninth Annual Intl. Conf. Frontiers of Computer Technology, Singapore, 516--520.
[6]
Conte, S. D., Dunsmore, H. E., and Shen, V., Y. 1986. Software Engineering Metrics and Models. Menlo Park, California : Benjamin Cummings.
[7]
Gandhi Parul and Bhatia Pradeep Kumar 2010. Reusability Metrics for Object-Oriented System: An Alternative Approach nternational Journal of Software Engineering (IJSE),Malaysia, 1, 4, 62--73.
[8]
Gandhi Parul and Bhatia Pradeep Kumar 2010. "Evaluating Impact Of Generic Construct on Object-Oriented Code Using Traditional Metric". In International Conference on Reliability, Infocom Technology and Optimization (ICRITO'2010).
[9]
Halstead, M.H. 1977. Elements of Software Science. New York: Elsvier North-Holland.
[10]
Leach, R.J. 1995. Using metrics to evaluate student programs. ACM SIGCSE Bulletin, 27, 41--48.
[11]
Li, D. Y., Kiricenko, V., and Ormandjieva, O.2004. Halstead's software Science in Today's Object Oriented World. Metrics New, 9, 2. 33--40.
[12]
Mitchell D. Lubars(1986): Code Reusability In The Large Versus Code Reusability In The Small Acm Sigsoft Software Engineering Notes, 11, 1, 21
[13]
Mohammed Thabit Sultan and Mustafa Hayam K.2006. Evaluating the Effect of Inheritance on the Characteristics of Object Oriented Programs. In Journal of Computer Science,2,12, 870--874.
[14]
Sagar Shrddha, Nerurkar N.W., Sharma Arun 2010. A soft computing based Approach to Estimate Reusability of Software Components. In ACM SIGSOFT Software Engineering Notes, 35, 5.
[15]
Samoladas, L., I. Stamelos, L. Angelis and A. Oikonomou 2004. Open source software development should strive for even greater code maintainability. Communication of ACM, 47, 83--88.

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGSOFT Software Engineering Notes
ACM SIGSOFT Software Engineering Notes  Volume 36, Issue 4
July 2011
142 pages
ISSN:0163-5948
DOI:10.1145/1988997
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 04 August 2011
Published in SIGSOFT Volume 36, Issue 4

Check for updates

Author Tags

  1. inheritance
  2. object-oriented metrics
  3. software measurement
  4. template

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 181
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 07 Mar 2025

Other Metrics

Citations

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media