Information and Media Technologies
Online ISSN : 1881-0896
ISSN-L : 1881-0896
Computing
ModiChecker: Accessibility Excessiveness Analysis Tool for Java Program
Dotri QuocKazuo KoboriNorihiro YoshidaYoshiki HigoKatsuro Inoue
著者情報
ジャーナル フリー

2012 年 7 巻 4 号 p. 1401-1407

詳細
抄録

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 Japan Society for Software Science and Technology
前の記事 次の記事
feedback
Top