|
早稲田大学
鷲崎 弘宜
教授
機関別共同研究
Discovery Saga
論文分野別Discovery Saga
研究テーマDiscovery Saga
協賛企業
共同研究先:Yamaha Corporation
Corporate
共同研究数 1
Conference Paper
2012
Springer
Reusability metrics for program source code written in C language and their evaluation
(First author)
C言語によるプログラムソースコードの再利用性指標とその評価
Hironori Washizaki, Toshikazu Koike, Rieko Namiki, Hiroyuki Tanabe
Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
【抄録】
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. © 2012 Springer-Verlag.
【抄録日本語訳】
プログラムソースコードの再利用性を定量的・静的に測定するアプローチは様々あるが、実際の開発プロジェクトでの再利用を考慮した実証的な実証や、実際の再利用性に及ぼす影響の大きさについては、これまで深く報告されていない。本論文では、C言語プログラムソースコードの再利用性を測定するために有効であると考えられるメトリクス群を明らかにした。そして,既存ソフトウェアの改変・採用を伴う開発(旧プロジェクトの従来ソースコードを広範に再利用し,新プロジェクトに採用する)10件のプロジェクトについて,特定した静的メトリクスの値と開発前後の再利用結果を比較検討した.統計解析の結果、一部のメトリクスが実際のソフトウェア開発に有効であることが示され、実際の再利用性に及ぼす影響の大きさを正確に把握することができました。具体的には,所属ディレクトリ外で使用されるファイルの割合が小さく,関数呼び出し回数が少ない場合,再利用の材料となるソースコードの複雑さやソースコードに影響される要因が限定され,再利用性が高いことが分かった.© 2012 Springer-Verlag.