| 講演抄録/キーワード |
| 講演名 |
2013-05-10 11:45
小規模プログラムにおけるコメント行数とフォールト潜在性の関係に関する調査 ○阿萬裕久(愛媛大) SS2013-12 |
| 抄録 |
(和) |
コメント文はプログラムの可読性を向上させる上で有用な要素であるが,分かりにくいコードとともに書
かれて可読性の相殺に使われてしまう場合もある.それゆえ,コメントが書かれている部分にフォールトが潜在して
いる可能性も指摘されている.本稿では,本来であれば多くのコメントを必要としないと考えられる小規模なプログ
ラムに着目し,そこでのコメント行数とフォールト潜在性との関係について20 個のオープンソースソフトウェアを
対象とした調査を行っている.その結果,メソッドの中にコメントが書かれているプログラムではそうでないものに
比べてフォールト潜在のリスクが約2 倍高いことが確認されている. |
| (英) |
While comments are useful in enhancing the program readability, some comments would be used for
covering up complicated code fragments. Thus, code fragments with comments would be suspected to have potential
faults. This paper focuses on small-sized programs, which do not need many comments because of their smallness,
and surveyed 20 major open source software to analyze the relationship between the lines of comments and the
fault-proneness. The survey results shows that small-sized programs, which have comments in their methods, tend
to have about two times higher risk of potential faults than non-commented ones. |
| キーワード |
(和) |
コメント文 / フォールト潜在性 / メトリクス / 小規模プログラム / / / / |
| (英) |
comments / fault-proneness / metrics / small-sized program / / / / |
| 文献情報 |
信学技報, vol. 113, no. 24, SS2013-12, pp. 67-72, 2013年5月. |
| 資料番号 |
SS2013-12 |
| 発行日 |
2013-05-02 (SS) |
| ISSN |
Print edition: ISSN 0913-5685 Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
| PDFダウンロード |
SS2013-12 |