WEKO3
アイテム
オープンソースソフトウェアにおけるコメント記述およびコメントアウトとフォールト潜在との関係に関する定量分析
https://ipsj.ixsq.nii.ac.jp/records/80672
https://ipsj.ixsq.nii.ac.jp/records/80672a6327b0d-2fcd-41a6-b4cb-350611024c9f
名前 / ファイル | ライセンス | アクション |
---|---|---|
![]() |
Copyright (c) 2012 by the Information Processing Society of Japan
|
|
オープンアクセス |
Item type | Journal(1) | |||||||
---|---|---|---|---|---|---|---|---|
公開日 | 2012-02-15 | |||||||
タイトル | ||||||||
タイトル | オープンソースソフトウェアにおけるコメント記述およびコメントアウトとフォールト潜在との関係に関する定量分析 | |||||||
タイトル | ||||||||
言語 | en | |||||||
タイトル | Quantitative Analysis of Relationships among Comment Description, Comment Out and Fault-proneness in Open Source Software | |||||||
言語 | ||||||||
言語 | jpn | |||||||
キーワード | ||||||||
主題Scheme | Other | |||||||
主題 | 特集:ソフトウェア工学 | |||||||
資源タイプ | ||||||||
資源タイプ識別子 | http://purl.org/coar/resource_type/c_6501 | |||||||
資源タイプ | journal article | |||||||
著者所属 | ||||||||
愛媛大学大学院理工学研究科 | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Graduate School of Science and Engineering, Ehime University | ||||||||
著者名 |
阿萬, 裕久
× 阿萬, 裕久
|
|||||||
著者名(英) |
Hirohisa, Aman
× Hirohisa, Aman
|
|||||||
論文抄録 | ||||||||
内容記述タイプ | Other | |||||||
内容記述 | 一般にコメント文はソースコードを理解するうえで有益な情報を提供する.しかしながら,理解性の低いコードや複雑なコードであってもコメント文の存在によってそれらの問題が目立たなくなる場合もある.リファクタリングの分野では,そういったコードの問題を“不吉な匂い”と呼んでおり,その場合にコメント文は“消臭剤”の役割を果たすともいわれている.そこで,実際の傾向について考察するため,本論文では7種類のオープンソースソフトウェアに対してデータ収集と定量分析を行っている.その結果として次の傾向が確認されている:(1)コメント記述の多いコードほどフォールトの潜在率も高い傾向にある;(2)LOCに対するコメント記述の割合が12.6%を超えるコードでのフォールト潜在率は,コメント記述のないコードの約2倍である;(3)コメントアウトもあわせて登場するコードではその可能性がさらに高い. | |||||||
論文抄録(英) | ||||||||
内容記述タイプ | Other | |||||||
内容記述 | Comment descriptions generally provide useful information for understanding the source code. However, some comments mask problematic code fragments which are complex and/or hard-to-understand. In the study of refactoring, such problematic code fragments are called “bad smell” and the associated comments serve as “air freshener.” To investigate such impact of comments, this paper collects a lot of source code from seven major open source software and conducts quantitative analysis on their source code. The results show the followings: (1) A code having more comments is more fault-prone; (2) A code, whose ratio of comments to LOC is grater than 12.6%, is about double fault-prone than a code which has no comments; (3) The assurance of the above trend is higher when the code has not only many comments but also a comment-out. | |||||||
書誌レコードID | ||||||||
収録物識別子タイプ | NCID | |||||||
収録物識別子 | AN00116647 | |||||||
書誌情報 |
情報処理学会論文誌 巻 53, 号 2, p. 612-621, 発行日 2012-02-15 |
|||||||
ISSN | ||||||||
収録物識別子タイプ | ISSN | |||||||
収録物識別子 | 1882-7764 |