Skip to main content

Reusability Metrics for Program Source Code Written in C Language and Their Evaluation

  • Conference paper
Product-Focused Software Process Improvement (PROFES 2012)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 7343))

Abstract

There are various approaches to quantitatively and statically measuring the reusability of program source code; however, empirical demonstrations of the effectiveness of such approaches by considering actual reuse in actual development projects or of the magnitude of their effect on actual reusability have not been reported in depth. In this paper, we identified a set of metrics that are thought to be effective for measuring the reusability of C language program source code. Subsequently, for ten projects involved in development with existing software modification and adoption, during which conventional source code in an old project are extensively reused and adopted to a new project, we compared values of the static metrics identified and the reuse results before and after the development. Statistical analysis demonstrated that some of our metrics are effective for actual software development, and we accurately determined the magnitude of their effect on actual reusability. More concretely, it was found that when the percentage of files used outside the belonging directory is small and the number of function calls is small, the complexity of source code as the material of reuse and factors that are affected by the source code are limited, indicating high reusability.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Poulin, J.S.: Measuring Software Reuse: Principles, Practices, and Economic Models. Addison-Wesley (1996)

    Google Scholar 

  2. ISO/IEC 9126-1: 2001, Information technology – Software product evaluation: Quality Characteristics and Guidelines for their use (2001)

    Google Scholar 

  3. DeMarco, T.: Controlling Software Projects: Management, Measurement & Estimation. Yourdon Press (1982)

    Google Scholar 

  4. Fenton, N., Whitty, R., Iizuka, Y.: Software Quality Assurance and Measurement: A Worldwide Perspective. Thomson Computer Press (1995)

    Google Scholar 

  5. Laird, L.M., Carol Brennan, M.: Software Measurement and Estimation: A Practical Approach. John Wiley & Sons (2006)

    Google Scholar 

  6. Washizaki, H., Namiki, R., Fukuoka, T., Harada, Y., Watanabe, H.: Practical Framework for Evaluating Quality of Program Source code. IPSJ Journal 48(8), 2637–2650 (2007)

    Google Scholar 

  7. Washizaki, H., Namiki, R., Fukuoka, T., Harada, Y., Watanabe, H.: A Framework for Measuring and Evaluating Program Source Code Quality. In: Münch, J., Abrahamsson, P. (eds.) PROFES 2007. LNCS, vol. 4589, pp. 284–299. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  8. Kanno, A., Yoshizawa, T.: Techniques for Assuring Software Quality towards 21st Century. JUSE Press, Ltd. (1994)

    Google Scholar 

  9. Sindre, G., Conradi, R., Karlsson, E.-A.: The REBOOT Approach to Software Reuse. Journal of Systems and Software 30(3) (1995)

    Google Scholar 

  10. Frakes, W., Carol, T.: Software Reuse: Metrics and Models. ACM Computing Surveys 28(2), 415–435 (1996)

    Article  Google Scholar 

  11. Etzkorn, L.H., Hughes, W.E., Davis, C.G.: Automated Reusability Quality Analysis of OO Legacy Software. Information and Software Technology 43(5), 295–308 (2001)

    Article  Google Scholar 

  12. Nakajima, S., Suguta, S., Hotta, Y.: Evaluation of Metrics for Reuse of C++. In: Object-Oriented Symposium (1998)

    Google Scholar 

  13. Washizaki, H., Yamamoto, H., Fukazawa, Y.: A Metrics Suite for Measuring Reusability for Software Components. In: Proc. of the 9th IEEE International Symposium on Software Metrics (Metrics 2003), pp. 211–223. IEEE CS (2003)

    Google Scholar 

  14. Hirayama, M., Sato, M.: Evaluation of Usability of Software Components. IPSJ Journal 45(6), 1569–1583 (2004)

    Google Scholar 

  15. Inoue, K., Yokomori, R., Yamamoto, T., Matsushita, M., Kusumoto, S.: Ranking Significance of Software Components Based on Use Relations. IEEE Transactions on Software Engineering 31(3), 213–225 (2005)

    Article  Google Scholar 

  16. Basili, V.R., Weiss, D.M.: A Methodology for Collecting Valid Software Engineering Data. IEEE Transactions on Software Engineering 10(6) (1984)

    Google Scholar 

  17. Henry, S.M., Kafura, D.G.: Software Structure Metrics Based on Information Flow. IEEE Transactions on Software Engineering 7(5) (1981)

    Google Scholar 

  18. Shepperd, M., Ince, D.: Metrics, outlier analysis and the software design process. Information and Software Technology 31(2) (1989)

    Google Scholar 

  19. Lee, K., Lee, S.J.: A Quantitative Software Quality Evaluation Model for the Artifacts of Component Based Development. In: Proc. 6th International Conference on Software Engineering, Artificial Intelligence, Networking and Paralle/Distributed Computing, and 1st ACIS International Workshop on Self-Assembling Wireless Networks (2005)

    Google Scholar 

  20. Ashton, W.D.: The logit transformation with special reference to its uses in bioassay. Hafner Pub. Co. (1972)

    Google Scholar 

  21. Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley (1994)

    Google Scholar 

  22. Karus, S., Gall, H.: A study of language usage evolution in open source software. In: 8th Working Conference on Mining Software Repositories, MSR (2011)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Washizaki, H., Koike, T., Namiki, R., Tanabe, H. (2012). Reusability Metrics for Program Source Code Written in C Language and Their Evaluation. In: Dieste, O., Jedlitschka, A., Juristo, N. (eds) Product-Focused Software Process Improvement. PROFES 2012. Lecture Notes in Computer Science, vol 7343. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-31063-8_8

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-31063-8_8

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-31062-1

  • Online ISBN: 978-3-642-31063-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics