TY - GEN
T1 - Reusability metrics for program source code written in C language and their evaluation
AU - Washizaki, Hironori
AU - Koike, Toshikazu
AU - Namiki, Rieko
AU - Tanabe, Hiroyuki
PY - 2012/6/18
Y1 - 2012/6/18
N2 - 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.
AB - 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.
UR - http://www.scopus.com/inward/record.url?scp=84862176877&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=84862176877&partnerID=8YFLogxK
U2 - 10.1007/978-3-642-31063-8_8
DO - 10.1007/978-3-642-31063-8_8
M3 - Conference contribution
AN - SCOPUS:84862176877
SN - 9783642310621
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 89
EP - 103
BT - Product-Focused Software Process Improvement - 13th International Conference, PROFES 2012, Proceedings
T2 - 13th International Conference on Product-Focused Software Process Improvement, PROFES 2012
Y2 - 13 June 2012 through 15 June 2012
ER -