コンピュータ ソフトウェア
Print ISSN : 0289-6540
ModiChecker: Java プログラムのアクセス修飾子過剰性分析ツール
Dotri QUOC小堀 一雄吉田 則裕肥後 芳樹井上 克郎
著者情報
ジャーナル オープンアクセス

2012 年 29 巻 3 号 p. 3_212-3_218

詳細
抄録

In object-oriented programs, access modifiers are used to control the accessibility of fields and methods from other objects. Choosing appropriate access modifiers is one of the key factors for easily maintainable programming. In this paper, we propose a novel analysis method named Accessibility Excessiveness (AE) for each field and method in Java program, which is discrepancy between the access modifier declaration and its real usage. We have developed an AE analyzer - ModiChecker which analyzes each field or method of the input Java programs, and reports the excessiveness. We have applied ModiChecker to various Java programs, including several OSS, and have found that this tool is very useful to detect fields and methods with the excessive access modifiers.

著者関連情報
© 2012 日本ソフトウェア科学会
前の記事 次の記事
feedback
Top