WEKO3
アイテム
アクセス修飾子過剰性の変遷に着目したJavaプログラム部品の分析
https://ipsj.ixsq.nii.ac.jp/records/92404
https://ipsj.ixsq.nii.ac.jp/records/924043d48a7bc-c849-4e03-8942-66a026f1197a
名前 / ファイル | ライセンス | アクション |
---|---|---|
![]() |
Copyright (c) 2013 by the Information Processing Society of Japan
|
|
オープンアクセス |
Item type | SIG Technical Reports(1) | |||||||
---|---|---|---|---|---|---|---|---|
公開日 | 2013-05-20 | |||||||
タイトル | ||||||||
タイトル | アクセス修飾子過剰性の変遷に着目したJavaプログラム部品の分析 | |||||||
タイトル | ||||||||
言語 | en | |||||||
タイトル | An Analysis about Accessibility Excessiveness of Revision Histories in Java Programs | |||||||
言語 | ||||||||
言語 | jpn | |||||||
キーワード | ||||||||
主題Scheme | Other | |||||||
主題 | 分析・解析・検証 | |||||||
資源タイプ | ||||||||
資源タイプ識別子 | http://purl.org/coar/resource_type/c_18gh | |||||||
資源タイプ | technical report | |||||||
著者所属 | ||||||||
大阪大学大学院情報科学研究科 | ||||||||
著者所属 | ||||||||
大阪大学大学院情報科学研究科 | ||||||||
著者所属 | ||||||||
大阪大学大学院情報科学研究科 | ||||||||
著者所属 | ||||||||
大阪大学大学院情報科学研究科 | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Graduate School of Information Science and Technology, Osaka University | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Graduate School of Information Science and Technology, Osaka University | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Graduate School of Information Science and Technology, Osaka University | ||||||||
著者所属(英) | ||||||||
en | ||||||||
Graduate School of Information Science and Technology, Osaka University | ||||||||
著者名 |
石居達也
× 石居達也
|
|||||||
論文抄録 | ||||||||
内容記述タイプ | Other | |||||||
内容記述 | Java では,フィールドおよびメソッドに対してアクセス修飾子を宣言することで,外部からアクセス可能な範囲を制限することができる.しかし,既存ソフトウェアには実際の利用範囲に対して過剰に広く設定されているアクセス修飾子が多数存在することが知られている.一方で,それらのアクセス修飾子の修正状況については,過去に分析が行われていない.そこで本研究では,ソフトウェア開発の履歴を対象として,過剰なアクセス修飾子に対する修正作業の実行頻度について分析した.分析対象とするデータは,既存のアクセス修飾子過剰性検出ツールを拡張して既存の 7 つの Java プロジェクトから取得した.分析を行うに当たり,宣言されているアクセス修飾子と実際の利用範囲に基づき,フィールドおよびメソッドを 3 状態へ分類した.さらに,バージョン間における状態遷移を,性質ごとに 6 つのグループへと分類した.その結果,過剰なアクセス修飾子の大半は,修正されずそのまま放置されていることを確認した.一方,一部の種類の過剰なアクセス修飾子については,分析対象の全プロジェクトにおいて修正が行われていることを確認した. | |||||||
論文抄録(英) | ||||||||
内容記述タイプ | Other | |||||||
内容記述 | Developers can declare access modifiers for fields and methods in Java, and this lets them limit access scopes for fields and methods. However, existing software has a lot of fields and methods that have access modifiers whose access scopes are larger than actual ones. On the other hand, it is not clear how often these access modifiers are modified. In this study, we analyzes how often developers modify excessive access modifiers in software update. We get data of analysis subject from existing seven Java projects by using a existing tool that detects fields and methods with excessive access modifiers, by extension. Moreover, we labeled fields and methods as three states by the combination of declared and actual access scope. Then, we also labeled state transitions of fields and methods between old and new versions as six states by their behaviors. As a result, the tendency was confirmed that most of the excessive access modifiers were leaved and not touched. By contrast, some kind of excessive access modifier was confirmed that they were modified in all of intended Java projects. | |||||||
書誌レコードID | ||||||||
収録物識別子タイプ | NCID | |||||||
収録物識別子 | AN10112981 | |||||||
書誌情報 |
研究報告ソフトウェア工学(SE) 巻 2013-SE-180, 号 1, p. 1-8, 発行日 2013-05-20 |
|||||||
Notice | ||||||||
SIG Technical Reports are nonrefereed and hence may later appear in any journals, conferences, symposia, etc. | ||||||||
出版者 | ||||||||
言語 | ja | |||||||
出版者 | 情報処理学会 |