Reusability metrics for program source code written in C language and their evaluation

Hironori Washizaki*, Toshikazu Koike, Rieko Namiki, Hiroyuki Tanabe

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contribution

8 Citations (Scopus)

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.

Original languageEnglish
Title of host publicationProduct-Focused Software Process Improvement - 13th International Conference, PROFES 2012, Proceedings
Pages89-103
Number of pages15
DOIs
Publication statusPublished - 2012 Jun 18
Event13th International Conference on Product-Focused Software Process Improvement, PROFES 2012 - Madrid, Spain
Duration: 2012 Jun 132012 Jun 15

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume7343 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference13th International Conference on Product-Focused Software Process Improvement, PROFES 2012
Country/TerritorySpain
CityMadrid
Period12/6/1312/6/15

ASJC Scopus subject areas

  • Theoretical Computer Science
  • Computer Science(all)

Fingerprint

Dive into the research topics of 'Reusability metrics for program source code written in C language and their evaluation'. Together they form a unique fingerprint.

Cite this