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

Hironori Washizaki, Toshikazu Koike, Rieko Namiki, Hiroyuki Tanabe

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

    5 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 publicationLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
    Pages89-103
    Number of pages15
    Volume7343 LNCS
    DOIs
    Publication statusPublished - 2012
    Event13th International Conference on Product-Focused Software Process Improvement, PROFES 2012 - Madrid
    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)03029743
    ISSN (Electronic)16113349

    Other

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

    Fingerprint

    Reusability
    Metric
    Evaluation
    Reuse
    Software Development
    Statistical Analysis
    Percentage
    Software engineering
    Statistical methods
    Demonstrations
    Language
    Software

    ASJC Scopus subject areas

    • Computer Science(all)
    • Theoretical Computer Science

    Cite this

    Washizaki, H., Koike, T., Namiki, R., & Tanabe, H. (2012). Reusability metrics for program source code written in C language and their evaluation. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7343 LNCS, pp. 89-103). (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Vol. 7343 LNCS). https://doi.org/10.1007/978-3-642-31063-8_8

    Reusability metrics for program source code written in C language and their evaluation. / Washizaki, Hironori; Koike, Toshikazu; Namiki, Rieko; Tanabe, Hiroyuki.

    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics). Vol. 7343 LNCS 2012. p. 89-103 (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics); Vol. 7343 LNCS).

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

    Washizaki, H, Koike, T, Namiki, R & Tanabe, H 2012, Reusability metrics for program source code written in C language and their evaluation. in Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics). vol. 7343 LNCS, Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), vol. 7343 LNCS, pp. 89-103, 13th International Conference on Product-Focused Software Process Improvement, PROFES 2012, Madrid, 12/6/13. https://doi.org/10.1007/978-3-642-31063-8_8
    Washizaki H, Koike T, Namiki R, Tanabe H. Reusability metrics for program source code written in C language and their evaluation. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics). Vol. 7343 LNCS. 2012. p. 89-103. (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)). https://doi.org/10.1007/978-3-642-31063-8_8
    Washizaki, Hironori ; Koike, Toshikazu ; Namiki, Rieko ; Tanabe, Hiroyuki. / Reusability metrics for program source code written in C language and their evaluation. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics). Vol. 7343 LNCS 2012. pp. 89-103 (Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)).
    @inproceedings{c01d92d3a48a4c9aa21e71c2dd03e4e1,
    title = "Reusability metrics for program source code written in C language and their evaluation",
    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.",
    author = "Hironori Washizaki and Toshikazu Koike and Rieko Namiki and Hiroyuki Tanabe",
    year = "2012",
    doi = "10.1007/978-3-642-31063-8_8",
    language = "English",
    isbn = "9783642310621",
    volume = "7343 LNCS",
    series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",
    pages = "89--103",
    booktitle = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",

    }

    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

    Y1 - 2012

    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

    SN - 9783642310621

    VL - 7343 LNCS

    T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

    SP - 89

    EP - 103

    BT - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

    ER -