ソフトウェアメトリクスを用いた単体テストの品質リスク評価
ダウンロード数: 295回
年度 : 2013年  
発表場所 : SQiPシンポジウム
紹介文 :
単体テストで見逃す欠陥数に最も相関が高いのが規模であるという、非常に単純かつ強烈なメッセージを投げかけています。データ分析の進め方という意味では非常に参考になる論文です。サイクロマティック数やネスト深さなどいかにも関係ありそうな数値はあまり効いていないことがわかるのもよい点です。ただ惜しむらくは、肝心の規模等すべて相対値なので、読んですぐ使えるタイプの論文ではありません。また対象としているソフトウェア規模も比較的小さく、実験的性格の強い論文であることを念頭に置いて読む必要があるでしょう。
概要 :
Software defects injected in the detail design or coding phases are often overlooked in software
unit testing. For this reason, reworks to correct these overlooked defects are often required during the middle and
end phases of testing. In order to reduce efforts of such reworks, it is necessary to evaluate the risk presented by
the defects overlooked during the unit testing using product metrics. In this paper we confirmed that LOC (Lines
of code) was one of the most useful metrics. In addition to the LOC, we demonstrated that the number of defects
overlooked during the unit testing and the details of the correction of the defects could be explained from the
metrics such as the unit testing density and unit testing coverage. We derived countermeasures that depend on
the different risks presented by the overlooked defects.
↑